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