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