creating a correct testcase
[oweals/gnunet.git] / TODO
1 0.9.0pre1:
2 * PEERINFO: [CG]
3   - trust: need *fast* way to check/update trust in peers
4            (async peerinfo would not be right; certainly not with the current API)
5 * TRANSPORT: [CG]
6   - need to implement and test new blacklisting code (server-side only, client API exists)
7 * TOPOLOGY: [CG]
8   - needs more testing (especially F2F topology) -- need transport blacklisting to be implemented first!
9 * FS: [CG]
10   - support recursive download even if filename is NULL and we hence
11     do not generate files on disk (use temp_filename)
12   - bound parallelism (# fs downloads)
13   - distinguish in performance tracking and event signalling between
14     downloads that are actually running and those that are merely in the queue
15   - persistence support (publish, unindex, search, download)
16   - active migration support (in fs or in datastore or new daemon?)
17   - gnunet-service-fs (hot-path routing, load-based routing, nitpicks)
18   - [gnunet-service-fs.c:208]: member 'LocalGetContext::results_bf_size' is never used
19   - [gnunet-service-fs.c:501]: member 'PendingRequest::used_pids_size' is never used
20   - [gnunet-service-fs.c:654]: member 'ConnectedPeer::last_client_replies' is never used
21   - [gnunet-service-fs.c:669]: member 'ConnectedPeer::avg_delay' is never used
22   - [gnunet-service-fs.c:675]: member 'ConnectedPeer::avg_priority' is never used
23   - [gnunet-service-fs.c:688]: member 'ConnectedPeer::pending_requests' is never used
24   - [gnunet-service-fs.c:694]: member 'ConnectedPeer::last_p2p_replies_woff' is never used
25   - [gnunet-service-fs.c:700]: member 'ConnectedPeer::last_client_replies_woff' is never used
26   - GAP improvements:
27     + active reply route caching design & implementation of service; gap extension!
28 * TBENCH: [MW]
29   - good to have for transport/DV evaluation! 
30 * DV: [Nate]
31   - write DV API (need to move declarations from dv_api.c to gnunet_dv_service.h!)
32   - implement DV service 
33   - implement DV library (looks done)
34   - implement DV transport plugin
35   - implement testcases 
36   - implement performance tests
37 * UTIL:
38   - only connect() sockets that are ready (select()) [Nils]
39     [On W32, we need to select after calling socket before doing connect etc.]
40 * GNUNET-GTK:
41   - use g_main_context_set_poll_func to integrate GTK with GNUnet Scheduler!? (YUCK!)
42   - OR: add scheduler API to enable integration with GTK main loop instead of doing our own select
43   - use g_main_context_pending, g_main_context_query / g_main_context_check / g_main_context_dispatch
44     and NEVER g_main_loop_run (can this be done? might be the clean way to do this! But how
45     to integrate this with "gtk_main"?  Docu says:
46     "It's OK to use the GLib main loop directly instead of gtk_main(), though it involves 
47      slightly more typing. See GMainLoop in the GLib documentation."
48     => so maybe it "just works"?
49 * SETUP:
50   - design & implement new setup tool
51
52 0.9.0pre2:
53 * TRACEKIT: [MW]
54   - good to have for DV/DHT evaluation!
55 * DHT: [Nate]
56   - implement DHT service 
57   - implement testcases
58   - implement performance tests
59 * TRANSPORT:
60   - HTTP backend [MW]
61 * ARM: [Safey]
62   - need to get rid of synchronous API for service starts (cause all kinds of problems)
63     [=> eliminate for need to tell ARM about service starts most of the time!] [Safey]
64   - better tracking of which config changes actually need to cause process restarts by ARM.
65   - listen for requests to discover dependencies between services (and avoid
66     having to explicitly program start requests)
67   - better crash management (attach debugging support, capture and analyze
68     debug output, detect random vs. deterministic crashes)
69   - shutdown sequence?
70 * FS: [CG]
71   - datastore reservation (publishing)
72   - search: availability probes
73   - location URIs (publish, search, download)
74   - non-anonymous FS service (needs DHT)
75     + DHT integration for search
76     + CS-DHT-functions (DHT-put of LOC)
77     + P2P-functions (DHT-get)
78   - collection API & tests
79     + gnunet-pseudonym (collection support)
80   - implement FS performance tests
81     + insert
82     + download
83     + search
84     + unindex
85
86 0.9.0pre3:
87 * Determine RC bugs and fix those!
88 * TESTING: [Nate]
89   - modify configuration to allow controlling connections for non-local starts
90   - testbed creation with topology (needs working F2F topology) 
91   - testbed with churn 
92   - implement testcases for distributed testing
93   - test basic peer re-configure 
94   - test topology creation 
95   - test churn generation 
96   - consider changing API for peer-group termination to 
97     call continuation when done
98 * NAT/UPNP: [MW]
99   - finalize API design
100   - code clean up
101   - testing
102   - integration with transport service
103 * MYSQL database backends: [CG]
104   - datacache
105   - datastore
106
107 0.9.0:
108 * new webpage:
109   - expand bibliography
110   - convert documentation pages to books
111   - update books (especially for developers)
112   - create good Drupal theme for GNUnet
113   - make a NICE download page and figure out how to 
114     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   - Allow checking of presence of search results and/or content via command-line tools
149     (add options to gnunet-search / gnunet-download to limit search to local peer)
150 * PEERINFO: [CG]
151   - expire 'ancient' HELLOs (those without valid addresses AND that 
152     we have not 'used' (for their public keys) in a while; need a way
153     to track actual 'use')
154   - make sue we also trigger notifications whenever HELLOs expire
155 * VPN
156
157
158
159 Optimizations:
160 * TCP:
161   - should use hash map to look up sessions
162 * STATISTICS:
163   - should use BIO instead of mmap
164 * TRANSPORT:
165   - need to periodically probe latency/transport cost changes & possibly switch transport
166   - instantly filter addresses from *other* peers that 
167     are *equal* to our own address + port (i.e., localhost:2086).  We 
168     no longer filter those for outgoing (helps with loopback testing
169     and keeps the code clean), but we should filter strictly *impossible*
170     incoming addresses!  This is for efficiency, not correctness.
171   - should use hash map to look up Neighbours
172 * HOSTLIST:
173   - 'server' uses 'GNUNET_PEERINFO_iterate', should probably switch to notification API
174     (for more instant / up-to-date hostlists at lower cost)
175 * DATASTORE (?):
176   - check for duplicates on insertion (currently, same content is frequently
177     stored again [seen with KBLOCKS and SBLOCKS]!)
178
179 Minor features:
180 * TCP:
181   - repeatedly resolve hostname and look up interfaces to determine our own IP
182   - [./transport/plugin_transport_tcp.c:391]: (style) struct or union member 'Plugin::address_update_task' is never used (related to issue above)
183 * TRANSPORT:
184   - [./transport/gnunet-service-transport.c:173]: (style) struct or union member 'TransportPlugin::rebuild' is never used (related to TCP not refreshing external addresses?)
185 * DATACACHE:
186   - add stats (# bytes available, # bytes used, # PUTs, # GETs, # GETs satisfied)
187 * FS:
188   - support inline data in directories for recursive file downloads (fs_download)
189