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