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