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