fix
[oweals/gnunet.git] / TODO
1 0.9.0pre1:
2 * FS: [CG]
3   - bound parallelism (# fs downloads)
4   - distinguish in performance tracking and event signalling between
5     downloads that are actually running and those that are merely in the queue
6   - persistence support (publish, unindex, search, download)
7   - active migration support (in fs or in datastore or new daemon?)
8   - support for in-line files in directories (FIXME in fs_download)
9   - gnunet-service-fs (hot-path routing, load-based routing, nitpicks)  
10   - [gnunet-service-fs.c:208]: member 'LocalGetContext::results_bf_size' is never used
11   - [gnunet-service-fs.c:501]: member 'PendingRequest::used_pids_size' is never used
12   - [gnunet-service-fs.c:654]: member 'ConnectedPeer::last_client_replies' is never used
13   - [gnunet-service-fs.c:669]: member 'ConnectedPeer::avg_delay' is never used
14   - [gnunet-service-fs.c:675]: member 'ConnectedPeer::avg_priority' is never used
15   - [gnunet-service-fs.c:688]: member 'ConnectedPeer::pending_requests' is never used
16   - [gnunet-service-fs.c:694]: member 'ConnectedPeer::last_p2p_replies_woff' is never used
17   - [gnunet-service-fs.c:700]: member 'ConnectedPeer::last_client_replies_woff' is never used
18   - GAP improvements:
19     + active reply route caching design & implementation of service; gap extension!
20 * TBENCH: [MW]
21   - good to have for transport/DV evaluation! 
22 * DV: [Nate]
23   - write DV API (need to move declarations from dv_api.c to gnunet_dv_service.h!)
24   - implement DV service 
25   - implement DV library (looks done)
26   - implement DV transport plugin
27   - implement testcases 
28   - implement performance tests (needs tbench)
29 * TOPOLOGY:
30   - needs more testing (especially F2F topology) & transport blacklisting
31 * UTIL:
32   - only connect() sockets that are ready (select()) [Nils]
33     [On W32, we need to select after calling socket before doing connect etc.]
34 * GNUNET-GTK:
35   - use g_main_context_set_poll_func to integrate GTK with GNUnet Scheduler!? (YUCK!)
36   - OR: add scheduler API to enable integration with GTK main loop instead of doing our own select
37   - use g_main_context_pending, g_main_context_query / g_main_context_check / g_main_context_dispatch
38     and NEVER g_main_loop_run (can this be done? might be the clean way to do this! But how
39     to integrate this with "gtk_main"?  Docu says:
40     "It's OK to use the GLib main loop directly instead of gtk_main(), though it involves 
41      slightly more typing. See GMainLoop in the GLib documentation."
42     => so maybe it "just works"?
43 * SETUP:
44   - design & implement new setup tool
45
46 0.9.0pre2:
47 * TRACEKIT: [MW]
48   - good to have for DV/DHT evaluation!
49 * DHT: [Nate]
50   - implement DHT service 
51   - implement testcases
52   - implement performance tests
53 * TRANSPORT:
54   - HTTP backend [MW]
55 * ARM: [Safey]
56   - need to get rid of synchronous API for service starts (cause all kinds of problems)
57     [=> eliminate for need to tell ARM about service starts most of the time!] [Safey]
58   - better tracking of which config changes actually need to cause process restarts by ARM.
59   - listen for requests to discover dependencies between services (and avoid
60     having to explicitly program start requests)
61   - better crash management (attach debugging support, capture and analyze
62     debug output, detect random vs. deterministic crashes)
63   - shutdown sequence?
64 * FS: [CG]
65   - datastore reservation (publishing)
66   - search: availability probes
67   - location URIs (publish, search, download)
68   - non-anonymous FS service (needs DHT)
69     + DHT integration for search
70     + CS-DHT-functions (DHT-put of LOC)
71     + P2P-functions (DHT-get)
72   - collection API & tests
73     + gnunet-pseudonym (collection support)
74   - implement FS performance tests
75     + insert
76     + download
77     + search
78     + unindex
79
80 0.9.0pre3:
81 * Determine RC bugs and fix those!
82 * TESTING: [Nate]
83   - modify configuration to allow controlling connections for non-local starts
84   - testbed creation with topology (needs working F2F topology) 
85   - testbed with churn 
86   - implement testcases for distributed testing
87   - test basic peer re-configure 
88   - test topology creation 
89   - test churn generation 
90   - consider changing API for peer-group termination to 
91     call continuation when done
92 * NAT/UPNP: [MW]
93   - finalize API design
94   - code clean up
95   - testing
96   - integration with transport service
97 * MYSQL database backends: [CG]
98   - datacache
99   - datastore
100 * FS:
101   - reconstruct IBLOCKS from DBLOCKS if possible (during download; see FIXME in fs_download)
102
103
104 0.9.0:
105 * new webpage:
106   - expand bibliography
107   - convert documentation pages to books
108   - update books (especially for developers)
109   - create good Drupal theme for GNUnet
110   - make a NICE download page and figure out how to 
111     enable developers to publish TGZs nicely
112   - port "contact" page
113   - add content type for "todo" items?
114 * POSTGRES database backends: [CG]
115   - datacache
116   - datastore
117 * Determine RC bugs and fix those!
118
119 0.9.x:
120 * TRANSPORT: [MW]
121   - SMTP transport backend
122   - HTTPS transport backend
123     + improved HTTPS support in MHD
124     + actual plugin
125   - Implement method of learning our external addresses from
126     other peers; need some kind of threshold-based
127     scheme, limiting both the total number of addresses that we accept 
128     this way as well as requiring multiple confirmations; also, we
129     should possibly try to confirm that the given address works for
130     us ourselves (loopback-style) before adding it to the list
131     + we may be able to simplify WELCOME messages (no need to add 
132       addresses there anymore, but may help to learn them there anyway...).
133     + we probably want some kind of voting/counting for learning IP addresses
134       (maybe including IP addresses in ads proportional to how often others
135        report them? we at least need some protection against >64k HELLOs!),
136     + provide a way to give the user a list of "learned" IP addresses and
137       a way to easily "veto" addresses off the list!
138       => If MiM attacker uses vetoed address, blacklist the specific IP for
139          the presumed neighbour!
140   - implement gnunet-transport (transport configurator / tester)
141   - UPnP-based IP detection
142     (Note: build library always, build service when libxml2/etc. are available)
143 * FS: [CG]
144   - Remove KBlocks in gnunet-unindex (see discussion with Kenneth Almquist on gnunet-devs in 9/2009)
145   - Allow checking of presence of search results and/or content via command-line tools
146     (add options to gnunet-search / gnunet-download to limit search to local peer)
147 * PEERINFO: [CG]
148   - expire 'ancient' HELLOs (those without valid addresses AND that 
149     we have not 'used' (for their public keys) in a while; need a way
150     to track actual 'use')
151   - make sue we also trigger notifications whenever HELLOs expire
152 * VPN
153
154
155
156 Optimizations:
157 * TCP:
158   - should use hash map to look up sessions
159 * STATISTICS:
160   - should use BIO instead of mmap
161 * TRANSPORT:
162   - need to periodically probe latency/transport cost changes & possibly switch transport
163   - should use hash map to look up Neighbours (service AND plugins!)
164 * HOSTLIST:
165   - 'server' uses 'GNUNET_PEERINFO_iterate', should probably switch to notification API
166     (for more instant / up-to-date hostlists at lower cost)
167 * DATASTORE (?):
168   - check for duplicates on insertion (currently, same content is frequently
169     stored again [seen with KBLOCKS and SBLOCKS]!)
170 * PEERINFO:
171   - merge multiple HELLOs of the same peer in the transmission queue
172     (theoretically reduces overhead; bounds message queue size)
173   - merge multiple iteration requests over "all" peers in the queue
174     (theoretically reduces overhead; bounds messgae queue size)
175
176 Minor features:
177 * TCP:
178   - repeatedly resolve hostname and look up interfaces to determine our own IP
179   - [./transport/plugin_transport_tcp.c:391]: (style) struct or union member 'Plugin::address_update_task' is never used (related to issue above)
180 * TRANSPORT:
181   - [./transport/gnunet-service-transport.c:173]: (style) struct or union member 'TransportPlugin::rebuild' is never used (related to TCP not refreshing external addresses?)
182 * DATACACHE:
183   - add stats (# bytes available, # bytes used, # PUTs, # GETs, # GETs satisfied)
184 * FS:
185   - support inline data in directories for recursive file downloads (fs_download)
186