c4d784befecd5b9aa9f7ff55d9a6160be40aecf2
[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 * UTIL:
139   - remove dependency on GNU LE from util (linker-wise) so that
140     not all binaries are linked against LE! (header is OK!)
141     (seems that only GNUNET_CONTAINER_meta_data_extract_from_file
142     needs to be moved to another location, i.e. FS/file-info for this!)
143
144 0.9.0pre3:
145 * TRACEKIT: [MW]
146   - good to have for DV/DHT evaluation!
147 * Determine RC bugs and fix those!
148 * DATASTORE:
149   - GNUNET_DATASTORE_cancel method not tested
150 * TESTING: [Nate]
151   - modify configuration to allow controlling connections for non-local starts
152   - testbed creation with topology (needs working F2F topology) 
153   - testbed with churn 
154   - implement testcases for distributed testing
155   - test basic peer re-configure 
156   - test topology creation 
157   - test churn generation 
158   - consider changing API for peer-group termination to 
159     call continuation when done
160 * NAT/UPNP: [MW]
161   - finalize API design
162   - code clean up
163   - testing
164   - integration with transport service
165 * MYSQL database backends: [CG]
166   - datacache
167   - datastore
168 * FS:
169   - reconstruct IBLOCKS from DBLOCKS if possible (during download; see FIXME in fs_download)
170   - add support for pushing "already seen" search results to FS service for bloomfilter (can wait)
171   - use different 'priority' for probe downloads vs. normal downloads
172 * ARM:
173   - better tracking of which config changes actually need to cause process restarts by ARM.
174
175 0.9.0:
176 * new webpage:
177   - expand bibliography
178   - convert documentation pages to books
179   - update books (especially for developers)
180   - create good Drupal theme for GNUnet
181   - make a NICE download page and figure out how to enable developers to publish TGZs nicely
182   - port "contact" page
183   - add content type for "todo" items?
184 * POSTGRES database backends: [CG]
185   - datacache
186   - datastore
187 * Determine RC bugs and fix those!
188
189 0.9.x:
190 * TRANSPORT: [MW]
191   - SMTP transport backend
192   - HTTPS transport backend
193     + improved HTTPS support in MHD
194     + actual plugin
195   - Implement method of learning our external addresses from
196     other peers; need some kind of threshold-based
197     scheme, limiting both the total number of addresses that we accept 
198     this way as well as requiring multiple confirmations; also, we
199     should possibly try to confirm that the given address works for
200     us ourselves (loopback-style) before adding it to the list
201     + we may be able to simplify WELCOME messages (no need to add 
202       addresses there anymore, but may help to learn them there anyway...).
203     + we probably want some kind of voting/counting for learning IP addresses
204       (maybe including IP addresses in ads proportional to how often others
205        report them? we at least need some protection against >64k HELLOs!),
206     + provide a way to give the user a list of "learned" IP addresses and
207       a way to easily "veto" addresses off the list!
208       => If MiM attacker uses vetoed address, blacklist the specific IP for
209          the presumed neighbour!
210   - implement gnunet-transport (transport configurator / tester)
211   - UPnP-based IP detection
212     (Note: build library always, build service when libxml2/etc. are available)
213 * FS: [CG]
214   - Remove KBlocks in gnunet-unindex (see discussion with Kenneth Almquist on gnunet-devs in 9/2009)
215 * PEERINFO: [CG]
216   - expire 'ancient' HELLOs (those without valid addresses AND that 
217     we have not 'used' (for their public keys) in a while; need a way
218     to track actual 'use')
219   - make sue we also trigger notifications whenever HELLOs expire
220 * VPN
221
222
223
224 Optimizations:
225 * TCP:
226   - should use hash map to look up sessions
227 * STATISTICS:
228   - should use BIO instead of mmap
229 * TRANSPORT:
230   - need to periodically probe latency/transport cost changes & possibly switch transport
231   - should use hash map to look up Neighbours (service AND plugins!)
232 * DATASTORE (?):
233   - check for duplicates on insertion (currently, same content is frequently
234     stored again [seen with KBLOCKS and SBLOCKS]!)
235 * PEERINFO:
236   - merge multiple HELLOs of the same peer in the transmission queue
237     (theoretically reduces overhead; bounds message queue size)
238   - merge multiple iteration requests over "all" peers in the queue
239     (theoretically reduces overhead; bounds messgae queue size)
240 * FS:
241   - use different queue prioritization for probe-downloads vs. normal downloads (!?)
242
243 Minor features:
244 * TCP:
245   - repeatedly resolve hostname and look up interfaces to determine our own IP
246   - [./transport/plugin_transport_tcp.c:391]: (style) struct or union member 'Plugin::address_update_task' is never used (related to issue above)
247 * TRANSPORT:
248   - [./transport/gnunet-service-transport.c:173]: (style) struct or union member 'TransportPlugin::rebuild' is never used (related to TCP not refreshing external addresses?)
249 * BLOCKS:
250   - testcase would be nice...