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