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