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