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