3f016c50fa8bb6ba805c9fcde6b5b241ee745b3e
[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   - implement publish dialog
26     + edit (meta data add, meta data del, meta data type population, keyword add (button, activate entry line), 
27             keyword remove, anonymity level, priority, index/insert, normalize keywords, 
28             previews, preview widget for file chooser!?)
29     + mark 'insert file' button inconsistent for directories
30     + up
31     + down
32     + left
33     + right
34     + delete
35     + open (import directory structure)
36     + cancel
37     + execute (publish)
38   - right-clicking on search result should open menu that allows:
39     + starting recursive download 
40     + aborting active download 
41     + copy URI to clipboard 
42     + save-as gnunet-directory
43   - directory support:
44     + download start: recursive/directory (!) & from-URI only
45     + download lost-parent (move to 'from-URI only' tab
46     + display content of directory
47     + open directory
48   - events:
49     + search resume
50     + search error
51     + download error
52     + download resume
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   - extend peer dialog with country flags and names
106   - implement statistics tabs
107   - do meaningful update to status line (starting up, peer running, #connections, shutdown, ...)
108   - implement unindex operation (use dialog with all indexed files for selection)
109   - implement download by URI dialog; figure out where to display those downloads!
110   - figure out where in the GUI we should show active uploads/unindex operations and allow aborts
111 * SETUP:
112   - design & implement new setup tool
113
114 0.9.0pre3:
115 * TRACEKIT: [MW]
116   - good to have for DV/DHT evaluation!
117 * Determine RC bugs and fix those!
118 * DATASTORE:
119   - GNUNET_DATASTORE_cancel method not tested
120 * TESTING: [Nate]
121   - modify configuration to allow controlling connections for non-local starts
122   - testbed creation with topology (needs working F2F topology) 
123   - testbed with churn 
124   - implement testcases for distributed testing
125   - test basic peer re-configure 
126   - test topology creation 
127   - test churn generation 
128   - consider changing API for peer-group termination to 
129     call continuation when done
130 * NAT/UPNP: [MW]
131   - finalize API design
132   - code clean up
133   - testing
134   - integration with transport service
135 * MYSQL database backends: [CG]
136   - datacache
137   - datastore
138 * FS:
139   - reconstruct IBLOCKS from DBLOCKS if possible (during download; see FIXME in fs_download)
140   - add support for pushing "already seen" search results to FS service for bloomfilter (can wait)
141   - use different 'priority' for probe downloads vs. normal downloads
142 * ARM:
143   - better tracking of which config changes actually need to cause process restarts by ARM.
144
145 0.9.0:
146 * new webpage:
147   - expand bibliography
148   - convert documentation pages to books
149   - update books (especially for developers)
150   - create good Drupal theme for GNUnet
151   - make a NICE download page and figure out how to enable developers to publish TGZs nicely
152   - port "contact" page
153   - add content type for "todo" items?
154 * POSTGRES database backends: [CG]
155   - datacache
156   - datastore
157 * Determine RC bugs and fix those!
158
159 0.9.x:
160 * TRANSPORT: [MW]
161   - SMTP transport backend
162   - HTTPS transport backend
163     + improved HTTPS support in MHD
164     + actual plugin
165   - Implement method of learning our external addresses from
166     other peers; need some kind of threshold-based
167     scheme, limiting both the total number of addresses that we accept 
168     this way as well as requiring multiple confirmations; also, we
169     should possibly try to confirm that the given address works for
170     us ourselves (loopback-style) before adding it to the list
171     + we may be able to simplify WELCOME messages (no need to add 
172       addresses there anymore, but may help to learn them there anyway...).
173     + we probably want some kind of voting/counting for learning IP addresses
174       (maybe including IP addresses in ads proportional to how often others
175        report them? we at least need some protection against >64k HELLOs!),
176     + provide a way to give the user a list of "learned" IP addresses and
177       a way to easily "veto" addresses off the list!
178       => If MiM attacker uses vetoed address, blacklist the specific IP for
179          the presumed neighbour!
180   - implement gnunet-transport (transport configurator / tester)
181   - UPnP-based IP detection
182     (Note: build library always, build service when libxml2/etc. are available)
183 * FS: [CG]
184   - Remove KBlocks in gnunet-unindex (see discussion with Kenneth Almquist on gnunet-devs in 9/2009)
185 * PEERINFO: [CG]
186   - expire 'ancient' HELLOs (those without valid addresses AND that 
187     we have not 'used' (for their public keys) in a while; need a way
188     to track actual 'use')
189   - make sue we also trigger notifications whenever HELLOs expire
190 * VPN
191
192
193
194 Optimizations:
195 * TCP:
196   - should use hash map to look up sessions
197 * STATISTICS:
198   - should use BIO instead of mmap
199 * TRANSPORT:
200   - need to periodically probe latency/transport cost changes & possibly switch transport
201   - should use hash map to look up Neighbours (service AND plugins!)
202 * DATASTORE (?):
203   - check for duplicates on insertion (currently, same content is frequently
204     stored again [seen with KBLOCKS and SBLOCKS]!)
205 * PEERINFO:
206   - merge multiple HELLOs of the same peer in the transmission queue
207     (theoretically reduces overhead; bounds message queue size)
208   - merge multiple iteration requests over "all" peers in the queue
209     (theoretically reduces overhead; bounds messgae queue size)
210 * FS:
211   - use different queue prioritization for probe-downloads vs. normal downloads (!?)
212
213 Minor features:
214 * TCP:
215   - repeatedly resolve hostname and look up interfaces to determine our own IP
216   - [./transport/plugin_transport_tcp.c:391]: (style) struct or union member 'Plugin::address_update_task' is never used (related to issue above)
217 * TRANSPORT:
218   - [./transport/gnunet-service-transport.c:173]: (style) struct or union member 'TransportPlugin::rebuild' is never used (related to TCP not refreshing external addresses?)
219 * BLOCKS:
220   - testcase would be nice...