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