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