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