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