(no commit message)
[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   - 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...