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