fix
[oweals/gnunet.git] / TODO
1 Implementable right now (but not necessarily important), with caveats
2 (unavailable components that will limit what can be implemented right
3 away), in order in which they will likely be done:
4 * TESTING-TESTBED [Nate]
5 * SETUP
6 * DV [Nate]
7 * TBENCH
8 * TRACEKIT
9 * FRAGMENTATION [Ji Lu]
10 * HTTP transport
11 * MySQL / Postgres plugins (datastore, datacache) [Radhika]
12 * UPNP [Milan]
13
14 Urgent items (before announcing ng.gnunet.org):
15 * topology
16   - valgrind crash (in topology test case):
17 ==31107== Invalid read of size 8                                                                                                             
18 ==31107==    at 0x401DA1: free_peer (gnunet-daemon-topology.c:480)                                                                           
19 ==31107==    by 0x4030A2: cleaning_task (gnunet-daemon-topology.c:1212)                                                                      
20 ==31107==    by 0x545DCBD: run_ready (scheduler.c:482)                                                                                       
21 ==31107==    by 0x545E0CD: GNUNET_SCHEDULER_run (scheduler.c:609)                                                                            
22 ==31107==    by 0x545B00F: GNUNET_PROGRAM_run (program.c:223)                                                                                
23 ==31107==    by 0x403477: main (gnunet-daemon-topology.c:1346)                                                                               
24 ==31107==  Address 0x737e828 is 8 bytes inside a block of size 144 free'd                                                                    
25 ==31107==    at 0x4C21DBC: free (vg_replace_malloc.c:325)                                                                                    
26 ==31107==    by 0x544240B: GNUNET_xfree_ (common_allocation.c:144)                                                                           
27 ==31107==    by 0x401E13: free_peer (gnunet-daemon-topology.c:487)                                                                           
28 ==31107==    by 0x4030A2: cleaning_task (gnunet-daemon-topology.c:1212)                                                                      
29 ==31107==    by 0x545DCBD: run_ready (scheduler.c:482)                                                                                       
30 ==31107==    by 0x545E0CD: GNUNET_SCHEDULER_run (scheduler.c:609)                                                                            
31 ==31107==    by 0x545B00F: GNUNET_PROGRAM_run (program.c:223)                                                                                
32 ==31107==    by 0x403477: main (gnunet-daemon-topology.c:1346)                                                                               
33 ==31107==                                                                                                                                    
34   - considers peers 'connected' well before they actually are
35     (since core notifies about it too early?);
36   - (forced) disconnect does not work (also CORE API issue)
37   - needs testing (not sure the current testcase does much...)
38 * hostlist
39   - test fails (looks like it works, but that's because of a bad
40     connectivity notification; somehow core is unable to send
41     messages successfully via transport)
42 * CORE:
43   - core notifies about connects "too early" (when we have not yet
44     succeeded with the full key exchange) [see also: BUGS]
45 * FS (basic anonymous FS only)
46   - implement FS service (P2P operations)
47     + how to send queries (soliciting is not there in core; do we
48       also want to do pushing sometimes?)
49     + need to bound queueing of replies for other peers    
50   - test multi-peer search/download
51 * new webpage
52   - run peer => have a 0.9.x hostlist
53   - improve basic documentation (configure, dependencies, what works, etc.)
54   - write minimal welcome/introduction to 0.9.x-development/webpage/status
55 => Deploy(able) development network
56
57
58 0.9.0pre0:
59 * UTIL:
60   - load: need way to determine network load (up/down)
61   - trust: need *fast* way to check/update trust in peers
62            (async peerinfo would not be right)
63   - OS: existing waitpid call is not nice (not integratable with scheduler! fix this!)
64 * STATISTICS:
65   - synchronous/asynchronous API (& implementation) is not nice
66   - does not seem to work with timeouts (especially if service is not running)
67 * ARM:
68   - need to get rid of synchronous API for service starts (cause all kinds of problems)
69     [=> eliminate for need to tell ARM about service starts most of the time!]
70 * HELLO:
71   - need function to test "equivalency" of HELLOs; use in topology!
72 * Module features to implement:
73   - advanced FS API parts
74     + namespaces: fundamental namespace API
75     + search: SBlocks, KSBlocks, probes, notify FS-service of known results
76     + collection
77     + location URIs (publish, search, download)
78     + persistence support (publish, unindex, search, download)
79     + indexing: index-failure-cleanup
80     + download: management/bounding of parallel downloads (for recursive dl.)
81     + datastore reservation (publishing)
82     + gnunet-publish (URI args)
83     + gnunet-download (directory)
84     + gnunet-search (options, incl. namespace search)
85     + gnunet-download (many options)
86     + gnunet-directory (man page, options)
87     + gnunet-pseudonym (all of it)
88     + gnunet-service-fs (remove failing on-demand blocks, many other nitpicks/features/optimizations)
89     + datastore: do active migration support here?
90   - implement adv. FS testcases 
91     + getopt API
92     + insert: sblocks, loc uris
93     + download: loc uris
94     + search: sblocks, skblocks, loc uris
95     + namespaces
96     + collection
97   - implement FS performance tests (needs TESTING)
98     + insert
99     + download
100     + search
101     + unindex
102   - non-anonymous FS service (needs DHT)
103     + basic DHT integration
104     + CS-DHT-functions (DHT-put of LOC)
105     + P2P-functions (DHT-get)
106   - setup (RC-pre0)
107     + default generation
108     + need to settle basic design; do we want to keep guile?
109   - testing (RC-pre0)
110     + modify configuration to allow controlling connections for non-local starts
111     + testbed creation with topology (needs working F2F topology) [Nate]
112     + testbed with churn [Nate]
113     + implement library for distributed testing [Nate]
114     + implement testcases for distributed testing [Nate]
115     + test basic peer re-configure [Nate]
116     + test topology creation [Nate]
117     + test churn generation [Nate]
118
119 0.9.0pre1:
120 * Module features to implement:
121   - tbench (RC-pre1)
122     + good to have for DV evaluation!
123   - DV (RC-pre1)
124     + write DV API 
125     + implement DV service [Nate & CG]
126     + implement DV library [Nate]
127     + implement DV transport plugin [Nate & CG]
128     + implement testcases [Nate]
129     + implement performance tests [Nate]
130 * GUIs to implement:
131   - gtk (RC-pre1)
132     + how to integrate scheduler with GTK event loop!
133
134 0.9.0pre2:
135 * Module features to implement:
136   - tracekit (RC-pre2)
137     + good to have for DV/DHT evaluation!
138   - DHT (RC-pre2)
139     + implement DHT service (needs DV, DATACACHE)
140     + implement DHT library
141     + implement testcases
142     + implement performance tests
143 * GUIs to implement:
144   - fuse (RC-pre2)
145 * Plugins to implement:
146   - UDP backend (RC-pre2)
147     + Fragmentation library 
148     + actual plugin
149   - HTTP backend (RC-pre2)
150
151 0.9.0pre3:
152 * GUIs to implement:
153   - qt (RC-pre3)
154     + see discussions @ FISL about integration with event loop!
155 * Determine RC bugs and fix those!
156
157 0.9.0:
158 * Documentation
159   - update man pages
160   - update webpage documentation
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 
167     enable developers to publish TGZs nicely
168   - port "contact" page
169   - add content type for "todo" items?
170   - DNS activation
171 * Plugins to implement:
172   - MySQL database backends
173     + datacache
174     + datastore
175   - Postgres database backends
176     + datacache
177     + datastore
178   - vpn
179 * Determine RC bugs and fix those!
180
181
182 0.9.x:
183 * Plugins to implement:
184   - SMTP transport backend
185   - HTTPS transport backend
186     + improved HTTPS support in MHD
187     + actual plugin
188 * Remove KBlocks in gnunet-unindex (see discussion with Kenneth Almquist on gnunet-devs in 9/2009)
189 * Allow checking of presence of search results and/or content via command-line tools
190   (add options to gnunet-search / gnunet-download to limit search to local peer)
191 * STATISTICS:
192   - should use BIO instead of mmap