c66aa64c5eb0c0fe0a60b039df0b434e0bdb8d10
[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   - implement publish dialog
21     + edit: extract metadata / ksk uri (!)
22     + up
23     + down
24     + left
25     + right
26     + execute (publish)
27   - directory support:
28     + download start: recursive/directory (!) & from-URI only
29     + handle download lost-parent (move to 'from-URI only' tab)
30     + display content of directory
31     + open directory
32
33 0.9.0pre2:
34 * CORE:
35   - transport-level disconnect (i.e. TCP) does not cause core-level
36     disconnect in a timely fashion (waits for connection timeout);
37     need to figure a way to make it near-instant in those cases 
38     (i.e. rapid reduction in timeout on transport-level disconnect)
39   - encrypted P2P transmission (loopback) tops at 2 MB/s on my quad-core;
40     why is it so slow? Fix! (see core_api_reliability test)
41   - implement API to get notifications about bandwidth assignments to individual peers
42   - implement API to get notifications about updates to liveness of individual peers (before disconnect)
43 * TBENCH: [MW]
44   - good to have for transport/DV evaluation! 
45 * DHT: [Nate]
46   - implement DHT service 
47   - implement testcases
48   - implement performance tests
49 * ARM: [Safey]
50   - better crash management (attach debugging support, capture and analyze
51     debug output, detect random vs. deterministic crashes)
52   - discover dependencies between services
53   - handle gnunet-arm -k in combination with auto-start magic (what is the right thing here?)
54   - add listen socket forwarding to child processes on supported platforms
55 * FS: [CG]
56   - load considerations (migration, routing)
57   - active reply route caching design & implementation of service; gap extension!
58   - datastore reservation (publishing)
59   - location URIs (publish, search, download)
60   - unindex on index failure
61   - utilize in-line files in meta data always (including in search results or
62     when download is triggered manually and for probes); currently the data is
63     only used when users do a general 'recursive' download
64   - non-anonymous FS service (needs DHT)
65     + DHT integration for search
66     + CS-DHT-functions (DHT-put of LOC)
67     + P2P-functions (DHT-get)
68   - listing of learned namespaces
69   - collection API & tests
70     + gnunet-pseudonym (collection support)
71   - implement FS performance tests
72     + insert
73     + download
74     + search
75     + unindex
76 * STATISTICS:
77   - implement notification-based statistics API
78 * GNUNET-GTK:
79   - implement publish dialog details:
80     + open (import directory structure)
81     + normalize keywords (edit subdialog)
82     + set/view previews (edit subdialog)
83     + mark 'insert file' button inconsistent for directories (edit subdialog)
84   - right-clicking on search result should open menu that allows:
85     + starting recursive download 
86     + aborting active download 
87     + copy URI to clipboard 
88     + save-as gnunet-directory
89   - events:
90     + search resume
91     + search error
92     + download error
93     + download resume
94   - implement open directory dialog
95   - implement new-pseudonym dialog
96   - namespace search
97   - NS list in search dialog should use colors to offset our own namespaces from the others
98   - double-clicking on NS list in search dialog should move 'root' to keyword line
99   - right-clicking on NS list in search dialog should open menu that allows 
100     + viewing full meta data 
101     + deletion of namespace info
102   - extend peer dialog with green-yellow-red connectivity status lights
103   - extend peer dialog with country flags and names
104   - implement statistics tabs
105   - do meaningful update to status line (starting up, peer running, #connections, shutdown, ...)
106   - implement unindex operation (use dialog with all indexed files for selection)
107   - implement download by URI dialog; figure out where to display those downloads!
108   - figure out where in the GUI we should show active uploads/unindex operations and allow aborts
109
110 0.9.0pre3:
111 * TRACEKIT: [MW]
112   - good to have for DV/DHT evaluation!
113 * Determine RC bugs and fix those!
114 * DATASTORE:
115   - GNUNET_DATASTORE_cancel method not tested
116 * TESTING: [Nate]
117   - modify configuration to allow controlling connections for non-local starts
118   - testbed creation with topology (needs working F2F topology) 
119   - testbed with churn 
120   - implement testcases for distributed testing
121   - test basic peer re-configure 
122   - test topology creation 
123   - test churn generation 
124   - consider changing API for peer-group termination to 
125     call continuation when done
126 * NAT/UPNP: [MW]
127   - finalize API design
128   - code clean up
129   - testing
130   - integration with transport service
131 * MYSQL database backends: [CG]
132   - datacache
133   - datastore
134 * FS:
135   - reconstruct IBLOCKS from DBLOCKS if possible (during download; see FIXME in fs_download)
136   - add support for pushing "already seen" search results to FS service for bloomfilter (can wait)
137   - use different 'priority' for probe downloads vs. normal downloads
138 * ARM:
139   - better tracking of which config changes actually need to cause process restarts by ARM.
140 * SETUP:
141   - design & implement new setup tool
142
143 0.9.0:
144 * new webpage:
145   - expand bibliography
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...