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