framework/connectivity/connman.git
14 years agoipv4: Return 32 as a prefix length for a NULL netmask
Samuel Ortiz [Tue, 26 Oct 2010 19:27:10 +0000 (21:27 +0200)]
ipv4: Return 32 as a prefix length for a NULL netmask

14 years agodevice: Save zero scan_interval values
Matt Francomb [Tue, 26 Oct 2010 19:08:35 +0000 (21:08 +0200)]
device: Save zero scan_interval values

For some devices it makes sense to not run periodic wifi scans at all.
Although the default value is kept at 300 seconds for wifi, one should be
able to set that value to 0, and fetch it back after rebooting.

14 years agoiptables-test: Build custom rule
Samuel Ortiz [Tue, 26 Oct 2010 01:39:20 +0000 (03:39 +0200)]
iptables-test: Build custom rule

The match and target correct parsing allows for custom rule building.

14 years agoiptables-test: Inversion support
Samuel Ortiz [Mon, 25 Oct 2010 23:25:45 +0000 (01:25 +0200)]
iptables-test: Inversion support

14 years agoiptables-test: Parse targets and matches options
Samuel Ortiz [Mon, 25 Oct 2010 22:24:30 +0000 (00:24 +0200)]
iptables-test: Parse targets and matches options

The target and matches parsing routine allow for a proper xtable structure
building. Those structures then allow for an easier rule building.

14 years agoiptables-test: Add -t option support
Samuel Ortiz [Mon, 25 Oct 2010 14:15:17 +0000 (16:15 +0200)]
iptables-test: Add -t option support

This will be needed for masquerading support.

14 years agoiptables-test: Initial command line parsing
Samuel Ortiz [Mon, 25 Oct 2010 14:08:06 +0000 (16:08 +0200)]
iptables-test: Initial command line parsing

The command line options are an iptables subset.

14 years agoiptables: Replace iptables-test program
Samuel Ortiz [Fri, 22 Oct 2010 22:09:30 +0000 (00:09 +0200)]
iptables: Replace iptables-test program

The new iptables-test no longer links against the unstable libiptc
library. A link against libxtables is still necessary as the iptables
extensions are only registered against iptables through this library.
Not using it would mean replicating any of the extensions ConnMan could
potentially need.

14 years agoSplit openconnect into generic vpn and openconnect part
Daniel Wagner [Fri, 22 Oct 2010 17:55:53 +0000 (13:55 -0400)]
Split openconnect into generic vpn and openconnect part

14 years agoAdd provider driver name accessor
Daniel Wagner [Fri, 22 Oct 2010 17:55:52 +0000 (13:55 -0400)]
Add provider driver name accessor

14 years agogsupplicant: Get all BSSs when scan is done
Leena Gunda [Fri, 22 Oct 2010 09:53:39 +0000 (11:53 +0200)]
gsupplicant: Get all BSSs when scan is done

After a scan, all BSSs need to be refreshed and passed back to the device
layer or else the WiFi device networks list is emptied.

Fixes BMC#8324
Fixes BMC#8363

14 years agoUpdate AUTHORS file with new contributors
Marcel Holtmann [Fri, 22 Oct 2010 07:48:57 +0000 (09:48 +0200)]
Update AUTHORS file with new contributors

14 years agowifi: Search for networks based on their identifier
Leena Gunda [Thu, 21 Oct 2010 21:29:21 +0000 (23:29 +0200)]
wifi: Search for networks based on their identifier

14 years agodevice: Set element driver when probing a device driver
Joey Lee [Thu, 21 Oct 2010 08:56:53 +0000 (10:56 +0200)]
device: Set element driver when probing a device driver

When a device shows up through rtnl before the device driver is created,
the device's element driver pointer will not be set.
The bug is not visible with built-in devices, it only appears with
removable ones or with those that are completely removed from the bus when
being rfkilled.

14 years agoUpdate pacrunner plugin to take care of all proxy methods
Tomasz Bursztyka [Mon, 18 Oct 2010 12:22:42 +0000 (15:22 +0300)]
Update pacrunner plugin to take care of all proxy methods

14 years agoAdd proxy accessor function for services
Tomasz Bursztyka [Mon, 18 Oct 2010 08:59:23 +0000 (11:59 +0300)]
Add proxy accessor function for services

14 years agortnl: Check for wireless extensions when missing DEVTYPE
Samuel Ortiz [Fri, 15 Oct 2010 13:27:52 +0000 (15:27 +0200)]
rtnl: Check for wireless extensions when missing DEVTYPE

Checking for wireless extensions is a bit more reliable than looking for
a potentially missing wireless directory.

14 years agortnl: Detect non cfg80211 based WiFi drivers
Samuel Ortiz [Thu, 14 Oct 2010 22:36:20 +0000 (00:36 +0200)]
rtnl: Detect non cfg80211 based WiFi drivers

Those don't come with a proper uevent DEVTYPE label. ConnMan looks for
a sysfs wireless directory in that case.

14 years agoipconfig: Do not call inet_network() with a NULL pointer
Samuel Ortiz [Thu, 14 Oct 2010 13:43:58 +0000 (15:43 +0200)]
ipconfig: Do not call inet_network() with a NULL pointer

inet_network() segfaults when given a NULL pointer as an argument.

14 years agogdbus: fix not handling bus disconnects
Luiz Augusto von Dentz [Wed, 13 Oct 2010 12:06:46 +0000 (15:06 +0300)]
gdbus: fix not handling bus disconnects

We where not dispatching data when a bus disconnects which cause
Disconnected signal to not be processed and thus causing the process to
either not exit or to not trigger callbacks registered with
g_dbus_set_disconnect_function.

To fix this now we always schedule a dispatch which will make sure data
still not processed will make its way to the proper handlers even if
disconnected.

14 years agoMerge stats_create into __connman_stats_service_register
Daniel Wagner [Wed, 13 Oct 2010 07:26:46 +0000 (09:26 +0200)]
Merge stats_create into __connman_stats_service_register

This avoid doing an hash table lookup from
__connman_stats_service_register() right after inserting the stats_file
pointer into it.

14 years agoUpdate stats-ringbuffer-dump tool
Daniel Wagner [Tue, 12 Oct 2010 13:36:23 +0000 (15:36 +0200)]
Update stats-ringbuffer-dump tool

Adapt stats-ringbuffer-dump to the new file format.

14 years agoMerge home and roaming stats file
Daniel Wagner [Tue, 12 Oct 2010 13:36:22 +0000 (15:36 +0200)]
Merge home and roaming stats file

Instead creating for each service two stats file (home and roaming), just
create one. Each entry in the file is marked with a flag (home or roaming).

The file header contains two additional index which points to the current
home or roaming entry.

Now we have a nice history in the ring buffer.
Additionally this reduces the number of open files by half.

14 years agodocs: Update Service State and LoginRequired docs
Jussi Kukkonen [Tue, 12 Oct 2010 13:58:20 +0000 (16:58 +0300)]
docs: Update Service State and LoginRequired docs

14 years agoUpdate AUTHORS list
Marcel Holtmann [Tue, 12 Oct 2010 08:57:10 +0000 (11:57 +0300)]
Update AUTHORS list

14 years agoAdded support for "auto" and "manual" proxy.
Tomasz Bursztyka [Mon, 11 Oct 2010 13:57:07 +0000 (16:57 +0300)]
Added support for "auto" and "manual" proxy.

14 years agoUsing netlink to set and clear ipv6 addresses
Cristiano Fernandes [Mon, 11 Oct 2010 22:35:38 +0000 (00:35 +0200)]
Using netlink to set and clear ipv6 addresses

14 years agoUsing netlink to set and clear ipv4 addresses
Cristiano Fernandes [Mon, 11 Oct 2010 22:34:39 +0000 (00:34 +0200)]
Using netlink to set and clear ipv4 addresses

Using netlink to set and clear ipv4 configuration avoids connman from
sending multiple IPv4 signals through DBus with the wrong configuration,
since the configuration are set all at once triggering only one netlink
event.

14 years agoOpen stats file late and close them early
Daniel Wagner [Mon, 11 Oct 2010 11:58:02 +0000 (13:58 +0200)]
Open stats file late and close them early

Instead of opening stats file when a service is created,
defer it to the point where either __connman_ipconfig_enable
or __connman_ipconfig_disable is called.

14 years agosimple-agent: update to new agent api
Kalle Valo [Mon, 11 Oct 2010 12:12:10 +0000 (15:12 +0300)]
simple-agent: update to new agent api

simple-agent was still using the old agent api and didn't work anymore.
Update it to use the new api.

14 years agoAdded a test tool for proxy configuration (set-proxy)
Tomasz Bursztyka [Mon, 11 Oct 2010 07:09:16 +0000 (10:09 +0300)]
Added a test tool for proxy configuration (set-proxy)

14 years agoInitialize struct stat in error case correctly
Daniel Wagner [Mon, 11 Oct 2010 09:17:03 +0000 (11:17 +0200)]
Initialize struct stat in error case correctly

In the case stat failes to gather information
about the log file, it has to initialize struct
stat. Otherwise, we will set a random file size.

14 years agoRemove unnecessary pre initializing
Daniel Wagner [Fri, 8 Oct 2010 15:31:48 +0000 (17:31 +0200)]
Remove unnecessary pre initializing

14 years agoRelease counter and session watches whe unregistering
Samuel Ortiz [Fri, 8 Oct 2010 21:36:44 +0000 (23:36 +0200)]
Release counter and session watches whe unregistering

Releasing the watches from the hash table freeing routines lead to double
freeing the interface data watch pointer in case the owner would disappear
before unregistering.

14 years agoinet: Remove __connman_inet_get_device_type
Samuel Ortiz [Fri, 8 Oct 2010 16:59:16 +0000 (18:59 +0200)]
inet: Remove __connman_inet_get_device_type

The routine is replaced by __connman_rtnl_get_device_type.

14 years agortnl: Export device type detection routine
Samuel Ortiz [Fri, 8 Oct 2010 16:53:08 +0000 (18:53 +0200)]
rtnl: Export device type detection routine

Since ConnMan is now relying only on rtnl for device detection, the rtnl.c
code should be responsible for providing device types. And this is done by
parsing the device uevent DEVTYPE label.

14 years agodevice: Set blocked field depending on the technology status
Samuel Ortiz [Fri, 8 Oct 2010 15:23:38 +0000 (17:23 +0200)]
device: Set blocked field depending on the technology status

If a device is created before any rfkill event is received, it will not
be blocked. Otherwise, it will mirror the technology blocked status.

14 years agotechnology: Add technology blocked field getter
Samuel Ortiz [Fri, 8 Oct 2010 15:22:57 +0000 (17:22 +0200)]
technology: Add technology blocked field getter

14 years agotechnology: Do not update a technology blocked counter when unchanged
Samuel Ortiz [Fri, 8 Oct 2010 13:52:45 +0000 (15:52 +0200)]
technology: Do not update a technology blocked counter when unchanged

Some buggy rfkill driver send rfkill CHANGE events while the actual rfkill
status has not changed. ConnMan should just ignore those.

14 years agoSmall proxy settings rewrite in service API documentation.
Tomasz Bursztyka [Fri, 8 Oct 2010 09:10:29 +0000 (12:10 +0300)]
Small proxy settings rewrite in service API documentation.

14 years agoDisplay IPv4/IPv6 gateway in PropertyChanged signal
leena.gunda@wipro.com [Wed, 6 Oct 2010 13:31:12 +0000 (19:01 +0530)]
Display IPv4/IPv6 gateway in PropertyChanged signal

ConnMan should emit the IP PropertyChanged signal when the IP is set but
also when a route for the device is set.

Fixes BMC#7895

14 years agortnl: Remove unused operstate callback
Samuel Ortiz [Thu, 7 Oct 2010 18:10:11 +0000 (20:10 +0200)]
rtnl: Remove unused operstate callback

14 years agotechnology: Block devices based on technology rfkill status
Samuel Ortiz [Thu, 7 Oct 2010 18:03:48 +0000 (20:03 +0200)]
technology: Block devices based on technology rfkill status

Devices are blocked when their technology is blocked, i.e. all its devices
are rfkilled. They all move back to the unblocked state when all the
technology devices are no longer rfkilled.

14 years agotechnology: Use allocated index for rfkill hash tables keys
Samuel Ortiz [Wed, 6 Oct 2010 16:01:31 +0000 (18:01 +0200)]
technology: Use allocated index for rfkill hash tables keys

14 years agotechnology: Track rfkill blocked state
Samuel Ortiz [Wed, 6 Oct 2010 09:57:24 +0000 (11:57 +0200)]
technology: Track rfkill blocked state

14 years agoPretty printers for proxy settings in various test tool.
Tomasz Bursztyka [Thu, 7 Oct 2010 07:40:05 +0000 (10:40 +0300)]
Pretty printers for proxy settings in various test tool.

14 years agoAnother update to proxy configuration API
Marcel Holtmann [Thu, 7 Oct 2010 11:23:44 +0000 (13:23 +0200)]
Another update to proxy configuration API

14 years agoUpdating service API documentation about proxy support.
Tomasz Bursztyka [Thu, 7 Oct 2010 07:40:01 +0000 (10:40 +0300)]
Updating service API documentation about proxy support.

14 years agoUse nl80211/cfg80211 WiFi configuration by default
Marcel Holtmann [Wed, 6 Oct 2010 06:38:57 +0000 (08:38 +0200)]
Use nl80211/cfg80211 WiFi configuration by default

14 years agoAdd interface name checks for Virtual Machine Manager
Marcel Holtmann [Wed, 6 Oct 2010 06:38:39 +0000 (08:38 +0200)]
Add interface name checks for Virtual Machine Manager

14 years agoMove GResolv source file sinto GWeb directory
Marcel Holtmann [Mon, 4 Oct 2010 16:08:49 +0000 (18:08 +0200)]
Move GResolv source file sinto GWeb directory

14 years agortnl: support isimodem GPRS connections
Pekka Pessi [Thu, 23 Sep 2010 19:44:09 +0000 (22:44 +0300)]
rtnl: support isimodem GPRS connections

The isimodem GPRS connections (PHONET_PIPEs) have ARP header type 821.

14 years agoSupport -p and -P options with list of plugins
Pekka Pessi [Fri, 24 Sep 2010 14:22:54 +0000 (17:22 +0300)]
Support -p and -P options with list of plugins

14 years agoRemove unused __connman_detect_get_blocked function
Marcel Holtmann [Mon, 4 Oct 2010 12:36:26 +0000 (14:36 +0200)]
Remove unused __connman_detect_get_blocked function

14 years agoRemove unused __connman_detect_start function
Marcel Holtmann [Mon, 4 Oct 2010 12:31:58 +0000 (14:31 +0200)]
Remove unused __connman_detect_start function

14 years agoRemove dependency on udev
Marcel Holtmann [Mon, 4 Oct 2010 12:22:18 +0000 (14:22 +0200)]
Remove dependency on udev

14 years agoAdd information if scan has been requested
Marcel Holtmann [Sun, 3 Oct 2010 09:55:47 +0000 (11:55 +0200)]
Add information if scan has been requested

14 years agoAdd support for systemd service configuration
Marcel Holtmann [Sat, 2 Oct 2010 18:20:19 +0000 (20:20 +0200)]
Add support for systemd service configuration

14 years agoAdd support for installing D-Bus autostart configuration
Marcel Holtmann [Sat, 2 Oct 2010 15:58:45 +0000 (17:58 +0200)]
Add support for installing D-Bus autostart configuration

14 years agoRelease 0.62
Marcel Holtmann [Sat, 2 Oct 2010 06:45:00 +0000 (08:45 +0200)]
Release 0.62

14 years agoAdd support for handling DHCP timerserver values from DHCP
Marcel Holtmann [Sat, 2 Oct 2010 05:25:56 +0000 (07:25 +0200)]
Add support for handling DHCP timerserver values from DHCP

14 years agoPrint debug information about DHCP timeserver value if available
Marcel Holtmann [Sat, 2 Oct 2010 05:25:16 +0000 (07:25 +0200)]
Print debug information about DHCP timeserver value if available

14 years agoTODO update
Samuel Ortiz [Thu, 30 Sep 2010 22:07:19 +0000 (00:07 +0200)]
TODO update

14 years agosupplicant: Do not reset passphrase when asociation fails
Samuel Ortiz [Thu, 30 Sep 2010 16:20:58 +0000 (18:20 +0200)]
supplicant: Do not reset passphrase when asociation fails

Resetting the passphrase is redundant as the service will present a
"connect-failed" error string through D-Bus whenever association fails.

14 years agosupplicant: No need for actively remove network upon disconnection
Samuel Ortiz [Thu, 30 Sep 2010 14:39:41 +0000 (16:39 +0200)]
supplicant: No need for actively remove network upon disconnection

When being disconnected, ConnMan should just wait for wpa_supplicant scan
results instead of trying to be smart about if the disconnected AP is still
around or not.
wpa_supplicant will try to roam and run periodic scan for that purpose. If
the AP is missing after 2 scans, it's removed from the list, and ConnMan
then removes it from the enabled networks.

Fixes BMC#7730 BMC#7734

14 years agoSet WiFi task scanning flag when receiving a Scanning event
Samuel Ortiz [Thu, 30 Sep 2010 14:33:40 +0000 (16:33 +0200)]
Set WiFi task scanning flag when receiving a Scanning event

wpa_supplicant can start scanning without ConnMan telling it to do so (in
the roaming case for example), and thus the task scanning state should be
updated accordingly in that case.
Without this fix the device network list is not refreshed appropriately.

14 years agoImplement WiFi network driver remove hook
Samuel Ortiz [Thu, 30 Sep 2010 14:18:56 +0000 (16:18 +0200)]
Implement WiFi network driver remove hook

14 years agoTODO update
Samuel Ortiz [Wed, 29 Sep 2010 22:41:30 +0000 (00:41 +0200)]
TODO update

14 years agoReset WiFi passphrase if association or WPA handshake fails
Samuel Ortiz [Wed, 29 Sep 2010 17:47:41 +0000 (19:47 +0200)]
Reset WiFi passphrase if association or WPA handshake fails

14 years agoDefine connman_network_set_passphrase
Samuel Ortiz [Wed, 29 Sep 2010 17:29:22 +0000 (19:29 +0200)]
Define connman_network_set_passphrase

This is needed for the supplicant plugin to reset a service passphrase
when authentication fails.

14 years agoExport __connman_service_set_passphrase() to ConnMan core
Samuel Ortiz [Wed, 29 Sep 2010 17:19:14 +0000 (19:19 +0200)]
Export __connman_service_set_passphrase() to ConnMan core

14 years agoRemoveProvider argument is an object path
Samuel Ortiz [Tue, 28 Sep 2010 10:43:07 +0000 (12:43 +0200)]
RemoveProvider argument is an object path

14 years agoRemove providers based on their VPN service path
Samuel Ortiz [Mon, 27 Sep 2010 23:36:32 +0000 (01:36 +0200)]
Remove providers based on their VPN service path

14 years agoSet device scanning state to false from the scan callback
Samuel Ortiz [Mon, 27 Sep 2010 22:59:52 +0000 (00:59 +0200)]
Set device scanning state to false from the scan callback

If scan fails, the scan callback is called.
When scan results are available, it is called as well.
In both cases, the device is no longer scanning when it's called.

14 years agowifi: use const pointer for a ssid buffer
Kalle Valo [Mon, 27 Sep 2010 21:44:34 +0000 (00:44 +0300)]
wifi: use const pointer for a ssid buffer

A pointer for an ssid buffer was incorrectly stored to a non-const pointer.
After fixing this a unneeded cast can be removed.

14 years agowifi: remove unneeded casts
Kalle Valo [Mon, 27 Sep 2010 21:44:28 +0000 (00:44 +0300)]
wifi: remove unneeded casts

14 years agogsupplicant: fix return value of g_supplicant_interface_get_data()
Kalle Valo [Mon, 27 Sep 2010 21:44:21 +0000 (00:44 +0300)]
gsupplicant: fix return value of g_supplicant_interface_get_data()

g_supplicant_interface_get_data() was returning a const void pointer even
though the setter took a non-const pointer. Change get_data() to return
non-const as well.

14 years agogsupplicant: use term managed in object path
Kalle Valo [Mon, 27 Sep 2010 21:44:14 +0000 (00:44 +0300)]
gsupplicant: use term managed in object path

gsupplicant uses term "infra" instead of "managed" used by the old
wifi plugin. This forced connman to create a new service instead of using
the stored. For example, wifi_0026b6675606_76616c6f_managed_psk
vs wifi_0026b6675606_76616c6f_infra_psk.

Convert gsupplicant to use term "managed". That way old services work with
the new plugin.

14 years agoSet the network associating state to false when disconnecting
Samuel Ortiz [Mon, 27 Sep 2010 22:00:18 +0000 (00:00 +0200)]
Set the network associating state to false when disconnecting

The gsupplicant based plugin is not setting the network state appropriately
and can trigger an infinite loop between connman_network_set_connected()
and network_disconnect.

14 years agowifi: use connman options to get the wpasupplicant driver
Kalle Valo [Mon, 27 Sep 2010 18:38:55 +0000 (21:38 +0300)]
wifi: use connman options to get the wpasupplicant driver

The new gsupplicant based wifi plugin doesn't support -c command-line
switch to make it possible to choose between wext, nl80211 or both. Add
support for this by using connman_option_get_string().

14 years agoCheck device before call connman_device_set_string at ofono plugin
Martin Xu [Sun, 26 Sep 2010 05:48:37 +0000 (13:48 +0800)]
Check device before call connman_device_set_string at ofono plugin

Fixes BMC#6681

14 years agoudev: Print error when udev support is not available and not disabled
Marcel Holtmann [Sun, 26 Sep 2010 08:36:39 +0000 (17:36 +0900)]
udev: Print error when udev support is not available and not disabled

14 years agoRemove EDNS0 option
Samuel Ortiz [Fri, 24 Sep 2010 22:16:26 +0000 (00:16 +0200)]
Remove EDNS0 option

Many routers block EDNS0 DNS requests and that leads to a non working
DNS resolver for ConnMan. This option can now be removed and have dnsproxy
fallling back to DNS over TCP for big DNS replies.
The optimal solution would be to keep this option and disable it on the fly
for nameserver paths rejecting EDNS0 packets. Unfortunately ConnMan is not
able to detect those paths at the moment and so simply falls back to DNS
over TCP.

14 years agoAdd support for domain name concatenation on TCP DNS requests
Samuel Ortiz [Fri, 24 Sep 2010 21:59:38 +0000 (23:59 +0200)]
Add support for domain name concatenation on TCP DNS requests

14 years agoDefine protocol_offset() for DNS transport layer offset
Samuel Ortiz [Fri, 24 Sep 2010 18:48:33 +0000 (20:48 +0200)]
Define protocol_offset() for DNS transport layer offset

14 years agoDo not access the DNS request buffer if it's NULL
Samuel Ortiz [Fri, 24 Sep 2010 18:42:31 +0000 (20:42 +0200)]
Do not access the DNS request buffer if it's NULL

14 years agoClose TCP DNS connections once the reply is forwarded
Samuel Ortiz [Fri, 24 Sep 2010 18:39:51 +0000 (20:39 +0200)]
Close TCP DNS connections once the reply is forwarded

This is still sub optimal as the ideal solution would be to keep the TCP
connection opened for a 20-30 seconds for the next DNS over TCP requests.

14 years agoStop polling the nameserver TCP socket once we're done with it
Samuel Ortiz [Fri, 24 Sep 2010 18:24:04 +0000 (20:24 +0200)]
Stop polling the nameserver TCP socket once we're done with it

14 years agoSend an error response when the DNS request times out
Samuel Ortiz [Fri, 24 Sep 2010 16:13:35 +0000 (18:13 +0200)]
Send an error response when the DNS request times out

14 years agoAdd a protocol field to the DNS request structure
Samuel Ortiz [Fri, 24 Sep 2010 16:00:48 +0000 (18:00 +0200)]
Add a protocol field to the DNS request structure

This is cleaner than checking for the client socket value.

14 years agoSend SERVFAIL when nameservers are not listening on TCP port 53
Samuel Ortiz [Fri, 24 Sep 2010 15:57:55 +0000 (17:57 +0200)]
Send SERVFAIL when nameservers are not listening on TCP port 53

14 years agoFix DNS TCP buffer parsing copy paste error
Samuel Ortiz [Fri, 24 Sep 2010 15:33:01 +0000 (17:33 +0200)]
Fix DNS TCP buffer parsing copy paste error

14 years agoRemove the DNS TCP listener watch when the socket is closed
Samuel Ortiz [Fri, 24 Sep 2010 15:18:34 +0000 (17:18 +0200)]
Remove the DNS TCP listener watch when the socket is closed

14 years agoFactorize dnsproxy listener creation code
Samuel Ortiz [Fri, 24 Sep 2010 14:40:44 +0000 (16:40 +0200)]
Factorize dnsproxy listener creation code

Lot of the code was shared between between the TCP and UDP code paths.

14 years agoInitial DNS over TCP implementation for dnsproxy
Samuel Ortiz [Fri, 24 Sep 2010 14:09:31 +0000 (16:09 +0200)]
Initial DNS over TCP implementation for dnsproxy

14 years agoFix typo in stats_print_record
Daniel Wagner [Thu, 23 Sep 2010 14:42:00 +0000 (16:42 +0200)]
Fix typo in stats_print_record

14 years agoFix "invalid file header"
Daniel Wagner [Thu, 23 Sep 2010 14:04:36 +0000 (16:04 +0200)]
Fix "invalid file header"

Use stat before open the file to find out if the
file already exists. Only if file exists and
the header is invalid trigger connman_error

14 years agoPut .data files into a separate directory
Daniel Wagner [Thu, 23 Sep 2010 11:25:18 +0000 (13:25 +0200)]
Put .data files into a separate directory

14 years agoSupport multiple interfaces on -i and -I cmdline option.
Lucio Maciel [Wed, 22 Sep 2010 17:54:32 +0000 (14:54 -0300)]
Support multiple interfaces on -i and -I cmdline option.

Support multiple comma-separeted interfaces for -i and -I
command line option. E.g.:
-i eth*,wlan*,ppp* or -I virbr*,usb*,ppp*

14 years agoFix bug to remove vpn services when turning offline mode on
Mohamed Abbas [Wed, 22 Sep 2010 11:35:35 +0000 (04:35 -0700)]
Fix bug to remove vpn services when turning offline mode on

This patch will remove all vpn services on offline mode. It also
make sure it exits after releasing all resources.

Fixes BMC #6591