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