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