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