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