fixed
[oweals/gnunet.git] / TODO
1 0.9.0pre1:
2 * FS: [CG]
3   - persistence testing (unindex, search):
4     * unindex:
5       + need to clean up state on stop/suspend (including file-hashing => util API change!) 
6   - gnunet-service-fs (hot-path routing, load-based routing, nitpicks)  
7   - [gnunet-service-fs.c:208]: member 'LocalGetContext::results_bf_size' is never used
8   - [gnunet-service-fs.c:501]: member 'PendingRequest::used_pids_size' is never used
9   - [gnunet-service-fs.c:654]: member 'ConnectedPeer::last_client_replies' is never used
10   - [gnunet-service-fs.c:669]: member 'ConnectedPeer::avg_delay' is never used
11   - [gnunet-service-fs.c:675]: member 'ConnectedPeer::avg_priority' is never used
12   - [gnunet-service-fs.c:688]: member 'ConnectedPeer::pending_requests' is never used
13   - [gnunet-service-fs.c:694]: member 'ConnectedPeer::last_p2p_replies_woff' is never used
14   - [gnunet-service-fs.c:700]: member 'ConnectedPeer::last_client_replies_woff' is never used
15   - GAP improvements:
16     + active reply route caching design & implementation of service; gap extension!
17 * MIGRATION [CG]
18   - on-demand encoding => move logic to block-library!?
19   - peer selection => how to consider latency/bw/etc?
20   - content transmission => how often the same block?
21   - how to select delay before next migration? 
22   - migration to us
23   - testing
24   - integrate with FS or not? (peer list, index/on-demand encoding, block code,
25     inbound priority assignment; all would be easier with tight integration!)
26 * TBENCH: [MW]
27   - good to have for transport/DV evaluation! 
28 * DV: [Nate]
29   - write DV API (need to move declarations from dv_api.c to gnunet_dv_service.h!)
30   - implement DV service 
31   - implement DV library (looks done)
32   - implement DV transport plugin
33   - implement testcases 
34   - implement performance tests (needs tbench)
35 * TOPOLOGY:
36   - needs more testing (especially F2F topology) & transport blacklisting
37 * UTIL:
38   - only connect() sockets that are ready (select()) [Nils]
39     [On W32, we need to select after calling socket before doing connect etc.]
40 * GNUNET-GTK:
41   - use g_main_context_set_poll_func to integrate GTK with GNUnet Scheduler!? (YUCK!)
42   - OR: add scheduler API to enable integration with GTK main loop instead of doing our own select
43   - use g_main_context_pending, g_main_context_query / g_main_context_check / g_main_context_dispatch
44     and NEVER g_main_loop_run (can this be done? might be the clean way to do this! But how
45     to integrate this with "gtk_main"?  Docu says:
46     "It's OK to use the GLib main loop directly instead of gtk_main(), though it involves 
47      slightly more typing. See GMainLoop in the GLib documentation."
48     => so maybe it "just works"?
49 * SETUP:
50   - design & implement new setup tool
51
52 0.9.0pre2:
53 * TRACEKIT: [MW]
54   - good to have for DV/DHT evaluation!
55 * DHT: [Nate]
56   - implement DHT service 
57   - implement testcases
58   - implement performance tests
59 * TRANSPORT:
60   - HTTP backend [MW]
61 * ARM: [Safey]
62   - need to get rid of synchronous API for service starts (cause all kinds of problems)
63     [=> eliminate for need to tell ARM about service starts most of the time!] [Safey]
64   - better tracking of which config changes actually need to cause process restarts by ARM.
65   - listen for requests to discover dependencies between services (and avoid
66     having to explicitly program start requests)
67   - better crash management (attach debugging support, capture and analyze
68     debug output, detect random vs. deterministic crashes)
69   - shutdown sequence?
70 * FS: [CG]
71   - datastore reservation (publishing)
72   - location URIs (publish, search, download)
73   - unindex on index failure
74   - utilize in-line files in meta data always (including in search results or
75     when download is triggered manually and for probes); currently the data is
76     only used when users do a general 'recursive' download
77   - non-anonymous FS service (needs DHT)
78     + DHT integration for search
79     + CS-DHT-functions (DHT-put of LOC)
80     + P2P-functions (DHT-get)
81   - collection API & tests
82     + gnunet-pseudonym (collection support)
83   - implement FS performance tests
84     + insert
85     + download
86     + search
87     + unindex
88 * MIGRATION:
89   - improved content selection (not just 'get_random')
90
91 0.9.0pre3:
92 * Determine RC bugs and fix those!
93 * TESTING: [Nate]
94   - modify configuration to allow controlling connections for non-local starts
95   - testbed creation with topology (needs working F2F topology) 
96   - testbed with churn 
97   - implement testcases for distributed testing
98   - test basic peer re-configure 
99   - test topology creation 
100   - test churn generation 
101   - consider changing API for peer-group termination to 
102     call continuation when done
103 * NAT/UPNP: [MW]
104   - finalize API design
105   - code clean up
106   - testing
107   - integration with transport service
108 * MYSQL database backends: [CG]
109   - datacache
110   - datastore
111 * FS:
112   - reconstruct IBLOCKS from DBLOCKS if possible (during download; see FIXME in fs_download)
113   - add support for pushing "already seen" search results to FS service for bloomfilter (can wait)
114   - use different 'priority' for probe downloads vs. normal downloads
115
116 0.9.0:
117 * new webpage:
118   - expand bibliography
119   - convert documentation pages to books
120   - update books (especially for developers)
121   - create good Drupal theme for GNUnet
122   - make a NICE download page and figure out how to enable developers to publish TGZs nicely
123   - port "contact" page
124   - add content type for "todo" items?
125 * POSTGRES database backends: [CG]
126   - datacache
127   - datastore
128 * Determine RC bugs and fix those!
129
130 0.9.x:
131 * TRANSPORT: [MW]
132   - SMTP transport backend
133   - HTTPS transport backend
134     + improved HTTPS support in MHD
135     + actual plugin
136   - Implement method of learning our external addresses from
137     other peers; need some kind of threshold-based
138     scheme, limiting both the total number of addresses that we accept 
139     this way as well as requiring multiple confirmations; also, we
140     should possibly try to confirm that the given address works for
141     us ourselves (loopback-style) before adding it to the list
142     + we may be able to simplify WELCOME messages (no need to add 
143       addresses there anymore, but may help to learn them there anyway...).
144     + we probably want some kind of voting/counting for learning IP addresses
145       (maybe including IP addresses in ads proportional to how often others
146        report them? we at least need some protection against >64k HELLOs!),
147     + provide a way to give the user a list of "learned" IP addresses and
148       a way to easily "veto" addresses off the list!
149       => If MiM attacker uses vetoed address, blacklist the specific IP for
150          the presumed neighbour!
151   - implement gnunet-transport (transport configurator / tester)
152   - UPnP-based IP detection
153     (Note: build library always, build service when libxml2/etc. are available)
154 * FS: [CG]
155   - Remove KBlocks in gnunet-unindex (see discussion with Kenneth Almquist on gnunet-devs in 9/2009)
156 * PEERINFO: [CG]
157   - expire 'ancient' HELLOs (those without valid addresses AND that 
158     we have not 'used' (for their public keys) in a while; need a way
159     to track actual 'use')
160   - make sue we also trigger notifications whenever HELLOs expire
161 * VPN
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 * DATASTORE (?):
174   - check for duplicates on insertion (currently, same content is frequently
175     stored again [seen with KBLOCKS and SBLOCKS]!)
176 * PEERINFO:
177   - merge multiple HELLOs of the same peer in the transmission queue
178     (theoretically reduces overhead; bounds message queue size)
179   - merge multiple iteration requests over "all" peers in the queue
180     (theoretically reduces overhead; bounds messgae queue size)
181 * FS:
182   - use different queue prioritization for probe-downloads vs. normal downloads (!?)
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...