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