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