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