fix fs testcase
[oweals/gnunet.git] / TODO
1 0.9.0pre2:
2 * UTIL:
3   - only connect() sockets that are ready (select()) [Nils]
4     [On W32, we need to select after calling socket before doing connect etc.]
5 * TRANSPORT:
6   - HTTP backend [MW]
7   - Jun 27 11:51:54 core-7670 ERROR Assertion failed at gnunet-service-core.c:3616.
8     (transport notified us that we connected to ourselves!!!)
9 * CORE:
10   - transport-level disconnect (i.e. TCP) does not cause core-level
11     disconnect in a timely fashion (waits for connection timeout);
12     need to figure a way to make it near-instant in those cases 
13     (i.e. rapid reduction in timeout on transport-level disconnect) [CG]
14   - derived key generation [Nils]
15 * DHT: [Nate]
16   - implement DHT service 
17   - implement testcases
18   - implement performance tests
19 * FS: [CG]
20   - service:
21     + trust: do not charge when "idle" / load considerations (migration, routing)
22     + artificial delays
23     + active reply route caching design & implementation of service; gap extension!
24   - non-anonymous FS service (needs DHT)
25     + DHT integration for search
26     + CS-DHT-functions (DHT-put of LOC)
27     + P2P-functions (DHT-get)
28   - implement FS performance tests
29     + insert
30     + download
31     + search
32     + unindex
33 * GNUNET-GTK: [CG]
34   - implement publish dialog details:
35     + open (import directory structure)
36     + normalize keywords (edit subdialog)
37     + set/view previews (edit subdialog)
38     + mark 'insert file' button inconsistent for directories (edit subdialog)
39   - right-clicking on search result should open menu that allows:
40     + starting recursive download 
41     + aborting active download 
42     + copy URI to clipboard 
43     + save-as gnunet-directory
44   - events:
45     + implement clear button in search tabs (to stop downloads)
46     + search resume
47     + search error
48     + download error
49     + download resume
50     + publish resume
51     + publish error
52   - implement new-pseudonym and advertise-pseudonym dialogs
53   - namespace search
54   - NS list in search dialog should use colors to offset our own namespaces from the others
55   - double-clicking on NS list in search dialog should move 'root' to keyword line
56   - right-clicking on NS list in search dialog should open menu that allows 
57     + viewing full meta data 
58     + deletion of namespace info
59   - extend peer dialog with green-yellow-red connectivity status lights
60   - extend peer dialog with country flags and names
61   - implement statistics tabs
62   - do meaningful update to status line (starting up, peer running, #connections, shutdown, ...)
63   - implement unindex operation (use dialog with all indexed files for selection)
64   - implement download by URI dialog; figure out where to display those downloads!
65   - figure out where in the GUI we should show active uploads/unindex operations and allow aborts
66   - handle 'lost parent' case for recursive downloads (need to move children!)
67 * MONKEY: [Safey]
68   - better crash management (attach debugging support, capture and analyze
69     debug output, detect random vs. deterministic crashes)
70 * TBENCH: [MW]
71   - good to have for transport/DV evaluation! 
72 * DV: [Nate]
73   - implement performance tests (needs tbench)
74
75
76 0.9.0pre3:
77 * TRACEKIT: [MW]
78   - good to have for DV/DHT evaluation!
79 * Determine RC bugs and fix those!
80 * DATASTORE:
81   - GNUNET_DATASTORE_cancel method not tested
82 * TESTING: [Nate]
83   - test basic peer re-configure 
84   - consider changing API for peer-group termination to 
85     call continuation when done
86 * TOPOLOGY:
87   - needs more testing (especially F2F topology) & transport blacklisting
88 * NAT/UPNP: [MW]
89   - finalize API design
90   - code clean up
91   - testing
92   - integration with transport service
93 * MYSQL database backends: [CG]
94   - datacache
95   - datastore
96 * FS: [CG]
97   - reconstruct IBLOCKS from DBLOCKS if possible (during download; see FIXME in fs_download)
98   - add support for pushing "already seen" search results to FS service for bloomfilter (can wait)
99   - use different 'priority' for probe downloads vs. normal downloads
100 * ARM: [CG/Safey]
101   - better tracking of which config changes actually need to cause process restarts by ARM.
102   - handle gnunet-arm -k in combination with auto-start magic (what is the right thing here?)
103   - discover dependencies between services
104 * STATISTICS:
105   - test notification-based statistics API
106 * SETUP:
107   - design & implement new setup tool
108
109 0.9.0:
110 * new webpage:
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 * UTIL:
155   - allow limiting UNIX socket access by UID/GID
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   - should use hash map to look up Neighbours (service AND plugins!)
167 * PEERINFO:
168   - merge multiple HELLOs of the same peer in the transmission queue
169     (theoretically reduces overhead; bounds message queue size)
170   - merge multiple iteration requests over "all" peers in the queue
171     (theoretically reduces overhead; bounds messgae queue size)
172 * FS:
173   - use different queue prioritization for probe-downloads vs. normal downloads (!?)
174 * CORE:
175   - encrypted P2P transmission (loopback) tops at 2 MB/s on my quad-core;
176     why is it so slow? Fix! (see core_api_reliability test)
177
178 Minor features:
179 * TCP:
180   - repeatedly resolve hostname and look up interfaces to determine our own IP
181   - [./transport/plugin_transport_tcp.c:391]: (style) struct or union member 'Plugin::address_update_task' is never used (related to issue above)
182 * TRANSPORT:
183   - [./transport/gnunet-service-transport.c:173]: (style) struct or union member 'TransportPlugin::rebuild' is never used (related to TCP not refreshing external addresses?)
184 * BLOCKS:
185   - testcase would be nice...