f9d775098d3c708ab222f213a60690f6f1e2162c
[oweals/gnunet.git] / TODO
1 0.9.0pre1:
2 * FS: [CG]
3   - Migration test error scenarios:
4     * client fails to connect to FS service for download (requests never make it to FS)
5       FS was running initially, but is shut down around the time the source peer (!)
6       is supposed to die; the OTHER FS service (the one that was supposed to die) is still up!
7   - TTL/priority calculations
8   - hot-path routing, load considerations
9   - active reply route caching design & implementation of service; gap extension!
10 * TRANSPORT:
11   - HTTP backend [MW]
12 * DV: [Nate]
13   - write DV API (need to move declarations from dv_api.c to gnunet_dv_service.h!)
14   - implement DV service 
15   - implement DV library (looks done)
16   - implement DV transport plugin
17   - implement testcases 
18   - implement performance tests (needs tbench)
19 * TOPOLOGY:
20   - needs more testing (especially F2F topology) & transport blacklisting
21 * UTIL:
22   - only connect() sockets that are ready (select()) [Nils]
23     [On W32, we need to select after calling socket before doing connect etc.]
24   - add support for UNIX domain sockets [CG]
25 * GNUNET-GTK:
26   - add license to about dialog  
27   - add authors to about dialog
28   - add translators to about dialog 
29   - add documenters to about dialog
30   - add artists to about dialog
31   - test logo in about dialog
32   - implement search dialog opening and actual search
33   - NS list in search dialog should use colors to offset our own namespaces from the others
34   - double-clicking on NS list in search dialog should move 'root' to keyword line
35   - double-clicking on search result in master list should open save-as dialog for CHK/LOC URIs
36   - right-clicking on search result should open menu that allows:
37     + viewing full meta data 
38     + starting download
39     + starting recursive download 
40     + aborting active download
41   - right-clicking on NS list in search dialog should open menu that allows 
42     + viewing full meta data 
43     + deletion of namespace info
44   - master should add tab to main notebook with label with 'new' icon that allows starting of a search (same as via menu)
45   - tabs in notebook should contain:
46     + "X" to allow closing of tabs
47     + "play" to allow resuming of search OR "pause" to allow pausing of search
48   - implement open directory dialog
49   - implement new-pseudonym dialog
50   - implement publish dialog
51     + add (single file)
52     + edit (meta data add, meta data del, meta data type population, keyword add (button, activate entry line), 
53             keyword remove, anonymity level, priority, index/insert, normalize keywords, 
54             previews, preview widget for file chooser!?)
55     + mark 'insert file' button inconsistent for directories
56     + up
57     + down
58     + left
59     + right
60     + delete
61     + open (import directory structure)
62     + cancel
63     + execute (publish)
64   - pick appropriate sort-by columns for various tree view columns
65   - anonymity spin buttons should turn red on zero:
66     + search
67     + publish
68     + download
69
70 0.9.0pre2:
71 * CORE:
72   - transport-level disconnect (i.e. TCP) does not cause core-level
73     disconnect in a timely fashion (waits for connection timeout);
74     need to figure a way to make it near-instant in those cases 
75     (i.e. rapid reduction in timeout on transport-level disconnect)
76   - encrypted P2P transmission (loopback) tops at 2 MB/s on my quad-core;
77     why is it so slow? Fix! (see core_api_reliability test)
78 * TBENCH: [MW]
79   - good to have for transport/DV evaluation! 
80 * DHT: [Nate]
81   - implement DHT service 
82   - implement testcases
83   - implement performance tests
84 * ARM: [Safey]
85   - better crash management (attach debugging support, capture and analyze
86     debug output, detect random vs. deterministic crashes)
87   - discover dependencies between services
88     => need UNIX domain sockets first!
89   - handle gnunet-arm -k in combination with auto-start magic (what is the right thing here?)
90 * FS: [CG]
91   - datastore reservation (publishing)
92   - location URIs (publish, search, download)
93   - unindex on index failure
94   - utilize in-line files in meta data always (including in search results or
95     when download is triggered manually and for probes); currently the data is
96     only used when users do a general 'recursive' download
97   - non-anonymous FS service (needs DHT)
98     + DHT integration for search
99     + CS-DHT-functions (DHT-put of LOC)
100     + P2P-functions (DHT-get)
101   - collection API & tests
102     + gnunet-pseudonym (collection support)
103   - implement FS performance tests
104     + insert
105     + download
106     + search
107     + unindex
108 * GNUNET-GTK:
109   - implement API to get notifications about bandwidth assignments to individual peers
110   - implement API to get notifications about updates to liveness of individual peers (before disconnect)
111   - extend peer dialog with green-yellow-red connectivity status lights
112   - implement statistics tabs
113   - do meaningful update to status line (starting up, peer running, #connections, shutdown, ...)
114   - implement unindex operation (use dialog with all indexed files for selection)
115   - implement download by URI dialog; figure out where to display those downloads!
116   - figure out where in the GUI we should show active uploads/unindex operations and allow aborts
117 * SETUP:
118   - design & implement new setup tool
119
120 0.9.0pre3:
121 * TRACEKIT: [MW]
122   - good to have for DV/DHT evaluation!
123 * Determine RC bugs and fix those!
124 * DATASTORE:
125   - GNUNET_DATASTORE_cancel method not tested
126 * TESTING: [Nate]
127   - modify configuration to allow controlling connections for non-local starts
128   - testbed creation with topology (needs working F2F topology) 
129   - testbed with churn 
130   - implement testcases for distributed testing
131   - test basic peer re-configure 
132   - test topology creation 
133   - test churn generation 
134   - consider changing API for peer-group termination to 
135     call continuation when done
136 * NAT/UPNP: [MW]
137   - finalize API design
138   - code clean up
139   - testing
140   - integration with transport service
141 * MYSQL database backends: [CG]
142   - datacache
143   - datastore
144 * FS:
145   - reconstruct IBLOCKS from DBLOCKS if possible (during download; see FIXME in fs_download)
146   - add support for pushing "already seen" search results to FS service for bloomfilter (can wait)
147   - use different 'priority' for probe downloads vs. normal downloads
148 * ARM:
149   - better tracking of which config changes actually need to cause process restarts by ARM.
150
151 0.9.0:
152 * new webpage:
153   - expand bibliography
154   - convert documentation pages to books
155   - update books (especially for developers)
156   - create good Drupal theme for GNUnet
157   - make a NICE download page and figure out how to enable developers to publish TGZs nicely
158   - port "contact" page
159   - add content type for "todo" items?
160 * POSTGRES database backends: [CG]
161   - datacache
162   - datastore
163 * Determine RC bugs and fix those!
164
165 0.9.x:
166 * TRANSPORT: [MW]
167   - SMTP transport backend
168   - HTTPS transport backend
169     + improved HTTPS support in MHD
170     + actual plugin
171   - Implement method of learning our external addresses from
172     other peers; need some kind of threshold-based
173     scheme, limiting both the total number of addresses that we accept 
174     this way as well as requiring multiple confirmations; also, we
175     should possibly try to confirm that the given address works for
176     us ourselves (loopback-style) before adding it to the list
177     + we may be able to simplify WELCOME messages (no need to add 
178       addresses there anymore, but may help to learn them there anyway...).
179     + we probably want some kind of voting/counting for learning IP addresses
180       (maybe including IP addresses in ads proportional to how often others
181        report them? we at least need some protection against >64k HELLOs!),
182     + provide a way to give the user a list of "learned" IP addresses and
183       a way to easily "veto" addresses off the list!
184       => If MiM attacker uses vetoed address, blacklist the specific IP for
185          the presumed neighbour!
186   - implement gnunet-transport (transport configurator / tester)
187   - UPnP-based IP detection
188     (Note: build library always, build service when libxml2/etc. are available)
189 * FS: [CG]
190   - Remove KBlocks in gnunet-unindex (see discussion with Kenneth Almquist on gnunet-devs in 9/2009)
191 * PEERINFO: [CG]
192   - expire 'ancient' HELLOs (those without valid addresses AND that 
193     we have not 'used' (for their public keys) in a while; need a way
194     to track actual 'use')
195   - make sue we also trigger notifications whenever HELLOs expire
196 * VPN
197
198
199
200 Optimizations:
201 * TCP:
202   - should use hash map to look up sessions
203 * STATISTICS:
204   - should use BIO instead of mmap
205 * TRANSPORT:
206   - need to periodically probe latency/transport cost changes & possibly switch transport
207   - should use hash map to look up Neighbours (service AND plugins!)
208 * DATASTORE (?):
209   - check for duplicates on insertion (currently, same content is frequently
210     stored again [seen with KBLOCKS and SBLOCKS]!)
211 * PEERINFO:
212   - merge multiple HELLOs of the same peer in the transmission queue
213     (theoretically reduces overhead; bounds message queue size)
214   - merge multiple iteration requests over "all" peers in the queue
215     (theoretically reduces overhead; bounds messgae queue size)
216 * FS:
217   - use different queue prioritization for probe-downloads vs. normal downloads (!?)
218
219 Minor features:
220 * TCP:
221   - repeatedly resolve hostname and look up interfaces to determine our own IP
222   - [./transport/plugin_transport_tcp.c:391]: (style) struct or union member 'Plugin::address_update_task' is never used (related to issue above)
223 * TRANSPORT:
224   - [./transport/gnunet-service-transport.c:173]: (style) struct or union member 'TransportPlugin::rebuild' is never used (related to TCP not refreshing external addresses?)
225 * BLOCKS:
226   - testcase would be nice...