e36fa0152675075dfbbba75dae022cde298a5e81
[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 * CORE:
6   - transport-level disconnect (i.e. TCP) does not cause core-level
7     disconnect in a timely fashion (waits for connection timeout);
8     need to figure a way to make it near-instant in those cases 
9     (i.e. rapid reduction in timeout on transport-level disconnect) [CG]
10     => may have been fixed with instant-notification of disconnect
11        to core on session-oriented connection hick-up; not perfect but
12        likely good enough until we get ATS going; still should be tested...
13     => "peers connected (transport)" now instantly goes to ZERO (core statistic),
14        but "established sessions" stays up...
15   - derived key generation [Nils]
16 * PWNAT: [Nate/MW/Nils]
17   - W32 port
18 * FS: [CG]
19   - implement 'GNUNET_FS_namespace_list_updateable', reconsider API!
20 * GNUNET-GTK: [CG]
21   - namespaces:
22     + namespace publishing
23       / fill tree store with full implementation of 'list_updateable'
24     + namespace search
25       / fill namespace list in dialog, use if selected
26       / NS list in search dialog should use colors to offset our own namespaces from the others
27       / double-clicking on NS list in search dialog should move 'root' to keyword line
28       / right-clicking on NS list in search dialog should open menu that allows 
29         \ viewing full meta data 
30         \ deletion of namespace info
31   - bugs:
32     + handle 'lost parent' case for recursive downloads (need to move children!)
33     + clean up TreeStores in main_window_file_publish on dialog close
34     + clean up ListStores in main_window_adv_pseudonym 
35
36 0.9.0pre3:
37 * Determine RC bugs and fix those!
38 * DATASTORE: [NN]
39   - GNUNET_DATASTORE_cancel method not tested [LT]
40 * TESTING: [Nate]
41   - test basic peer re-configure 
42   - consider changing API for peer-group termination to 
43     call continuation when done
44 * TOPOLOGY:
45   - needs more testing (especially F2F topology) & transport blacklisting
46 * NAT/UPNP: [MW]
47   - finalize API design
48   - code clean up
49   - testing
50   - integration with transport service
51 * MYSQL database backends: [CG]
52   - datacache
53   - datastore
54 * FS: [CG]
55   - library:
56     + reconstruct IBLOCKS from DBLOCKS if possible (during download; see FIXME in fs_download)
57     + add support for pushing "already seen" search results to FS service for bloomfilter (can wait)
58     + use different 'priority' for probe downloads vs. normal downloads
59   - service:
60     + trust: do not charge when "idle" / load considerations (migration, routing)
61     + artificial delays
62     + active reply route caching design & implementation; gap extension!
63   - non-anonymous FS service (needs DHT)
64     + DHT integration for search
65     + CS-DHT-functions (DHT-put of LOC)
66     + P2P-functions (DHT-get)
67   - implement FS performance tests
68     + insert
69     + download
70     + search
71     + unindex
72 * ARM: [CG/Safey]
73   - better tracking of which config changes actually need to cause process restarts by ARM.
74   - handle gnunet-arm -k in combination with auto-start magic (what is the right thing here?)
75   - discover dependencies between services
76 * GNUNET-GTK:
77   - optimize meta-data for directories in 'add_dir_at_iter'
78   - add progress dialog for 'add_dir_at_iter' scan (can take a while...)
79   - finish publish dialog details:
80     + normalize keywords (edit subdialog)
81     + set/view previews (edit subdialog)
82   - add tool bar
83   - implement download by URI dialog; figure out where to display those downloads!
84   - figure out where in the GUI we should show active uploads/unindex operations and allow aborts
85   - implement unindex operation (use dialog with all indexed files for selection)
86   - do meaningful update to status line (starting up, peer running, #connections, shutdown, ...)
87   - events:
88     + search error
89     + publish error
90     + unindex error
91 * MONKEY: [Safey]
92   - better crash management (attach debugging support, capture and analyze
93     debug output, detect random vs. deterministic crashes)
94   - '-m EMAIL' option for alternative e-mail TO
95   - '-f FILENAME' option to write  report to file instead of e-mail (for testing!)
96
97 0.9.0:
98 * new webpage:
99   - convert documentation pages to books
100   - update books (especially for developers)
101   - make a NICE download page and figure out how to enable developers to publish TGZs nicely
102   - port "contact" page
103   - add content type for "todo" items?
104 * POSTGRES database backends: [CG]
105   - datacache
106   - datastore
107 * Determine RC bugs and fix those!
108 * SETUP:
109   - design & implement new setup tool
110 * TBENCH: [MW]
111   - good to have for transport/DV evaluation! 
112 * TRACEKIT: [MW]
113   - good to have for DV/DHT evaluation!
114 * DV:
115   - performance tests
116 * DHT: [Nate]
117   - performance tests
118 * STATISTICS:
119   - test notification-based statistics API [LT]
120   - implement statistics GUI
121 * PEERINFO: [NN]
122   - move peerinfo to new GUI?
123   - extend peer dialog with green-yellow-red connectivity status lights
124   - extend peer dialog with country flags and names
125
126 0.9.x:
127 * TRANSPORT: [MW]
128   - WiFi transport backend [DB]
129   - SMTP transport backend
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 * DV:
149   - proper bandwidth allocation
150 * FS: [CG]
151   - Remove KBlocks in gnunet-unindex (see discussion with Kenneth Almquist on gnunet-devs in 9/2009)
152 * PEERINFO: [NN]
153   - expire 'ancient' HELLOs (those without valid addresses AND that 
154     we have not 'used' (for their public keys) in a while; need a way
155     to track actual 'use')
156   - make sue we also trigger notifications whenever HELLOs expire
157 * VPN [PT]
158 * UTIL: [CG]
159   - allow limiting UNIX socket access by UID/GID
160
161
162
163 Optimizations:
164 * TCP:
165   - should use hash map to look up sessions
166 * STATISTICS:
167   - should use BIO instead of mmap
168 * TRANSPORT:
169   - need to periodically probe latency/transport cost changes & possibly switch transport
170   - should use hash map to look up Neighbours (service AND plugins!)
171 * PEERINFO:
172   - merge multiple HELLOs of the same peer in the transmission queue
173     (theoretically reduces overhead; bounds message queue size)
174   - merge multiple iteration requests over "all" peers in the queue
175     (theoretically reduces overhead; bounds messgae queue size)
176 * FS:
177   - use different queue prioritization for probe-downloads vs. normal downloads (!?)
178
179 Minor features:
180 * TCP:
181   - repeatedly resolve hostname and look up interfaces to determine our own IP
182   - [./transport/plugin_transport_tcp.c:391]: (style) struct or union member 'Plugin::address_update_task' is never used (related to issue above)
183 * TRANSPORT:
184   - [./transport/gnunet-service-transport.c:173]: (style) struct or union member 'TransportPlugin::rebuild' is never used (related to TCP not refreshing external addresses?)
185 * BLOCKS:
186   - testcase would be nice...