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