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