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