02ba1ee1f96bf2769113503e0e90ab5a0ae1c955
[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 * Module features to implement:
71   - advanced FS API parts
72     + namespaces: fundamental namespace API
73     + search: SBlocks, KSBlocks, probes, notify FS-service of known results
74     + collection
75     + location URIs (publish, search, download)
76     + persistence support (publish, unindex, search, download)
77     + indexing: index-failure-cleanup
78     + download: management/bounding of parallel downloads (for recursive dl.)
79     + datastore reservation (publishing)
80     + gnunet-publish (URI args)
81     + gnunet-download (directory)
82     + gnunet-search (options, incl. namespace search)
83     + gnunet-download (many options)
84     + gnunet-directory (man page, options)
85     + gnunet-pseudonym (all of it)
86     + gnunet-service-fs (remove failing on-demand blocks, many other nitpicks/features/optimizations)
87     + datastore: do active migration support here?
88   - implement adv. FS testcases 
89     + getopt API
90     + insert: sblocks, loc uris
91     + download: loc uris
92     + search: sblocks, skblocks, loc uris
93     + namespaces
94     + collection
95   - implement FS performance tests (needs TESTING)
96     + insert
97     + download
98     + search
99     + unindex
100   - non-anonymous FS service (needs DHT)
101     + basic DHT integration
102     + CS-DHT-functions (DHT-put of LOC)
103     + P2P-functions (DHT-get)
104   - setup (RC-pre0)
105     + default generation
106     + need to settle basic design; do we want to keep guile?
107   - testing (RC-pre0)
108     + modify configuration to allow controlling connections for non-local starts
109     + testbed creation with topology (needs working F2F topology) [Nate]
110     + testbed with churn [Nate]
111     + implement library for distributed testing [Nate]
112     + implement testcases for distributed testing [Nate]
113     + test basic peer re-configure [Nate]
114     + test topology creation [Nate]
115     + test churn generation [Nate]
116
117 0.9.0pre1:
118 * Module features to implement:
119   - tbench (RC-pre1)
120     + good to have for DV evaluation!
121   - DV (RC-pre1)
122     + write DV API 
123     + implement DV service [Nate & CG]
124     + implement DV library [Nate]
125     + implement DV transport plugin [Nate & CG]
126     + implement testcases [Nate]
127     + implement performance tests [Nate]
128 * GUIs to implement:
129   - gtk (RC-pre1)
130     + how to integrate scheduler with GTK event loop!
131
132 0.9.0pre2:
133 * Module features to implement:
134   - tracekit (RC-pre2)
135     + good to have for DV/DHT evaluation!
136   - DHT (RC-pre2)
137     + implement DHT service (needs DV, DATACACHE)
138     + implement DHT library
139     + implement testcases
140     + implement performance tests
141 * GUIs to implement:
142   - fuse (RC-pre2)
143 * Plugins to implement:
144   - UDP backend (RC-pre2)
145     + Fragmentation library 
146     + actual plugin
147   - HTTP backend (RC-pre2)
148
149 0.9.0pre3:
150 * GUIs to implement:
151   - qt (RC-pre3)
152     + see discussions @ FISL about integration with event loop!
153 * Determine RC bugs and fix those!
154
155 0.9.0:
156 * Documentation
157   - update man pages
158   - update webpage documentation
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 
165     enable developers to publish TGZs nicely
166   - port "contact" page
167   - add content type for "todo" items?
168   - DNS activation
169 * Plugins to implement:
170   - MySQL database backends
171     + datacache
172     + datastore
173   - Postgres database backends
174     + datacache
175     + datastore
176   - vpn
177 * Determine RC bugs and fix those!
178
179
180 0.9.x:
181 * Plugins to implement:
182   - SMTP transport backend
183   - HTTPS transport backend
184     + improved HTTPS support in MHD
185     + actual plugin
186 * Remove KBlocks in gnunet-unindex (see discussion with Kenneth Almquist on gnunet-devs in 9/2009)
187 * Allow checking of presence of search results and/or content via command-line tools
188   (add options to gnunet-search / gnunet-download to limit search to local peer)
189 * STATISTICS:
190   - should use BIO instead of mmap