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