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