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