changes to transport_api
[oweals/gnunet.git] / TODO
1 0.9.0pre2:
2 * BIG CORE REFACTORING:
3   - fix transport service API (ATS!)
4   - fix transport plugin API (ATS!)
5   - actually transmit ATS data through core API
6   - fix FS 'latency' ATS function
7   - fix DV
8 * Integration test:
9   - test bootstrapping via hostlist + transport/core/dht connect
10
11 0.9.0pre3:
12 * Determine RC bugs and fix those (release should have no known real bugs)
13 * ARM: [CG/Safey]
14   - start_forwarding should not use 'listen_info->service_addr' for connecting since that one can be 0.0.0.0;
15     if it is, we need to use (IPv4 & IPv6) loopback [LRN]
16   - better tracking of which config changes actually need to cause process restarts by ARM.
17   - handle gnunet-arm -k in combination with auto-start magic (what is the right thing here?)
18   - discover dependencies between services
19 * CORE:
20   - provide 'reliable' P2P transmission API and queueing infrastructure
21   - Jun 27 11:51:54 core-7670 ERROR Assertion failed at gnunet-service-core.c:3616.
22     (transport notified us that we connected to ourselves!!!; can we still reproduce this?)
23 * DHT: [Nate]
24   - track paths content travels (PUT, reply-to-get) in messages,
25     pass to client (client API & protocol already support this!)
26 * DATASTORE: 
27   - GNUNET_DATASTORE_cancel method not tested
28 * TESTING: [Nate]
29   - test basic peer re-configure 
30 * TOPOLOGY: [Nate]
31   - needs more testing (especially F2F topology) & transport blacklisting
32 * TRANSPORT-TCP [MW]:
33   - should use hash map to look up sessions
34 * TRANSPORT: 
35   - [#1585, #1583, #1582] transport-level disconnect (i.e. TCP) does not cause core-level
36     disconnect in a timely fashion (waits for connection timeout);
37     need to figure a way to make it near-instant in those cases 
38     (i.e. rapid reduction in timeout on transport-level disconnect) [CG]
39     => may have been fixed with instant-notification of disconnect
40        to core on session-oriented connection hick-up; not perfect but
41        likely good enough until we get ATS going; still should be tested...
42     => "peers connected (transport)" now instantly goes to ZERO (core statistic),
43        but "established sessions" stays up...
44 * NAT/UPNP: [Milan]
45   - finalize API design
46   - [#1609] code clean up
47   - testing
48   - integration with transport service
49   - also do UPnP-based (external) IP detection
50     (Note: build library always, build UPnP service when dependencies like libxml2 are available)
51 * FS: [CG]
52   - library:
53     + reconstruct IBLOCKS from DBLOCKS if possible (during download; see FIXME in fs_download)
54     + add support for pushing "already seen" search results to FS service for bloomfilter
55     + use different 'priority' for probe downloads vs. normal downloads
56   - implement multi-peer FS performance tests
57     + insert
58     + download
59     + search
60     + unindex
61   - implement anonymity level > 1
62   - re-implement gnunet-auto-share
63 * GNUNET-GTK:
64   - finish publish dialog details:
65     + normalize keywords (edit subdialog)
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   - implement unindex operation (use dialog with all indexed files for selection)
69   - events:
70     + search error
71     + publish error
72     + unindex error
73 * MONKEY: [Safey]
74   - better crash management (attach debugging support, capture and analyze
75     debug output, detect random vs. deterministic crashes)
76   - '-m EMAIL' option for alternative e-mail TO
77   - '-f FILENAME' option to write  report to file instead of e-mail (for testing!)
78
79 0.9.0:
80 * Determine RC bugs and fix those  (release should have no known real bugs)
81 * UTIL:
82   - only connect() sockets that are ready (select()) [Nils]
83     [On W32, we need to select after calling socket before doing connect etc.]
84 * new webpage: [BL]
85   - convert documentation pages to books
86   - update books (especially for developers)
87   - make a NICE download page and figure out how to enable developers to publish TGZs nicely
88   - port "contact" page
89   - add content type for "todo" items
90 * TBENCH: [MW]
91   - good to have for transport/DV evaluation! 
92 * TRACEKIT: [MW]
93   - good to have for DHT evaluation!
94 * DHT: [Nate]
95   - performance tests
96 * BLOCK:
97   - more testing (KBlock, SBlock, NBlock)
98 * FS migration:
99   - exclude content that will "soon" expire from migration?
100   - exclude content with zero-anonymity from gap migration?
101   - make migration data rate & datastore IO-rate configurable
102   - exclude certain peers as targets (based on hash values) in each
103     iteration => same peer can only be picked every n-th iteration 
104     for the same content => fewer duplicate sending!
105
106
107 0.9.1:
108 * TRANSPORT: [MW]
109   - WiFi transport backend [DB]
110   - implement gnunet-transport (transport configurator / tester)
111   - Implement method of learning our external addresses from
112     other peers; need some kind of threshold-based
113     scheme, limiting both the total number of addresses that we accept 
114     this way as well as requiring multiple confirmations; also, we
115     should possibly try to confirm that the given address works for
116     us ourselves (loopback-style) before adding it to the list
117     + we may be able to simplify WELCOME messages (no need to add 
118       addresses there anymore, but may help to learn them there anyway...).
119     + we probably want some kind of voting/counting for learning IP addresses
120       (maybe including IP addresses in ads proportional to how often others
121        report them? we at least need some protection against >64k HELLOs!),
122     + provide a way to give the user a list of "learned" IP addresses and
123       a way to easily "veto" addresses off the list!
124       => If MiM attacker uses vetoed address, blacklist the specific IP for
125          the presumed neighbour!
126   - need to periodically probe latency/transport cost changes & possibly switch transport
127   - should use hash map to look up Neighbours (service AND plugins!)
128 * DV: [Nate]
129   - proper bandwidth allocation
130   - performance tests
131 * PEERINFO:     
132   - merge multiple HELLOs of the same peer in the transmission queue
133     (theoretically reduces overhead; bounds message queue size)
134   - merge multiple iteration requests over "all" peers in the queue
135     (theoretically reduces overhead; bounds messgae queue size)
136 * STATISTICS: [CG]
137   - should use BIO instead of mmap
138 * FS: [CG]
139   - Remove KBlocks in gnunet-unindex (see discussion with Kenneth Almquist on gnunet-devs in 9/2009)
140   - use different queue prioritization for probe-downloads vs. normal downloads
141 * UTIL: [CG]
142   - allow limiting UNIX socket access by UID/GID
143 * GNUNET-GTK: [CG]
144   - add tool bar
145   - do meaningful update to status line (starting up, peer running, #connections, shutdown, ...)
146   - add progress dialog for 'add_dir_at_iter' scan (can take a while...)
147   - NS list in search dialog should use colors to offset our own namespaces from the others
148   - right-clicking on NS list in search dialog should open menu that allows 
149     * viewing full meta data 
150     * deletion of namespace info
151
152 0.9.2:
153 * PEERINFO: [NN]
154   - expire 'ancient' HELLOs (those without valid addresses AND that 
155     we have not 'used' (for their public keys) in a while; need a way
156     to track actual 'use')
157   - make sue we also trigger notifications whenever HELLOs expire
158 * TCP:
159   - repeatedly resolve hostname and look up interfaces to determine our own IP
160   - [./transport/plugin_transport_tcp.c:391]: (style) struct or union member 'Plugin::address_update_task' is never used (related to issue above)
161 * TRANSPORT:
162   - [./transport/gnunet-service-transport.c:173]: (style) struct or union member 'TransportPlugin::rebuild' is never used (related to TCP not refreshing external addresses?)
163   - WiFi transport backend
164     * nice signal strength adjustment [MW]
165     * energy cost in ATS [MW]
166 * BLOCKS:
167   - testcase would be nice
168   - generic block support for DHT
169 * STATISTICS:
170   - test notification-based statistics API [LT]
171   - implement statistics GUI (=> start from gnunet-gtk by button!)
172 * PEERINFO: [NN]
173   - move peerinfo to new GUI (=> start from gnunet-gtk by button!)
174   - extend peer dialog with green-yellow-red connectivity status lights
175   - extend peer dialog with country flags and names
176
177 0.9.3:
178 * SMTP transport backend:
179   - sending (SMTP/SMTPS)
180   - receiving (IMAP/IMAPS/POP?)
181   - rate limiting
182   - improved batching
183   - resource limit integration with ATS
184 * VPN [PT]
185   - DNS hijacking
186   - DNS exit
187   - TCP entry/exit
188   - UDP entry/exit
189   - internal services
190   - integration with DHT routing
191   - optimized routes (beyond DHT/DV)
192   - "DNS" .gnunet