datastore and fs fixes from Easter
[oweals/gnunet.git] / TODO
1 0.9.0pre3: [2'11]
2 * NAT/UPNP: [Milan / MW]
3   - [#1609] code clean up
4   - testing
5   - integration with transport service:
6     + test TCP
7     + implement UDP, HTTP/HTTPS 
8 * Transport:
9   - ATS crashes [MW]
10   - UDP fragmentation [MW]
11 * CORE:
12   - Core API's peer_change_preference leaks 'irc' and
13     Core API's notify_transmit_ready leaks 'th'!
14 * FS [CG]
15   - test*.py fail
16   - download of 100 MB file from 'leach' peer hung due to 
17     failure of core-api to call back after a change preference request
18     (structs indicate request was transmitted but reply never received?)
19     => try again!
20   - test_gnunet_service_fs_p2p:
21     => sometimes DATASTORE get operation fails to queue on target (why?)
22     => do we need to just make the queue larger?
23   - with core queue size of 1, we get notify_transmit_ready
24     from core API returning NULL (why? ok? just have larger queue?)
25   - other runs (-L DEBUG) with downloads using the new 'trust' test show
26     non-deterministic results (for any set of peers)
27   - implement 'SUPPORT_DELAYS'
28   - consider re-issue GSF_dht_lookup_ after non-DHT reply received 
29   - implement multi-peer FS performance tests + gauger them!
30     + insert
31     + download
32     + search
33 * GNUNET-GTK: [CG]
34   - figure out where in the GUI we should show active upload operations and allow aborts
35   - handle events:
36     + search error
37     + publish error
38 * Determine RC bugs and fix those (release should have no known real bugs)
39
40 0.9.0:
41 * new webpage:
42   - write chapter on DHT/block [Nate] 
43   - make a NICE download page 
44 * big code review
45 * Determine RC bugs and fix those  (release should have no known real bugs)
46
47 0.9.1:
48 * TRANSPORT: [MW]
49   - 'TransmitFunction' requires plugins to have "unbounded" queue (or at least 
50     queue of size > 2), might be better to have at MOST one message pending
51     per plugin/target and only send the next one after the continuation was
52     called (or use 'notify_transmit_ready-style API?)
53   - WiFi transport backend [DB]
54   - Implement method of learning our external addresses from
55     other peers; need some kind of threshold-based
56     scheme, limiting both the total number of addresses that we accept 
57     this way as well as requiring multiple confirmations; also, we
58     should possibly try to confirm that the given address works for
59     us ourselves (loopback-style) before adding it to the list
60     + we may be able to simplify WELCOME messages (no need to add 
61       addresses there anymore, but may help to learn them there anyway...).
62     + we probably want some kind of voting/counting for learning IP addresses
63       (maybe including IP addresses in ads proportional to how often others
64        report them? we at least need some protection against >64k HELLOs!),
65     + provide a way to give the user a list of "learned" IP addresses and
66       a way to easily "veto" addresses off the list!
67       => If MiM attacker uses vetoed address, blacklist the specific IP for
68          the presumed neighbour!
69   - need to periodically probe latency/transport cost changes & possibly switch transport
70 * DATASTORE: [CG]
71   - check indexes / SQL for performance
72 * DV: [Nate?]
73   - proper bandwidth allocation
74   - performance tests
75 * PEERINFO:     
76   - merge multiple HELLOs of the same peer in the transmission queue
77     (theoretically reduces overhead; bounds message queue size)
78   - merge multiple iteration requests over "all" peers in the queue
79     (theoretically reduces overhead; bounds messgae queue size)
80 * STATISTICS:
81   - should use BIO instead of mmap
82 * FS: [CG]
83   - Remove KBlocks in gnunet-unindex (see discussion with Kenneth Almquist on gnunet-devs in 9/2009)
84   - use different queue prioritization for probe-downloads vs. normal downloads
85   - re-implement gnunet-auto-share
86   - implement 'GNUNET_FS_file_information_create_from_directory', avoiding
87     code duplication with gnunet-gtk's similar code (!)
88 * GNUNET-GTK: [CG]
89   - add tool bar
90   - do meaningful update to status line (starting up, peer running, #connections, shutdown, ...)
91   - add progress dialog for 'add_dir_at_iter' scan (can take a while...)
92   - NS list in search dialog should use colors to offset our own namespaces from the others
93   - right-clicking on NS list in search dialog should open menu that allows 
94     * viewing full meta data 
95     * deletion of namespace info
96   - implement unindex operation (use dialog with all indexed files for selection)
97   - finish publish dialog details:
98     + normalize keywords (edit subdialog)
99   - implement download by URI dialog; figure out where to display those downloads!
100   - add combo box to select desired mime type for search
101 * ARM: [CG/Safey]
102   - better tracking of which config changes actually need to cause process restarts by ARM.
103   - handle gnunet-arm -k in combination with auto-start magic (what is the right thing here?)
104   - discover dependencies between services
105 * MONKEY: [Safey]
106   - better crash management (attach debugging support, capture and analyze
107     debug output, detect random vs. deterministic crashes)
108   - '-m EMAIL' option for alternative e-mail TO
109   - '-f FILENAME' option to write  report to file instead of e-mail (for testing!)
110
111 0.9.2:
112 * PEERINFO: [NN]
113   - expire 'ancient' HELLOs (those without valid addresses AND that 
114     we have not 'used' (for their public keys) in a while; need a way
115     to track actual 'use')
116   - make sue we also trigger notifications whenever HELLOs expire
117 * TCP:
118   - repeatedly resolve hostname and look up interfaces to determine our own IP
119   - [./transport/plugin_transport_tcp.c:391]: (style) struct or union member 'Plugin::address_update_task' is never used (related to issue above)
120 * TRANSPORT:
121   - [./transport/gnunet-service-transport.c:173]: (style) struct or union member 'TransportPlugin::rebuild' is never used (related to TCP not refreshing external addresses?)
122   - WiFi transport backend
123     * nice signal strength adjustment [MW]
124     * energy cost in ATS [MW]
125 * BLOCKS:
126   - testcase would be nice
127   - generic block support for DHT
128 * STATISTICS:
129   - test notification-based statistics API
130   - implement statistics GUI (=> start from gnunet-gtk by button!)
131 * PEERINFO: [NN]
132   - move peerinfo to new GUI (=> start from gnunet-gtk by button!)
133   - extend peer dialog with green-yellow-red connectivity status lights
134   - extend peer dialog with country flags and names
135
136 0.9.3:
137 * SMTP transport backend:
138   - sending (SMTP/SMTPS)
139   - receiving (IMAP/IMAPS/POP?)
140   - rate limiting
141   - improved batching
142   - resource limit integration with ATS
143 * VPN [PT]
144   - TCP entry/exit
145   - internal services
146   - integration with DHT routing
147   - optimized routes (beyond DHT/DV)
148   - "DNS" .gnunet