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