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