routing table changes, not stable
[oweals/gnunet.git] / TODO
diff --git a/TODO b/TODO
index 14f1d5ce61c710e572a532640c8f1e4be5617a2d..b3a85bf4fe1d085c4df6868b0a4f0559aab7200c 100644 (file)
--- a/TODO
+++ b/TODO
-0.9.0pre1:
-* FS: [CG]
-  - actually call 'sync' functions (publish, unindex, search, download)
-  - code review:
-    => refactor fs.c to join common code segments!
-    => document directory structure (and use #define's for the directory names!)
-    => ensure all files & dirs are cleaned up! (at least during 'clean' runs)
-  - persistence testing (publish, unindex, search, download):
-    => need driver!
-    => schedule suspending tasks DURING event handler => good coverage!
-    => test SUSPEND events
-  - gnunet-service-fs (hot-path routing, load-based routing, nitpicks)  
-  - [gnunet-service-fs.c:208]: member 'LocalGetContext::results_bf_size' is never used
-  - [gnunet-service-fs.c:501]: member 'PendingRequest::used_pids_size' is never used
-  - [gnunet-service-fs.c:654]: member 'ConnectedPeer::last_client_replies' is never used
-  - [gnunet-service-fs.c:669]: member 'ConnectedPeer::avg_delay' is never used
-  - [gnunet-service-fs.c:675]: member 'ConnectedPeer::avg_priority' is never used
-  - [gnunet-service-fs.c:688]: member 'ConnectedPeer::pending_requests' is never used
-  - [gnunet-service-fs.c:694]: member 'ConnectedPeer::last_p2p_replies_woff' is never used
-  - [gnunet-service-fs.c:700]: member 'ConnectedPeer::last_client_replies_woff' is never used
-  - GAP improvements:
-    + active reply route caching design & implementation of service; gap extension!
-* MIGRATION [CG]
-  - on-demand encoding => move logic to block-library!?
-  - peer selection => how to consider latency/bw/etc?
-  - content transmission => how often the same block?
-  - how to select delay before next migration? 
-  - migration to us
-  - testing
-  - integrate with FS or not? (peer list, index/on-demand encoding, block code,
-    inbound priority assignment; all would be easier with tight integration!)
-* TBENCH: [MW]
-  - good to have for transport/DV evaluation! 
-* DV: [Nate]
-  - write DV API (need to move declarations from dv_api.c to gnunet_dv_service.h!)
-  - implement DV service 
-  - implement DV library (looks done)
-  - implement DV transport plugin
-  - implement testcases 
-  - implement performance tests (needs tbench)
-* TOPOLOGY:
-  - needs more testing (especially F2F topology) & transport blacklisting
+0.9.0pre2:
 * UTIL:
   - only connect() sockets that are ready (select()) [Nils]
     [On W32, we need to select after calling socket before doing connect etc.]
-* GNUNET-GTK:
-  - use g_main_context_set_poll_func to integrate GTK with GNUnet Scheduler!? (YUCK!)
-  - OR: add scheduler API to enable integration with GTK main loop instead of doing our own select
-  - use g_main_context_pending, g_main_context_query / g_main_context_check / g_main_context_dispatch
-    and NEVER g_main_loop_run (can this be done? might be the clean way to do this! But how
-    to integrate this with "gtk_main"?  Docu says:
-    "It's OK to use the GLib main loop directly instead of gtk_main(), though it involves 
-     slightly more typing. See GMainLoop in the GLib documentation."
-    => so maybe it "just works"?
-* SETUP:
-  - design & implement new setup tool
-
-0.9.0pre2:
-* TRACEKIT: [MW]
-  - good to have for DV/DHT evaluation!
-* DHT: [Nate]
-  - implement DHT service 
-  - implement testcases
-  - implement performance tests
-* TRANSPORT:
-  - HTTP backend [MW]
-* ARM: [Safey]
-  - need to get rid of synchronous API for service starts (cause all kinds of problems)
-    [=> eliminate for need to tell ARM about service starts most of the time!] [Safey]
-  - better tracking of which config changes actually need to cause process restarts by ARM.
-  - listen for requests to discover dependencies between services (and avoid
-    having to explicitly program start requests)
-  - better crash management (attach debugging support, capture and analyze
-    debug output, detect random vs. deterministic crashes)
-  - shutdown sequence?
+* CORE:
+  - Jun 27 11:51:54 core-7670 ERROR Assertion failed at gnunet-service-core.c:3616.
+    (transport notified us that we connected to ourselves!!!)
+  - transport-level disconnect (i.e. TCP) does not cause core-level
+    disconnect in a timely fashion (waits for connection timeout);
+    need to figure a way to make it near-instant in those cases 
+    (i.e. rapid reduction in timeout on transport-level disconnect) [CG]
+    => may have been fixed with instant-notification of disconnect
+       to core on session-oriented connection hick-up; not perfect but
+       likely good enough until we get ATS going; still should be tested...
+    => "peers connected (transport)" now instantly goes to ZERO (core statistic),
+       but "established sessions" stays up...
+  - derived key generation [Nils]
+* PWNAT: [Nate/MW/Nils]
+  - W32 port
 * FS: [CG]
-  - datastore reservation (publishing)
-  - location URIs (publish, search, download)
-  - utilize in-line files in meta data always (including in search results or
-    when download is triggered manually and for probes); currently the data is
-    only used when users do a general 'recursive' download
-  - non-anonymous FS service (needs DHT)
-    + DHT integration for search
-    + CS-DHT-functions (DHT-put of LOC)
-    + P2P-functions (DHT-get)
-  - collection API & tests
-    + gnunet-pseudonym (collection support)
-  - implement FS performance tests
-    + insert
-    + download
-    + search
-    + unindex
-* MIGRATION:
-  - improved content selection (not just 'get_random')
+  - implement 'GNUNET_FS_namespace_list_updateable', reconsider API!
+* GNUNET-GTK: [CG]
+  - namespaces:
+    + namespace publishing
+      / fill tree store with full implementation of 'list_updateable'
+    + namespace search
+      / fill namespace list in dialog, use if selected
+      / NS list in search dialog should use colors to offset our own namespaces from the others
+      / double-clicking on NS list in search dialog should move 'root' to keyword line
+      / right-clicking on NS list in search dialog should open menu that allows 
+        \ viewing full meta data 
+        \ deletion of namespace info
+  - bugs:
+    + handle 'lost parent' case for recursive downloads (need to move children!)
+    + clean up TreeStores in main_window_file_publish on dialog close
+    + clean up ListStores in main_window_adv_pseudonym 
 
 0.9.0pre3:
 * Determine RC bugs and fix those!
+* DATASTORE: [NN]
+  - GNUNET_DATASTORE_cancel method not tested [LT]
 * TESTING: [Nate]
-  - modify configuration to allow controlling connections for non-local starts
-  - testbed creation with topology (needs working F2F topology) 
-  - testbed with churn 
-  - implement testcases for distributed testing
   - test basic peer re-configure 
-  - test topology creation 
-  - test churn generation 
   - consider changing API for peer-group termination to 
     call continuation when done
+* TOPOLOGY:
+  - needs more testing (especially F2F topology) & transport blacklisting
 * NAT/UPNP: [MW]
   - finalize API design
   - code clean up
 * MYSQL database backends: [CG]
   - datacache
   - datastore
-* FS:
-  - reconstruct IBLOCKS from DBLOCKS if possible (during download; see FIXME in fs_download)
-
+* FS: [CG]
+  - library:
+    + reconstruct IBLOCKS from DBLOCKS if possible (during download; see FIXME in fs_download)
+    + add support for pushing "already seen" search results to FS service for bloomfilter (can wait)
+    + use different 'priority' for probe downloads vs. normal downloads
+  - service:
+    + trust: do not charge when "idle" / load considerations (migration, routing)
+    + artificial delays
+    + active reply route caching design & implementation; gap extension!
+  - non-anonymous FS service (needs DHT)
+    + DHT integration for search
+    + CS-DHT-functions (DHT-put of LOC)
+    + P2P-functions (DHT-get)
+  - implement FS performance tests
+    + insert
+    + download
+    + search
+    + unindex
+* ARM: [CG/Safey]
+  - better tracking of which config changes actually need to cause process restarts by ARM.
+  - handle gnunet-arm -k in combination with auto-start magic (what is the right thing here?)
+  - discover dependencies between services
+* GNUNET-GTK:
+  - optimize meta-data for directories in 'add_dir_at_iter'
+  - add progress dialog for 'add_dir_at_iter' scan (can take a while...)
+  - finish publish dialog details:
+    + normalize keywords (edit subdialog)
+    + set/view previews (edit subdialog)
+  - add tool bar
+  - implement download by URI dialog; figure out where to display those downloads!
+  - figure out where in the GUI we should show active uploads/unindex operations and allow aborts
+  - implement unindex operation (use dialog with all indexed files for selection)
+  - do meaningful update to status line (starting up, peer running, #connections, shutdown, ...)
+  - events:
+    + search error
+    + publish error
+    + unindex error
+* MONKEY: [Safey]
+  - better crash management (attach debugging support, capture and analyze
+    debug output, detect random vs. deterministic crashes)
+  - '-m EMAIL' option for alternative e-mail TO
+  - '-f FILENAME' option to write  report to file instead of e-mail (for testing!)
 
 0.9.0:
 * new webpage:
-  - expand bibliography
   - convert documentation pages to books
   - update books (especially for developers)
-  - create good Drupal theme for GNUnet
   - make a NICE download page and figure out how to enable developers to publish TGZs nicely
   - port "contact" page
   - add content type for "todo" items?
   - datacache
   - datastore
 * Determine RC bugs and fix those!
+* SETUP:
+  - design & implement new setup tool
+* TBENCH: [MW]
+  - good to have for transport/DV evaluation! 
+* TRACEKIT: [MW]
+  - good to have for DV/DHT evaluation!
+* DV:
+  - performance tests
+* DHT: [Nate]
+  - performance tests
+* STATISTICS:
+  - test notification-based statistics API [LT]
+  - implement statistics GUI
+* PEERINFO: [NN]
+  - move peerinfo to new GUI?
+  - extend peer dialog with green-yellow-red connectivity status lights
+  - extend peer dialog with country flags and names
 
 0.9.x:
 * TRANSPORT: [MW]
+  - WiFi transport backend [DB]
   - SMTP transport backend
-  - HTTPS transport backend
-    + improved HTTPS support in MHD
-    + actual plugin
   - Implement method of learning our external addresses from
     other peers; need some kind of threshold-based
     scheme, limiting both the total number of addresses that we accept 
   - implement gnunet-transport (transport configurator / tester)
   - UPnP-based IP detection
     (Note: build library always, build service when libxml2/etc. are available)
+* DV:
+  - proper bandwidth allocation
 * FS: [CG]
   - Remove KBlocks in gnunet-unindex (see discussion with Kenneth Almquist on gnunet-devs in 9/2009)
-* PEERINFO: [CG]
+* PEERINFO: [NN]
   - expire 'ancient' HELLOs (those without valid addresses AND that 
     we have not 'used' (for their public keys) in a while; need a way
     to track actual 'use')
   - make sue we also trigger notifications whenever HELLOs expire
-* VPN
+* VPN [PT]
+* UTIL: [CG]
+  - allow limiting UNIX socket access by UID/GID
 
 
 
@@ -174,9 +170,6 @@ Optimizations:
 * TRANSPORT:
   - need to periodically probe latency/transport cost changes & possibly switch transport
   - should use hash map to look up Neighbours (service AND plugins!)
-* DATASTORE (?):
-  - check for duplicates on insertion (currently, same content is frequently
-    stored again [seen with KBLOCKS and SBLOCKS]!)
 * PEERINFO:
   - merge multiple HELLOs of the same peer in the transmission queue
     (theoretically reduces overhead; bounds message queue size)