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