(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 (or move into FS!?)
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 new-pseudonym dialog
90   - namespace search
91   - NS list in search dialog should use colors to offset our own namespaces from the others
92   - double-clicking on NS list in search dialog should move 'root' to keyword line
93   - right-clicking on NS list in search dialog should open menu that allows 
94     + viewing full meta data 
95     + deletion of namespace info
96   - extend peer dialog with green-yellow-red connectivity status lights
97   - extend peer dialog with country flags and names
98   - implement statistics tabs
99   - do meaningful update to status line (starting up, peer running, #connections, shutdown, ...)
100   - implement unindex operation (use dialog with all indexed files for selection)
101   - implement download by URI dialog; figure out where to display those downloads!
102   - figure out where in the GUI we should show active uploads/unindex operations and allow aborts
103   - handle 'lost parent' case for recursive downloads (need to move children!)
104
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   - test basic peer re-configure 
114   - consider changing API for peer-group termination to 
115     call continuation when done
116 * NAT/UPNP: [MW]
117   - finalize API design
118   - code clean up
119   - testing
120   - integration with transport service
121 * MYSQL database backends: [CG]
122   - datacache
123   - datastore
124 * FS: [CG]
125   - reconstruct IBLOCKS from DBLOCKS if possible (during download; see FIXME in fs_download)
126   - add support for pushing "already seen" search results to FS service for bloomfilter (can wait)
127   - use different 'priority' for probe downloads vs. normal downloads
128 * ARM: [CG/Safey]
129   - better tracking of which config changes actually need to cause process restarts by ARM.
130 * SETUP:
131   - design & implement new setup tool
132
133 0.9.0:
134 * new webpage:
135   - convert documentation pages to books
136   - update books (especially for developers)
137   - create good Drupal theme for GNUnet
138   - make a NICE download page and figure out how to enable developers to publish TGZs nicely
139   - port "contact" page
140   - add content type for "todo" items?
141 * POSTGRES database backends: [CG]
142   - datacache
143   - datastore
144 * Determine RC bugs and fix those!
145
146 0.9.x:
147 * TRANSPORT: [MW]
148   - SMTP transport backend
149   - HTTPS transport backend
150     + improved HTTPS support in MHD
151     + actual plugin
152   - Implement method of learning our external addresses from
153     other peers; need some kind of threshold-based
154     scheme, limiting both the total number of addresses that we accept 
155     this way as well as requiring multiple confirmations; also, we
156     should possibly try to confirm that the given address works for
157     us ourselves (loopback-style) before adding it to the list
158     + we may be able to simplify WELCOME messages (no need to add 
159       addresses there anymore, but may help to learn them there anyway...).
160     + we probably want some kind of voting/counting for learning IP addresses
161       (maybe including IP addresses in ads proportional to how often others
162        report them? we at least need some protection against >64k HELLOs!),
163     + provide a way to give the user a list of "learned" IP addresses and
164       a way to easily "veto" addresses off the list!
165       => If MiM attacker uses vetoed address, blacklist the specific IP for
166          the presumed neighbour!
167   - implement gnunet-transport (transport configurator / tester)
168   - UPnP-based IP detection
169     (Note: build library always, build service when libxml2/etc. are available)
170 * FS: [CG]
171   - Remove KBlocks in gnunet-unindex (see discussion with Kenneth Almquist on gnunet-devs in 9/2009)
172 * PEERINFO: [CG]
173   - expire 'ancient' HELLOs (those without valid addresses AND that 
174     we have not 'used' (for their public keys) in a while; need a way
175     to track actual 'use')
176   - make sue we also trigger notifications whenever HELLOs expire
177 * VPN
178
179
180
181 Optimizations:
182 * TCP:
183   - should use hash map to look up sessions
184 * STATISTICS:
185   - should use BIO instead of mmap
186 * TRANSPORT:
187   - need to periodically probe latency/transport cost changes & possibly switch transport
188   - should use hash map to look up Neighbours (service AND plugins!)
189 * PEERINFO:
190   - merge multiple HELLOs of the same peer in the transmission queue
191     (theoretically reduces overhead; bounds message queue size)
192   - merge multiple iteration requests over "all" peers in the queue
193     (theoretically reduces overhead; bounds messgae queue size)
194 * FS:
195   - use different queue prioritization for probe-downloads vs. normal downloads (!?)
196
197 Minor features:
198 * TCP:
199   - repeatedly resolve hostname and look up interfaces to determine our own IP
200   - [./transport/plugin_transport_tcp.c:391]: (style) struct or union member 'Plugin::address_update_task' is never used (related to issue above)
201 * TRANSPORT:
202   - [./transport/gnunet-service-transport.c:173]: (style) struct or union member 'TransportPlugin::rebuild' is never used (related to TCP not refreshing external addresses?)
203 * BLOCKS:
204   - testcase would be nice...