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