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