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