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