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