working distance vector transport plugin implementation. after spending days on...
[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 * TOPOLOGY:
15   - needs more testing (especially F2F topology) & transport blacklisting
16 * UTIL:
17   - only connect() sockets that are ready (select()) [Nils]
18     [On W32, we need to select after calling socket before doing connect etc.]
19 * GNUNET-GTK:
20   - implement publish dialog
21     + execute (publish)
22   - directory support:
23     + download start: recursive/directory (!) & from-URI only
24     + handle download lost-parent (move to 'from-URI only' tab)
25     + display content of directory
26     + open directory
27
28 0.9.0pre2:
29 * CORE:
30   - transport-level disconnect (i.e. TCP) does not cause core-level
31     disconnect in a timely fashion (waits for connection timeout);
32     need to figure a way to make it near-instant in those cases 
33     (i.e. rapid reduction in timeout on transport-level disconnect)
34   - encrypted P2P transmission (loopback) tops at 2 MB/s on my quad-core;
35     why is it so slow? Fix! (see core_api_reliability test)
36   - implement API to get notifications about bandwidth assignments to individual peers
37   - implement API to get notifications about updates to liveness of individual peers (before disconnect)
38 * TBENCH: [MW]
39   - good to have for transport/DV evaluation! 
40 * DHT: [Nate]
41   - implement DHT service 
42   - implement testcases
43   - implement performance tests
44 * ARM: [Safey]
45   - better crash management (attach debugging support, capture and analyze
46     debug output, detect random vs. deterministic crashes)
47   - discover dependencies between services
48   - handle gnunet-arm -k in combination with auto-start magic (what is the right thing here?)
49   - add listen socket forwarding to child processes on supported platforms
50 * FS: [CG]
51   - load considerations (migration, routing)
52   - active reply route caching design & implementation of service; gap extension!
53   - datastore reservation (publishing)
54   - location URIs (publish, search, download)
55   - unindex on index failure
56   - utilize in-line files in meta data always (including in search results or
57     when download is triggered manually and for probes); currently the data is
58     only used when users do a general 'recursive' download
59   - non-anonymous FS service (needs DHT)
60     + DHT integration for search
61     + CS-DHT-functions (DHT-put of LOC)
62     + P2P-functions (DHT-get)
63   - listing of learned namespaces
64   - collection API & tests
65     + gnunet-pseudonym (collection support)
66   - implement FS performance tests
67     + insert
68     + download
69     + search
70     + unindex
71 * STATISTICS:
72   - implement notification-based statistics API
73 * GNUNET-GTK:
74   - implement publish dialog details:
75     + open (import directory structure)
76     + normalize keywords (edit subdialog)
77     + set/view previews (edit subdialog)
78     + mark 'insert file' button inconsistent for directories (edit subdialog)
79   - right-clicking on search result should open menu that allows:
80     + starting recursive download 
81     + aborting active download 
82     + copy URI to clipboard 
83     + save-as gnunet-directory
84   - events:
85     + search resume
86     + search error
87     + download error
88     + download resume
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   - expand bibliography
141   - convert documentation pages to books
142   - update books (especially for developers)
143   - create good Drupal theme for GNUnet
144   - make a NICE download page and figure out how to enable developers to publish TGZs nicely
145   - port "contact" page
146   - add content type for "todo" items?
147 * POSTGRES database backends: [CG]
148   - datacache
149   - datastore
150 * Determine RC bugs and fix those!
151
152 0.9.x:
153 * TRANSPORT: [MW]
154   - SMTP transport backend
155   - HTTPS transport backend
156     + improved HTTPS support in MHD
157     + actual plugin
158   - Implement method of learning our external addresses from
159     other peers; need some kind of threshold-based
160     scheme, limiting both the total number of addresses that we accept 
161     this way as well as requiring multiple confirmations; also, we
162     should possibly try to confirm that the given address works for
163     us ourselves (loopback-style) before adding it to the list
164     + we may be able to simplify WELCOME messages (no need to add 
165       addresses there anymore, but may help to learn them there anyway...).
166     + we probably want some kind of voting/counting for learning IP addresses
167       (maybe including IP addresses in ads proportional to how often others
168        report them? we at least need some protection against >64k HELLOs!),
169     + provide a way to give the user a list of "learned" IP addresses and
170       a way to easily "veto" addresses off the list!
171       => If MiM attacker uses vetoed address, blacklist the specific IP for
172          the presumed neighbour!
173   - implement gnunet-transport (transport configurator / tester)
174   - UPnP-based IP detection
175     (Note: build library always, build service when libxml2/etc. are available)
176 * FS: [CG]
177   - Remove KBlocks in gnunet-unindex (see discussion with Kenneth Almquist on gnunet-devs in 9/2009)
178 * PEERINFO: [CG]
179   - expire 'ancient' HELLOs (those without valid addresses AND that 
180     we have not 'used' (for their public keys) in a while; need a way
181     to track actual 'use')
182   - make sue we also trigger notifications whenever HELLOs expire
183 * VPN
184
185
186
187 Optimizations:
188 * TCP:
189   - should use hash map to look up sessions
190 * STATISTICS:
191   - should use BIO instead of mmap
192 * TRANSPORT:
193   - need to periodically probe latency/transport cost changes & possibly switch transport
194   - should use hash map to look up Neighbours (service AND plugins!)
195 * DATASTORE (?):
196   - check for duplicates on insertion (currently, same content is frequently
197     stored again [seen with KBLOCKS and SBLOCKS]!)
198 * PEERINFO:
199   - merge multiple HELLOs of the same peer in the transmission queue
200     (theoretically reduces overhead; bounds message queue size)
201   - merge multiple iteration requests over "all" peers in the queue
202     (theoretically reduces overhead; bounds messgae queue size)
203 * FS:
204   - use different queue prioritization for probe-downloads vs. normal downloads (!?)
205
206 Minor features:
207 * TCP:
208   - repeatedly resolve hostname and look up interfaces to determine our own IP
209   - [./transport/plugin_transport_tcp.c:391]: (style) struct or union member 'Plugin::address_update_task' is never used (related to issue above)
210 * TRANSPORT:
211   - [./transport/gnunet-service-transport.c:173]: (style) struct or union member 'TransportPlugin::rebuild' is never used (related to TCP not refreshing external addresses?)
212 * BLOCKS:
213   - testcase would be nice...