framework/connectivity/connman.git
12 years agopptp: Add pptp vpn support
Mohamed Abbas [Tue, 15 Nov 2011 11:06:16 +0000 (13:06 +0200)]
pptp: Add pptp vpn support

Initial revision.

12 years agotask: Allow vpn plugins to send reply
Mohamed Abbas [Tue, 15 Nov 2011 11:06:15 +0000 (13:06 +0200)]
task: Allow vpn plugins to send reply

Change task notify to allow client to send dbus reply. This
will allow vpn plugin to send requested user/password info.

12 years agovpn: Add null checks
Jukka Rissanen [Tue, 15 Nov 2011 11:06:14 +0000 (13:06 +0200)]
vpn: Add null checks

12 years agovpn: Add support to allow ppp tunnelling
Mohamed Abbas [Tue, 15 Nov 2011 11:06:13 +0000 (13:06 +0200)]
vpn: Add support to allow ppp tunnelling

pptp and l2tp does not use tun/tab approach so change the vpn.c to
allow vpn daemon to create the interface. Now vpn plugin tell
vpn to create the device or leave to vpn client.
On connection vpn will get the interface name set the index
for the provider.

This patch is prepared by Jukka Rissanen and it contains
Mohamed Abbas original patch + fixes suggested by Daniel Wagner.
Jukka fixed memory leak in vpn_set_ifname().

12 years agotethering: Use already existing 'tether' bridge interface
Patrik Flykt [Tue, 15 Nov 2011 11:19:51 +0000 (13:19 +0200)]
tethering: Use already existing 'tether' bridge interface

When creating bridge interface 'tether', don't report error if
it already exists. Check also -EALREADY given by connman_inet_ifup()
via enable_bridge() if the bridge interface was already up.

Fixes BMC#23931

12 years agoiptables: Initiate defined table before working on it
Tomasz Bursztyka [Thu, 10 Nov 2011 09:02:23 +0000 (11:02 +0200)]
iptables: Initiate defined table before working on it

12 years agotools: Initiate defined table before working on it in iptables-test
Tomasz Bursztyka [Thu, 10 Nov 2011 09:02:22 +0000 (11:02 +0200)]
tools: Initiate defined table before working on it in iptables-test

12 years agobuild: Create src/builtin.h via BUILT_SOURCES
Marcel Holtmann [Sat, 12 Nov 2011 23:23:12 +0000 (08:23 +0900)]
build: Create src/builtin.h via BUILT_SOURCES

12 years agonetwork: Fix failed to reconnect to 3G network when connect failed
Yu A Wang [Tue, 8 Nov 2011 02:32:25 +0000 (21:32 -0500)]
network: Fix failed to reconnect to 3G network when connect failed

When connect failed, set the associating value to false again, else
when we connect again the return err will be EALREADY.

12 years agobluetooth: Cleanup if technology driver register fails
Daniel Wagner [Tue, 8 Nov 2011 15:24:03 +0000 (16:24 +0100)]
bluetooth: Cleanup if technology driver register fails

12 years agorfkill.h: Remove unused header file
Daniel Wagner [Tue, 8 Nov 2011 15:16:02 +0000 (16:16 +0100)]
rfkill.h: Remove unused header file

12 years agogdhcp: Use gcc atomics instead glib's ones
Daniel Wagner [Mon, 31 Oct 2011 12:19:12 +0000 (13:19 +0100)]
gdhcp: Use gcc atomics instead glib's ones

g_atomic_int_exchange_and_add() has been removed from glib 2.30
and g_atomic_int_add() should be used. Though there are still
quite a few distros out which do not ship a glib version with
g_atomic_int_add().

Instead of maintaing a compatiblilty glib layer we just use
the built-in functions for atomic memory access.

12 years agogweb: Use gcc atomics instead glib's ones
Daniel Wagner [Mon, 31 Oct 2011 12:19:11 +0000 (13:19 +0100)]
gweb: Use gcc atomics instead glib's ones

g_atomic_int_exchange_and_add() has been removed from glib 2.30
and g_atomic_int_add() should be used. Though there are still
quite a few distros out which do not ship a glib version with
g_atomic_int_add().

Instead of maintaing a compatiblilty glib layer we just use
the built-in functions for atomic memory access.

12 years agoplugins: Use gcc atomics instead glib's ones
Daniel Wagner [Mon, 31 Oct 2011 12:19:10 +0000 (13:19 +0100)]
plugins: Use gcc atomics instead glib's ones

g_atomic_int_exchange_and_add() has been removed from glib 2.30
and g_atomic_int_add() should be used. Though there are still
quite a few distros out which do not ship a glib version with
g_atomic_int_add().

Instead of maintaing a compatiblilty glib layer we just use
the built-in functions for atomic memory access.

12 years agocore: Use gcc atomics instead glib's ones
Daniel Wagner [Mon, 31 Oct 2011 12:19:09 +0000 (13:19 +0100)]
core: Use gcc atomics instead glib's ones

g_atomic_int_exchange_and_add() has been removed from glib 2.30
and g_atomic_int_add() should be used. Though there are still
quite a few distros out which do not ship a glib version with
g_atomic_int_add().

Instead of maintaing a compatiblilty glib layer we just use
the built-in functions for atomic memory access.

13 years agodoc: Remove outdate SetupRequired property
Samuel Ortiz [Mon, 7 Nov 2011 19:55:43 +0000 (20:55 +0100)]
doc: Remove outdate SetupRequired property

The APN provisioning is fully handled by oFono.

13 years agotest: Connecting a saved provider does not need all arguments
Patrik Flykt [Mon, 31 Oct 2011 13:31:44 +0000 (15:31 +0200)]
test: Connecting a saved provider does not need all arguments

13 years agovpnc: Save support for vpnc
Patrik Flykt [Mon, 31 Oct 2011 13:31:43 +0000 (15:31 +0200)]
vpnc: Save support for vpnc

Vpnc saves all settings with prefix 'VPNC.'

13 years agoopenvpn: Save support for openvpn
Patrik Flykt [Mon, 31 Oct 2011 13:31:42 +0000 (15:31 +0200)]
openvpn: Save support for openvpn

Openvpn saves all settings with prefix 'OpenVPN.'

13 years agoopenconnect: Save support for openconnect VPN
Patrik Flykt [Mon, 31 Oct 2011 13:31:41 +0000 (15:31 +0200)]
openconnect: Save support for openconnect VPN

Openconnect saves VPN MTU, Server and CA cert file paths.

13 years agovpn: Extend vpn driver struct with save support
Patrik Flykt [Mon, 31 Oct 2011 13:31:40 +0000 (15:31 +0200)]
vpn: Extend vpn driver struct with save support

Add provider save function and register it in the
vpn driver initialization.

13 years agoprovider: Helper function for fetching the keyfile group
Patrik Flykt [Mon, 31 Oct 2011 13:31:39 +0000 (15:31 +0200)]
provider: Helper function for fetching the keyfile group

13 years agoprovider: Define a save function for provider drivers
Patrik Flykt [Mon, 31 Oct 2011 13:31:38 +0000 (15:31 +0200)]
provider: Define a save function for provider drivers

Define a save function for connman provider driver
specific settings. No corresponding load function
is defined since all saved settings are already loaded
by connman_provider_load().

13 years agoprovider: Load and save provider data
Patrik Flykt [Mon, 31 Oct 2011 13:31:37 +0000 (15:31 +0200)]
provider: Load and save provider data

On connect, save 'Type', 'Name', 'Host' and 'VPN.Domain' provider
settings. On probe, load saved keys and their values from storage
and add the key/value pairs to the provider struct.

13 years agostorage: Load and save functions for providers
Patrik Flykt [Mon, 31 Oct 2011 13:31:36 +0000 (15:31 +0200)]
storage: Load and save functions for providers

13 years agostorage: Trivial change to free pathname in common part of the code
Patrik Flykt [Mon, 31 Oct 2011 13:31:35 +0000 (15:31 +0200)]
storage: Trivial change to free pathname in common part of the code

13 years agowifi: Only consider identifiers starting with 'wifi_'
Patrik Flykt [Mon, 31 Oct 2011 13:31:34 +0000 (15:31 +0200)]
wifi: Only consider identifiers starting with 'wifi_'

13 years agostorage: Don't list provider settings directories
Patrik Flykt [Mon, 31 Oct 2011 13:31:33 +0000 (15:31 +0200)]
storage: Don't list provider settings directories

13 years agotest: Tiny typo fix in test-session python script
Tomasz Bursztyka [Wed, 26 Oct 2011 10:43:27 +0000 (13:43 +0300)]
test: Tiny typo fix in test-session python script

13 years agosession doc: Document PeriodicConnect and IdleTimeout
Daniel Wagner [Fri, 28 Oct 2011 15:12:06 +0000 (17:12 +0200)]
session doc: Document PeriodicConnect and IdleTimeout

13 years agosession doc: Document state transitions
Daniel Wagner [Fri, 28 Oct 2011 15:12:05 +0000 (17:12 +0200)]
session doc: Document state transitions

13 years agosession doc: Fix typo
Daniel Wagner [Fri, 28 Oct 2011 15:12:04 +0000 (17:12 +0200)]
session doc: Fix typo

13 years agowifi: Handle erroneous disconnection after 4way-handshake
Tomasz Bursztyka [Thu, 3 Nov 2011 08:46:30 +0000 (10:46 +0200)]
wifi: Handle erroneous disconnection after 4way-handshake

And interpret it as a wrong psk after 4 consecutive failures.

13 years agogsupplicant: Add a function to enable or disable the selected network
Tomasz Bursztyka [Thu, 3 Nov 2011 08:46:29 +0000 (10:46 +0200)]
gsupplicant: Add a function to enable or disable the selected network

13 years agonetwork: Check device pointer when doing IPv6 autoconf
Jukka Rissanen [Tue, 1 Nov 2011 09:24:48 +0000 (11:24 +0200)]
network: Check device pointer when doing IPv6 autoconf

The device can disappear if network is disconnected while setting
autoconf parameters.

13 years agonetwork: Disconnect network properly
Jukka Rissanen [Tue, 1 Nov 2011 09:09:55 +0000 (11:09 +0200)]
network: Disconnect network properly

When network is removed (for example when ethernet cable
is disconnected), then it needs to be disconnected also.
The disconnect was not done at all because of the reference
counting fixes in dhcp code.

13 years agoinet: Cleanup the router solicitations handler properly
Jukka Rissanen [Mon, 31 Oct 2011 15:38:15 +0000 (17:38 +0200)]
inet: Cleanup the router solicitations handler properly

13 years agoinet: Fix file descriptor leak when comparing subnets
Jukka Rissanen [Mon, 31 Oct 2011 10:53:11 +0000 (12:53 +0200)]
inet: Fix file descriptor leak when comparing subnets

13 years agodevice: Cancel pending trigger when device is removed
Daniel Wagner [Mon, 31 Oct 2011 19:30:16 +0000 (20:30 +0100)]
device: Cancel pending trigger when device is removed

connmand[28326]: src/device.c:device_destruct() device 0x6b97c0 name candlejack.bmw-carit.intra-1
connmand[28326]: plugins/bluetooth.c:powered_reply()
connmand[28326]: Name "org.bluez" does not exist
connmand[28326]: src/device.c:device_pending_reset() device 0x6b97c0

13 years agotest: Use session.Destroy()
Patrik Flykt [Tue, 25 Oct 2011 07:51:38 +0000 (10:51 +0300)]
test: Use session.Destroy()

Use session.Destroy() instead of the Manager API DestroySession()
method call.

13 years agodoc: Document that DestroySession will not send Release to sessions
Patrik Flykt [Tue, 25 Oct 2011 07:51:37 +0000 (10:51 +0300)]
doc: Document that DestroySession will not send Release to sessions

13 years agosession: Implement Session API Destroy method call
Patrik Flykt [Tue, 25 Oct 2011 07:51:36 +0000 (10:51 +0300)]
session: Implement Session API Destroy method call

Call session_disconnect() from destroy_session() thus adding
functionality to Session API Destroy method call.

13 years agoiptables: Fix xtables API version issues
Tomasz Bursztyka [Mon, 31 Oct 2011 09:33:48 +0000 (11:33 +0200)]
iptables: Fix xtables API version issues

13 years agotools: Fix xtables API version issues with iptables-test
Tomasz Bursztyka [Mon, 31 Oct 2011 09:33:47 +0000 (11:33 +0200)]
tools: Fix xtables API version issues with iptables-test

13 years agogdhcp: Possible file descriptor leak
Jukka Rissanen [Fri, 28 Oct 2011 09:28:59 +0000 (12:28 +0300)]
gdhcp: Possible file descriptor leak

13 years agosession: Add a list of pending connect/disconnect actions
Patrik Flykt [Fri, 28 Oct 2011 08:04:48 +0000 (11:04 +0300)]
session: Add a list of pending connect/disconnect actions

deselect_service() and select_offline_service() want to clear
up the session state machinery by setting up a zero second
timeout function thereby letting the main loop run once through
all waiting actions. Unfortunately, if a service is being
removed meantime, the service structure stored in the timeout
functions will become invalid.

This is fixed by adding a list of pending connect/disconnect
actions per struct service_entry and cancelling all of them
if the service is removed.

Fixes BMC#22879

13 years agoiptables: Support builtin chain policies changes
Tomasz Bursztyka [Thu, 27 Oct 2011 07:26:43 +0000 (10:26 +0300)]
iptables: Support builtin chain policies changes

13 years agoiptables: Disable getopt unknown option display
Tomasz Bursztyka [Thu, 27 Oct 2011 07:26:42 +0000 (10:26 +0300)]
iptables: Disable getopt unknown option display

13 years agoiptables: Support for rule matches list
Tomasz Bursztyka [Thu, 27 Oct 2011 07:26:41 +0000 (10:26 +0300)]
iptables: Support for rule matches list

13 years agoiptables: Finalize matches extensions setup
Tomasz Bursztyka [Thu, 27 Oct 2011 07:26:40 +0000 (10:26 +0300)]
iptables: Finalize matches extensions setup

13 years agoiptables: Add extensions options parsing for matches
Tomasz Bursztyka [Thu, 27 Oct 2011 07:26:39 +0000 (10:26 +0300)]
iptables: Add extensions options parsing for matches

13 years agoiptables: Finalize target extensions setup
Tomasz Bursztyka [Thu, 27 Oct 2011 07:26:38 +0000 (10:26 +0300)]
iptables: Finalize target extensions setup

13 years agoiptables: Add extensions options parsing for target
Tomasz Bursztyka [Thu, 27 Oct 2011 07:26:37 +0000 (10:26 +0300)]
iptables: Add extensions options parsing for target

13 years agoiptables: Add x6_options matches handling
Tomasz Bursztyka [Thu, 27 Oct 2011 07:26:36 +0000 (10:26 +0300)]
iptables: Add x6_options matches handling

13 years agoiptables: Add x6_options target handling
Tomasz Bursztyka [Thu, 27 Oct 2011 07:26:35 +0000 (10:26 +0300)]
iptables: Add x6_options target handling

13 years agoiptables: Move target and matches preparation routines
Tomasz Bursztyka [Thu, 27 Oct 2011 07:26:34 +0000 (10:26 +0300)]
iptables: Move target and matches preparation routines

13 years agoiptables: Support matches rule list loading
Tomasz Bursztyka [Thu, 27 Oct 2011 07:26:33 +0000 (10:26 +0300)]
iptables: Support matches rule list loading

13 years agoiptables: Refactor matches preparation
Tomasz Bursztyka [Thu, 27 Oct 2011 07:26:32 +0000 (10:26 +0300)]
iptables: Refactor matches preparation

13 years agoiptables: Move target options merge to prepare_target
Tomasz Bursztyka [Thu, 27 Oct 2011 07:26:31 +0000 (10:26 +0300)]
iptables: Move target options merge to prepare_target

13 years agoiptables: Code preparation for option handling
Tomasz Bursztyka [Thu, 27 Oct 2011 07:26:30 +0000 (10:26 +0300)]
iptables: Code preparation for option handling

13 years agotools: Add iptables_test builtin chain policy changes
Tomasz Bursztyka [Thu, 27 Oct 2011 07:24:59 +0000 (10:24 +0300)]
tools: Add iptables_test builtin chain policy changes

13 years agotools: Initialize the iptables_test invert flag properly
Tomasz Bursztyka [Thu, 27 Oct 2011 07:24:58 +0000 (10:24 +0300)]
tools: Initialize the iptables_test invert flag properly

The invert flag is specific to each option so it needs to be initialized
after each succesfully handled option.

13 years agotools: Disable getopt unknown option display in iptables_test
Tomasz Bursztyka [Thu, 27 Oct 2011 07:24:57 +0000 (10:24 +0300)]
tools: Disable getopt unknown option display in iptables_test

13 years agotools: Add support for rule matches list to iptables_test
Tomasz Bursztyka [Thu, 27 Oct 2011 07:24:56 +0000 (10:24 +0300)]
tools: Add support for rule matches list to iptables_test

13 years agotools: Finalize matches extensions setup in iptables_test
Tomasz Bursztyka [Thu, 27 Oct 2011 07:24:55 +0000 (10:24 +0300)]
tools: Finalize matches extensions setup in iptables_test

13 years agotools: Add extensions options parsing for matches to iptables-test
Tomasz Bursztyka [Thu, 27 Oct 2011 07:24:54 +0000 (10:24 +0300)]
tools: Add extensions options parsing for matches to iptables-test

13 years agotools: Finalize target extensions setup in iptables_test
Tomasz Bursztyka [Thu, 27 Oct 2011 07:24:53 +0000 (10:24 +0300)]
tools: Finalize target extensions setup in iptables_test

13 years agotools: Add extensions options parsing for target to iptables_test
Tomasz Bursztyka [Thu, 27 Oct 2011 07:24:52 +0000 (10:24 +0300)]
tools: Add extensions options parsing for target to iptables_test

13 years agotools: Add x6_options matches handling to iptables-test
Tomasz Bursztyka [Thu, 27 Oct 2011 07:24:51 +0000 (10:24 +0300)]
tools: Add x6_options matches handling to iptables-test

13 years agotools: Add x6_options target handling to iptables_test
Tomasz Bursztyka [Thu, 27 Oct 2011 07:24:50 +0000 (10:24 +0300)]
tools: Add x6_options target handling to iptables_test

13 years agotools: Target and matches preparation function moves in iptables_test
Tomasz Bursztyka [Thu, 27 Oct 2011 07:24:49 +0000 (10:24 +0300)]
tools: Target and matches preparation function moves in iptables_test

13 years agotools: Add matches rule list loading support for iptables_test
Tomasz Bursztyka [Thu, 27 Oct 2011 07:24:48 +0000 (10:24 +0300)]
tools: Add matches rule list loading support for iptables_test

13 years agotools: Refactor iptables_test matches preparation
Tomasz Bursztyka [Thu, 27 Oct 2011 07:24:47 +0000 (10:24 +0300)]
tools: Refactor iptables_test matches preparation

13 years agotools: Move iptables_test target options merge in prepare_target
Tomasz Bursztyka [Thu, 27 Oct 2011 07:24:46 +0000 (10:24 +0300)]
tools: Move iptables_test target options merge in prepare_target

13 years agotools: Code preparation for iptable-test option handling
Tomasz Bursztyka [Thu, 27 Oct 2011 07:24:45 +0000 (10:24 +0300)]
tools: Code preparation for iptable-test option handling

13 years agoservice: Remove the gateways when removing the service
Jukka Rissanen [Tue, 18 Oct 2011 10:17:46 +0000 (13:17 +0300)]
service: Remove the gateways when removing the service

This is needed because connection.c takes a reference
of the service so we want to remove the gateways properly
so that service can be deleted and IP addresses released
when disconnection comes from network side (like when
ethernet cable is disconnected).

13 years agotools: Fix compilation in MeeGo
Jukka Rissanen [Wed, 26 Oct 2011 07:15:59 +0000 (10:15 +0300)]
tools: Fix compilation in MeeGo

The _GNU_SOURCE needs to be defined so that O_CLOEXEC
symbols can be found in system header files.
The source does not compile without the patch in MeeGo 1.2

13 years agocore: Fix compilation in MeeGo
Jukka Rissanen [Wed, 26 Oct 2011 07:15:58 +0000 (10:15 +0300)]
core: Fix compilation in MeeGo

The _GNU_SOURCE needs to be defined so that O_CLOEXEC
symbols can be found in system header files.
The source does not compile without the patch in MeeGo 1.2

13 years agoplugins: Fix compilation in MeeGo
Jukka Rissanen [Wed, 26 Oct 2011 07:15:57 +0000 (10:15 +0300)]
plugins: Fix compilation in MeeGo

The _GNU_SOURCE needs to be defined so that O_CLOEXEC
symbol can be found in system header files.
The source does not compile without the patch in MeeGo 1.2

13 years agotools: Add SOCK_CLOEXEC to socket()
Daniel Wagner [Sun, 23 Oct 2011 12:16:30 +0000 (14:16 +0200)]
tools: Add SOCK_CLOEXEC to socket()

Make sure all file descriptor are closed.

13 years agocore: Add SOCK_CLOEXEC to socket()
Daniel Wagner [Sun, 23 Oct 2011 12:16:29 +0000 (14:16 +0200)]
core: Add SOCK_CLOEXEC to socket()

Make sure all file descriptor are closed.

13 years agoplugins: Add SOCK_CLOEXEC to socket()
Daniel Wagner [Sun, 23 Oct 2011 12:16:28 +0000 (14:16 +0200)]
plugins: Add SOCK_CLOEXEC to socket()

Make sure all file descriptor are closed.

13 years agogweb: Add SOCK_CLOEXEC to socket()
Daniel Wagner [Sun, 23 Oct 2011 12:16:27 +0000 (14:16 +0200)]
gweb: Add SOCK_CLOEXEC to socket()

Make sure all file descriptor are closed.

13 years agogdhcp: Add SOCK_CLOEXEC to socket()
Daniel Wagner [Sun, 23 Oct 2011 12:16:26 +0000 (14:16 +0200)]
gdhcp: Add SOCK_CLOEXEC to socket()

Make sure all file descriptor are closed.

13 years agocore: Add O_CLOEXEC to open()
Daniel Wagner [Sun, 23 Oct 2011 12:16:25 +0000 (14:16 +0200)]
core: Add O_CLOEXEC to open()

Make sure all file descriptor are closed.

13 years agoplugins: Add O_CLOEXEC to open()
Daniel Wagner [Sun, 23 Oct 2011 12:16:24 +0000 (14:16 +0200)]
plugins: Add O_CLOEXEC to open()

Make sure all file descriptor are closed.

13 years agotools: Add O_CLOEXEC to open()
Daniel Wagner [Sun, 23 Oct 2011 12:16:23 +0000 (14:16 +0200)]
tools: Add O_CLOEXEC to open()

Make sure all file descriptor are closed.

13 years agoservice: Activate loose mode routing
Jukka Rissanen [Fri, 21 Oct 2011 08:16:55 +0000 (11:16 +0300)]
service: Activate loose mode routing

If more than one service is connected at the same time,
then activate loose mode routing by setting the
/proc/sys/net/ipv4/conf/all/rp_filter to value 2
If the loose mode routing is not activated, then packets
are not routed properly if services are connected to same
subnet.

The original value of rp_filter is restored when the other
services are disconnected and only one service is connected.

For details of rp_filter setting, see Linux kernel file
Documentation/networking/ip-sysctl.txt

Fixes BMC#23606

13 years agoipconfig: Set/unset IPv4 rp_filter setting
Jukka Rissanen [Fri, 21 Oct 2011 08:16:54 +0000 (11:16 +0300)]
ipconfig: Set/unset IPv4 rp_filter setting

13 years agonetwork: Remove obsolete service lookup in disconnect
Jukka Rissanen [Tue, 18 Oct 2011 13:36:29 +0000 (16:36 +0300)]
network: Remove obsolete service lookup in disconnect

13 years agoservice: Check NULL pointer
Jukka Rissanen [Tue, 18 Oct 2011 13:36:11 +0000 (16:36 +0300)]
service: Check NULL pointer

13 years agosession: Do not select ongoing service again
Daniel Wagner [Mon, 17 Oct 2011 13:50:17 +0000 (15:50 +0200)]
session: Do not select ongoing service again

In case Session.Connect() is called several times while
the selected services is still going from the IDLE state
to ONLINE state (or error state), do not call
select_and_connect() again. This leads to an inconsistent
ref counting on the service.

Fixes BMC#23630

13 years agowispr: Reference count service properly according to contexts
Tomasz Bursztyka [Mon, 17 Oct 2011 13:51:32 +0000 (16:51 +0300)]
wispr: Reference count service properly according to contexts

13 years agowispr: wispr_start will always re-start a new context
Tomasz Bursztyka [Mon, 17 Oct 2011 13:51:31 +0000 (16:51 +0300)]
wispr: wispr_start will always re-start a new context

13 years agoservice: wispr fallback when wpad fails
Tomasz Bursztyka [Mon, 17 Oct 2011 12:52:24 +0000 (15:52 +0300)]
service: wispr fallback when wpad fails

13 years agowpad: Reference count service properly
Tomasz Bursztyka [Mon, 17 Oct 2011 12:52:23 +0000 (15:52 +0300)]
wpad: Reference count service properly

13 years agodhcp: Reference count network properly
Jukka Rissanen [Wed, 12 Oct 2011 13:41:46 +0000 (16:41 +0300)]
dhcp: Reference count network properly

13 years agoinet: Cleanup router solicitation callback properly after error
Jukka Rissanen [Wed, 12 Oct 2011 13:05:18 +0000 (16:05 +0300)]
inet: Cleanup router solicitation callback properly after error

The cleanup routine must be called after an error and after
calling RS callback, otherwise the timeout is not removed
in right time.

13 years agonotifier: Don't unnecessarily report "online" state on disconnect
Patrik Flykt [Wed, 12 Oct 2011 10:56:38 +0000 (13:56 +0300)]
notifier: Don't unnecessarily report "online" state on disconnect

When a service disconnects, don't send an extra 'online'
net.connman.Manager.StateChanged signal if another service is still
connected.

Fixes BMC#23421

13 years agowispr: Set LoginRequired when wispr login is requested
Tomasz Bursztyka [Mon, 10 Oct 2011 10:09:11 +0000 (13:09 +0300)]
wispr: Set LoginRequired when wispr login is requested

Setting it while handling redirection is not bullet proof in case
of AP which does not implement well wispr and sends wispr content
with no redirection at first place.

Fixes BMC#23424