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