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