dhcpv6: Fix memory leak
[platform/upstream/connman.git] / TODO
diff --git a/TODO b/TODO
index 13c66d5..9b916d5 100644 (file)
--- a/TODO
+++ b/TODO
@@ -8,162 +8,211 @@ Background
    lowest complexity. Complexity is a function of both task 'complexity'
    and task 'scope'.
 
+
 Core
 ====
 
-- connman_element removal
+- Session API implementation
 
-   Priority: Low
-   Complexity: C8
+   Priority: High
+   Complexity: C4
+   Owner: Daniel Wagner <daniel.wagner@bmw-carit.de>
+   Owner: Patrik Flykt <patrik.flykt@linux.intel.com>
 
+   The session API should provide a connection abstraction in order to
+   prioritize applications network accesses, prevent or allow network
+   and bearer roaming, or provide applications with a way to request
+   for periodic network connections. On-demand connections will be
+   implemented through this API as well.
+   See http://www.mail-archive.com/connman@connman.net/msg01653.html
 
-- DHCP lib
 
-   Priority: High
+- Personal firewall
+
+   Priority: Low
    Complexity: C8
-   Owner: Martin Xu <martin.xu@intel.com>
+   Owner: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
 
+   Discuss and implement a basic and safe firewalling strategy into
+   Connman. Provide a D-Bus API for personal firewalling.
 
-- IPv6
 
-   Priority: High
+- PACRunner extensions
+
+   Priority: Low
    Complexity: C4
-   Dependencies: Core:DHCP Lib
-   Owner: Martin Xu <martin.xu@intel.com>
+
+   Support more URI schemes, support multiple connections, tighter
+   security integration.
 
 
-- On demand connection
+- Check logging produced by connman_info()
 
    Priority: Medium
-   Complexity: C4
-   Owner: Samuel Ortiz <sameo@linux.intel.com>
+   Complexity: C1
 
-   With on demand connection applications get connectivity access
-   simply by trying to reach the network. They don't need to
-   specifically request for a service connection, but ConnMan
-   establishes it on their behalf.
-   This feature counter part is idle disconnect. ConnMan needs to be
-   able to close the on demand established connections by monitoring
-   the link activity. This requires kernel support with e.g. the
-   netfilter IDLETIMER target.
+   Check that logging produced by connman_info() contains meaningful messages
+   and get rid of the unnecessary ones.
 
-- Avahi-zeroconf
 
-   Priority: Medium
-   Complexity: C4
+- Support for multiple agents
 
+  Priority: Medium
+  Complexity: C2
 
-- VPN service
+  Allow to register multiple agents. Each unique system bus name owner
+  however is only allowed to register one agent.
 
-   Priority: Medium
-   Complexity: C2
+  The selection of which agents is used  should be matched by bus name
+  owner if possible or first come first serve. A graceful fallback to
+  the next agent should be also used in case of malfunctional agents.
 
-   Create a service for every VPN and link it to the topmost one for
-   now.
-   The default route should be set accordingly when UIs move the
-   topmost service up and down.
+- Remove --nobacktrace option
 
+ Priority: Medium
+ Complexity: C1
+ When: 2.0
 
-- OpenVPN
+ Remove the --nobacktrace option or change it to --backtrace depending on the
+ level of systemd integration or other factors.
 
-   Priority: Low
-   Complexity: C2
 
+- Clean up type definitions
 
-- VPNc
+   Priority: Medium
+   Complexity: C1
 
-   Priority: Low
-   Complexity: C2
+   Go through variable types and use the following:
+   * bool from <stdbool.h> instead of connman_bool_t and gboolean, in the
+     latter case in those places it makes sense
 
 
-- Tethering
+- Clean up data structure usage
 
    Priority: Medium
-   Complexity: C8
-   Owner: Marcel Holtmann <marcel@holtmann.org>
+   Complexity: C4
+
+   Use hash tables, queues and lists in the code. Replace GSequences with
+   simpler structures. At the same time do a check on the currently used
+   data structures and see if something can be simplified.
 
 
-- WPAD - Web Proxy Autodiscovery Protocol
+- Unit tests for DHCP, DNS and HTTP
 
    Priority: Medium
-   Complexity: C2
-   Owner: Marcel Holtmann <marcel@holtmann.org>
+   Complexity: C4
+
+   Create unit tests for these components starting with DHCP. Use gtest
+   from GLib for this task similarly to what has been done for OBEX in Bluez
+   and oFono in general.
+
 
+WiFi
+====
 
-- Agent callbacks
+- Clean up WiFi data structure usage
 
    Priority: Medium
    Complexity: C2
 
+   Struct wifi_data is passed as a pointer in some of the wifi plugin
+   callbacks. For example removing a WiFi USB stick causes RTNL and
+   wpa_supplicant to call the wifi plugin at the same time causing the
+   freeing of the wifi data structure. Fix up the code to have proper
+   reference counting or other handling in place for the shared wifi data
+   and the members in the data structure.
 
-- HTTP proxy
+
+- EAP-AKA/SIM
 
    Priority: Medium
-   Complexity: C1
+   Complexity: C2
+   Owner: Samuel Ortiz <sameo@linux.intel.com>
 
+   This EAP is needed for SIM card based network authentication.
+   ConnMan here plays a minor role: Once wpa_supplicant is set up for
+   starting and EAP-AKA/SIM authentication, it will talk to a SIM card
+   through its pcsc-lite API.
 
-- PAC export
+
+- EAP-FAST
 
    Priority: Low
    Complexity: C1
-   Owner: Marcel Holtmann <marcel@holtmann.org>
-
-   When receiving an automatic configuration URL, we should set the
-   service proxy dictionary accordingly (method and URL).
 
 
-- Moving DNS proxy code to ConnMan core
+- WiFi p2p
 
    Priority: Medium
    Complexity: C2
 
-   Supporting DNS proxy or resolv.conf direct editing seems more than
-   plenty as far as resolving is concerned. So the idea is to move the
-   dnsproxy plugin code to ConnMan core and have an additional command
-   line option in case one would like to stick with the current
-   resolver.c code for editing resolv.conf.
 
+- Removing wpa_supplicant 0.7.x legacy support
 
-WiFi
-====
+  Priority: Low
+  Complexity: C1
+  Owner: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
 
-- WPS
+  Removing global country property setter in gsupplicant, and removing
+  wifi's technology set_regdom implementation. Removing autoscan fallback.
+  (Note: should be done around the end 2012)
 
-   Priority: Low
-   Complexity: C2
-   Dependencies: Core:Agent callbacks
+Bluetooth
+=========
 
+- Remove Bluez 4.x support
 
-- Ad-Hoc support
+  Priority: Low
+  Complexity: C1
 
-   Priority: Medium
-   Complexity: C2
-   Dependencies: Core:Avahi-zeroconf
+  Remove plugins/bluetooth-legacy.c support in about 6 month (July 2013) or
+  when Bluez 4.x usage becomes minimal.
 
+Cellular
+========
 
-- libsupplicant
+
+VPN
+===
+
+- IPsec
 
    Priority: Medium
    Complexity: C4
-   Owner: Samuel Ortiz <sameo@linux.intel.com>
+   Owner: Jukka Rissanen <jukka.rissanen@linux.intel.com>
 
-- Fast Connect
+- L2TP & PPTP compatibility prefix removal
 
-   Priority: Low
-   Complexity: C4
-   Dependencies: WiFi:libsupplicant
-   Owner: Samuel Ortiz <sameo@linux.intel.com>
+   Priority: Medium
+   Complexity: C1
+   When: connman 2.0
 
-- TTLS EAP support
+   The VPN config file provisioning patchset contains code that makes
+   PPP options to be marked by "PPPD." prefix. The code supports also
+   old "L2TP." and "PPTP." prefix for PPP options. Remove the compatibility
+   code and only allow "PPPD." prefix for PPP options.
 
-   Priority: Low
+Tools
+=====
+
+- Add Agent mode to connmanctl command line tool
+
+   Priority: Medium
    Complexity: C2
 
+   connmanctl should implement agent prompting when started with a suitable
+   command line option. Agent mode should also be enabled when in interactive
+   mode.
 
-Bluetooth
-=========
 
-- DUN client
+User Interface
+==============
+
+- GNOME3 UI
 
    Priority: Low
    Complexity: C4
+   Owner: Alok Barsode <alok.barsode@linux.intel.com>
+
+   A GNOME3 shell user interface would make it easier for mainstream distros
+   users to use ConnMan.