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