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