corrected the test-case, the test-packet needs to use the GNUNET_MessageHeader
[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 * CORE:
6   - transport-level disconnect (i.e. TCP) does not cause core-level
7     disconnect in a timely fashion (waits for connection timeout);
8     need to figure a way to make it near-instant in those cases 
9     (i.e. rapid reduction in timeout on transport-level disconnect) [CG]
10     => may have been fixed with instant-notification of disconnect
11        to core on session-oriented connection hick-up; not perfect but
12        likely good enough until we get ATS going; still should be tested...
13     => "peers connected (transport)" now instantly goes to ZERO (core statistic),
14        but "established sessions" stays up...
15   - derived key generation [Nils]
16 * DHT: [Nate]
17   - implement DHT service 
18   - implement performance tests
19 * GNUNET-GTK: [CG]
20   - right-clicking on search result should open menu that allows:
21     + starting recursive download 
22     + aborting active download 
23     + copy URI to clipboard 
24     + save-as gnunet-directory
25   - events:
26     + implement clear button in search tabs (to stop downloads)
27     + search resume
28     + search error
29     + download error
30     + download resume
31     + publish resume
32     + publish error
33   - namespaces:
34     + implement advertise-pseudonym dialog
35     + namespace search
36     + NS list in search dialog should use colors to offset our own namespaces from the others
37     + double-clicking on NS list in search dialog should move 'root' to keyword line
38     + right-clicking on NS list in search dialog should open menu that allows 
39       / viewing full meta data 
40       / deletion of namespace info
41   - implement download by URI dialog; figure out where to display those downloads!
42   - figure out where in the GUI we should show active uploads/unindex operations and allow aborts
43   - bugs:
44     + handle 'lost parent' case for recursive downloads (need to move children!)
45     + clean up TreeStores in main_window_file_publish on dialog close
46 * MONKEY: [Safey]
47   - better crash management (attach debugging support, capture and analyze
48     debug output, detect random vs. deterministic crashes)
49 * TBENCH: [MW]
50   - good to have for transport/DV evaluation! 
51 * DV: [Nate]
52   - implement performance tests (needs tbench)
53
54
55 0.9.0pre3:
56 * Determine RC bugs and fix those!
57 * TRACEKIT: [MW]
58   - good to have for DV/DHT evaluation!
59 * DATASTORE: [NN]
60   - GNUNET_DATASTORE_cancel method not tested
61 * TESTING: [Nate]
62   - test basic peer re-configure 
63   - consider changing API for peer-group termination to 
64     call continuation when done
65 * TOPOLOGY:
66   - needs more testing (especially F2F topology) & transport blacklisting
67 * NAT/UPNP: [MW]
68   - finalize API design
69   - code clean up
70   - testing
71   - integration with transport service
72 * MYSQL database backends: [CG]
73   - datacache
74   - datastore
75 * FS: [CG]
76   - library:
77     + reconstruct IBLOCKS from DBLOCKS if possible (during download; see FIXME in fs_download)
78     + add support for pushing "already seen" search results to FS service for bloomfilter (can wait)
79     + use different 'priority' for probe downloads vs. normal downloads
80   - service:
81     + trust: do not charge when "idle" / load considerations (migration, routing)
82     + artificial delays
83     + active reply route caching design & implementation; gap extension!
84   - non-anonymous FS service (needs DHT)
85     + DHT integration for search
86     + CS-DHT-functions (DHT-put of LOC)
87     + P2P-functions (DHT-get)
88   - implement FS performance tests
89     + insert
90     + download
91     + search
92     + unindex
93 * ARM: [CG/Safey]
94   - better tracking of which config changes actually need to cause process restarts by ARM.
95   - handle gnunet-arm -k in combination with auto-start magic (what is the right thing here?)
96   - discover dependencies between services
97 * STATISTICS: [NN]
98   - test notification-based statistics API
99   - implement statistics GUI
100 * PEERINFO: [NN]
101   - move peerinfo to new GUI?
102   - extend peer dialog with green-yellow-red connectivity status lights
103   - extend peer dialog with country flags and names
104 * SETUP:
105   - design & implement new setup tool
106 * GNUNET-GTK:
107   - optimize meta-data for directories in 'add_dir_at_iter'
108   - add progress dialog for 'add_dir_at_iter' scan (can take a while...)
109   - finish publish dialog details:
110     + normalize keywords (edit subdialog)
111     + set/view previews (edit subdialog)
112   - add tool bar
113   - implement unindex operation (use dialog with all indexed files for selection)
114   - do meaningful update to status line (starting up, peer running, #connections, shutdown, ...)
115 * MONKEY: [Safey]
116   - '-m EMAIL' option for alternative e-mail TO
117   - '-f FILENAME' option to write  report to file instead of e-mail (for testing!)
118
119 0.9.0:
120 * new webpage:
121   - convert documentation pages to books
122   - update books (especially for developers)
123   - create good Drupal theme for GNUnet
124   - make a NICE download page and figure out how to enable developers to publish TGZs nicely
125   - port "contact" page
126   - add content type for "todo" items?
127 * POSTGRES database backends: [CG]
128   - datacache
129   - datastore
130 * Determine RC bugs and fix those!
131
132 0.9.x:
133 * TRANSPORT: [MW]
134   - SMTP transport backend
135   - HTTPS transport backend
136     + improved HTTPS support in MHD
137     + actual plugin
138   - Implement method of learning our external addresses from
139     other peers; need some kind of threshold-based
140     scheme, limiting both the total number of addresses that we accept 
141     this way as well as requiring multiple confirmations; also, we
142     should possibly try to confirm that the given address works for
143     us ourselves (loopback-style) before adding it to the list
144     + we may be able to simplify WELCOME messages (no need to add 
145       addresses there anymore, but may help to learn them there anyway...).
146     + we probably want some kind of voting/counting for learning IP addresses
147       (maybe including IP addresses in ads proportional to how often others
148        report them? we at least need some protection against >64k HELLOs!),
149     + provide a way to give the user a list of "learned" IP addresses and
150       a way to easily "veto" addresses off the list!
151       => If MiM attacker uses vetoed address, blacklist the specific IP for
152          the presumed neighbour!
153   - implement gnunet-transport (transport configurator / tester)
154   - UPnP-based IP detection
155     (Note: build library always, build service when libxml2/etc. are available)
156 * FS: [CG]
157   - Remove KBlocks in gnunet-unindex (see discussion with Kenneth Almquist on gnunet-devs in 9/2009)
158 * PEERINFO: [NN]
159   - expire 'ancient' HELLOs (those without valid addresses AND that 
160     we have not 'used' (for their public keys) in a while; need a way
161     to track actual 'use')
162   - make sue we also trigger notifications whenever HELLOs expire
163 * VPN
164 * UTIL: [CG]
165   - allow limiting UNIX socket access by UID/GID
166
167
168
169 Optimizations:
170 * TCP:
171   - should use hash map to look up sessions
172 * STATISTICS:
173   - should use BIO instead of mmap
174 * TRANSPORT:
175   - need to periodically probe latency/transport cost changes & possibly switch transport
176   - should use hash map to look up Neighbours (service AND plugins!)
177 * PEERINFO:
178   - merge multiple HELLOs of the same peer in the transmission queue
179     (theoretically reduces overhead; bounds message queue size)
180   - merge multiple iteration requests over "all" peers in the queue
181     (theoretically reduces overhead; bounds messgae queue size)
182 * FS:
183   - use different queue prioritization for probe-downloads vs. normal downloads (!?)
184 * CORE:
185   - encrypted P2P transmission (loopback) tops at 2 MB/s on my quad-core;
186     why is it so slow? Fix! (see core_api_reliability test)
187
188 Minor features:
189 * TCP:
190   - repeatedly resolve hostname and look up interfaces to determine our own IP
191   - [./transport/plugin_transport_tcp.c:391]: (style) struct or union member 'Plugin::address_update_task' is never used (related to issue above)
192 * TRANSPORT:
193   - [./transport/gnunet-service-transport.c:173]: (style) struct or union member 'TransportPlugin::rebuild' is never used (related to TCP not refreshing external addresses?)
194 * BLOCKS:
195   - testcase would be nice...