(no commit message)
[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 * FS: [CG]
26   - service:
27     + trust: do not charge when "idle" / load considerations (migration, routing)
28     + artificial delays
29     + active reply route caching design & implementation; gap extension!
30   - non-anonymous FS service (needs DHT)
31     + DHT integration for search
32     + CS-DHT-functions (DHT-put of LOC)
33     + P2P-functions (DHT-get)
34 * GNUNET-GTK: [CG]
35   - implement publish dialog details:
36     + open (import directory structure)
37     + normalize keywords (edit subdialog)
38     + set/view previews (edit subdialog)
39     + mark 'insert file' button inconsistent for directories (edit subdialog)
40   - right-clicking on search result should open menu that allows:
41     + starting recursive download 
42     + aborting active download 
43     + copy URI to clipboard 
44     + save-as gnunet-directory
45   - events:
46     + implement clear button in search tabs (to stop downloads)
47     + search resume
48     + search error
49     + download error
50     + download resume
51     + publish resume
52     + publish error
53   - implement new-pseudonym and advertise-pseudonym dialogs
54   - namespace search
55   - NS list in search dialog should use colors to offset our own namespaces from the others
56   - double-clicking on NS list in search dialog should move 'root' to keyword line
57   - right-clicking on NS list in search dialog should open menu that allows 
58     + viewing full meta data 
59     + deletion of namespace info
60   - do meaningful update to status line (starting up, peer running, #connections, shutdown, ...)
61   - implement unindex operation (use dialog with all indexed files for selection)
62   - implement download by URI dialog; figure out where to display those downloads!
63   - figure out where in the GUI we should show active uploads/unindex operations and allow aborts
64   - handle 'lost parent' case for recursive downloads (need to move children!)
65 * MONKEY: [Safey]
66   - better crash management (attach debugging support, capture and analyze
67     debug output, detect random vs. deterministic crashes)
68 * TBENCH: [MW]
69   - good to have for transport/DV evaluation! 
70 * DV: [Nate]
71   - implement performance tests (needs tbench)
72
73
74 0.9.0pre3:
75 * Determine RC bugs and fix those!
76 * TRACEKIT: [MW]
77   - good to have for DV/DHT evaluation!
78 * DATASTORE: [NN]
79   - GNUNET_DATASTORE_cancel method not tested
80 * TESTING: [Nate]
81   - test basic peer re-configure 
82   - consider changing API for peer-group termination to 
83     call continuation when done
84 * TOPOLOGY:
85   - needs more testing (especially F2F topology) & transport blacklisting
86 * NAT/UPNP: [MW]
87   - finalize API design
88   - code clean up
89   - testing
90   - integration with transport service
91 * MYSQL database backends: [CG]
92   - datacache
93   - datastore
94 * FS: [CG]
95   - reconstruct IBLOCKS from DBLOCKS if possible (during download; see FIXME in fs_download)
96   - add support for pushing "already seen" search results to FS service for bloomfilter (can wait)
97   - use different 'priority' for probe downloads vs. normal downloads
98   - implement FS performance tests
99     + insert
100     + download
101     + search
102     + unindex
103 * ARM: [CG/Safey]
104   - better tracking of which config changes actually need to cause process restarts by ARM.
105   - handle gnunet-arm -k in combination with auto-start magic (what is the right thing here?)
106   - discover dependencies between services
107 * STATISTICS: [NN]
108   - test notification-based statistics API
109   - implement statistics GUI
110 * PEERINFO: [NN]
111   - move peerinfo to new GUI?
112   - extend peer dialog with green-yellow-red connectivity status lights
113   - extend peer dialog with country flags and names
114 * SETUP:
115   - design & implement new setup tool
116 * GNUNET-GTK:
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...