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