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