[PATCH v3 0/4] Configurable Blacklist for Network Interfaces

2012-06-21 Thread manfred . kober
From: Manfred Kober manfred.ko...@gmx.de The 3rd try now also sets the default blacklist in case the main.conf is not present at all. Manfred Kober (4): main.conf: Add NetworkInterfaceBlacklist main: Support NetworkInterfaceBlacklist from main.conf device: Consider blacklisted interfaces

[PATCH v3 1/4] main.conf: Add NetworkInterfaceBlacklist

2012-06-21 Thread manfred . kober
From: Manfred Kober manfred.ko...@gmx.de --- src/main.conf |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/main.conf b/src/main.conf index e8ab393..ab21fd8 100644 --- a/src/main.conf +++ b/src/main.conf @@ -51,3 +51,9 @@ BackgroundScanning = true # will get the

[PATCH v3 2/4] main: Support NetworkInterfaceBlacklist from main.conf

2012-06-21 Thread manfred . kober
From: Manfred Kober manfred.ko...@gmx.de This adds a settings variable and a function for fetching that list --- src/main.c | 23 +++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/src/main.c b/src/main.c index 10085bd..6d0963a 100644 --- a/src/main.c +++

[PATCH v3 3/4] device: Consider blacklisted interfaces from main.conf when filtering

2012-06-21 Thread manfred . kober
From: Manfred Kober manfred.ko...@gmx.de Interfaces blacklisted in main.conf are now also taken into account by connman_device_isfiltered. This is done in addition to what gets passed with -i or -I on the command line. --- src/device.c | 16 +++- 1 files changed, 15 insertions(+),

[RFC] VPN refactoring, dbus API proposal

2012-06-21 Thread Jukka Rissanen
Hi, here is first proposal for dbus API between ConnMan and vpnrunner. Any comments? vpnrunner = Service net.vpnrunner Interface net.vpnrunner.Manager Object path /net/vpnrunner/manager Methods object path, fd, index Start(dict provider)

[PATCH 0/2] Return proper value if technology is already enabled or disabled

2012-06-21 Thread Jukka Rissanen
Hi, return AlreadyEnabled or AlreadyDisabled in technology instead of always returning InProgress. Cheers, Jukka Jukka Rissanen (2): technology: Return proper error code when already enabled technology: Return proper error code when already disabled src/technology.c | 10 -- 1

[PATCH 1/2] technology: Return proper error code when already enabled

2012-06-21 Thread Jukka Rissanen
We do not call the generic error message function because it maps EALREADY to EINPROGRESS. So instead we call correct error return function which returns AlreadyEnabled to the caller. Fixes BMC#25306 --- src/technology.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

[PATCH] wifi: Check we have valid wifi pointer in autoscan

2012-06-21 Thread Jukka Rissanen
The wifi pointer in device might be NULL if wpa_supplicant dies between autoscans. --- plugins/wifi.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/wifi.c b/plugins/wifi.c index 3e48999..f1ee6da 100644 --- a/plugins/wifi.c +++ b/plugins/wifi.c @@ -502,6 +502,9 @@ static

[PATCH 0/5 v2] Enable GPRS with IPv6

2012-06-21 Thread elena . tebesoi
From: Elena Tebesoi elena.tebe...@gmail.com Make changes and add missing functionality for enabling IPv6 GPRS. Tested and validated with dual IPv4/IPv6 PDP contexts and also with IPv6-only PDP contexts. Elena Tebesoi (5): Allow NULL gateway for IPv6 Remove redundant function call Set

[PATCH 1/5 v2]ipconfig: Allow NULL gateway for IPv6

2012-06-21 Thread elena . tebesoi
From: Elena Tebesoi elena.tebe...@gmail.com This patch makes possible configuring a GPRS connection with IPV6 settings and without gateway. --- src/ipconfig.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/src/ipconfig.c b/src/ipconfig.c index b401c23..1a351ec 100644

[PATCH 2/5 v2]network: Remove redundant function call

2012-06-21 Thread elena . tebesoi
From: Elena Tebesoi elena.tebe...@gmail.com IPv4 ipconfig structure is already obtained outside 'if' statement. --- src/network.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/src/network.c b/src/network.c index 6fe1d9c..5bd1502 100644 --- a/src/network.c +++

[PATCH 4/5 v2]network: Enable IPv6 on network interface

2012-06-21 Thread elena . tebesoi
From: Elena Tebesoi elena.tebe...@gmail.com This patch enables IPv6 usage for network interfaces with static/manual configuration. --- src/network.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/network.c b/src/network.c index 8da6929..8c9715d 100644 ---

[PATCH 3/5 v2] Set network index for IPv6 configuration

2012-06-21 Thread elena . tebesoi
From: Elena Tebesoi elena.tebe...@gmail.com A GPRS service can also have IPV6 configuration. This patch sets the network index for IPV6. --- This patch is built ontop of current connman_network_set_index implementation. However, the entire method of setting network index needs some rethinking. As

[PATCH 5/5 v2]ofono: Set IPv6 nameservers on GPRS network connection

2012-06-21 Thread elena . tebesoi
From: Elena Tebesoi elena.tebe...@gmail.com Set IPv6 nameservers for GPRS network connection. When IPv4 is enabled for the same network, then IPv6 nameservers are appended to the IPv4 ones. --- plugins/ofono.c | 16 ++-- 1 files changed, 14 insertions(+), 2 deletions(-) diff --git