Samuel Ortiz [Tue, 8 Feb 2011 00:12:17 +0000 (01:12 +0100)]
AUTHORS: Mention Henri's contributions
Henri Bragge [Mon, 7 Feb 2011 10:33:15 +0000 (12:33 +0200)]
ofono: Handle ContextAdded/ContextRemoved signals
Patrik Flykt [Fri, 4 Feb 2011 13:14:22 +0000 (15:14 +0200)]
wifi: Check invalid key/passphrase in gsupplicant connect callback
Use network struct as connect callback user data and set network
error to CONNMAN_NETWORK_ERROR_INVALID_KEY if gsupplicant indicates
key/passphrase error. For other errors < 0 set network error to
CONNMAN_NETWORK_ERROR_CONFIGURE_FAIL.
Patrik Flykt [Fri, 4 Feb 2011 13:14:21 +0000 (15:14 +0200)]
network: Add CONNMAN_NETWORK_ERROR_INVALID_KEY for a network
Add invalid key/passphrase definition for a network and propagate
it to the associated service.
Patrik Flykt [Fri, 4 Feb 2011 13:14:20 +0000 (15:14 +0200)]
service: Add CONNMAN_SERVICE_ERROR_INVALID_KEY to service error enum
Add invalid key/passphrase definition for a service and unset the
current passphrase when this error is indicated.
Patrik Flykt [Fri, 4 Feb 2011 13:14:19 +0000 (15:14 +0200)]
gsupplicant: Report AddNetwork and SelectNetwork errors to caller
Call interface_connect_data callback when an error is reported for
wpa_supplicant AddNetwork and SelectNetwork method calls. In the case
of WPA-PSK or WEP key being incorrectly formatted, set the callback
result to -ENOKEY.
Samuel Ortiz [Mon, 7 Feb 2011 23:56:04 +0000 (00:56 +0100)]
dnsproxy: Do not add NULL domains to the domain list
Marcel Holtmann [Mon, 7 Feb 2011 03:27:40 +0000 (19:27 -0800)]
plugin: Allow colon as plugin name separator
Marcel Holtmann [Sun, 6 Feb 2011 17:03:23 +0000 (09:03 -0800)]
Release 0.69
Samuel Ortiz [Fri, 4 Feb 2011 19:18:23 +0000 (20:18 +0100)]
service: Remove WPS from the exported D-Bus properties
When WPS is supported it is added to the security string array.
Samuel Ortiz [Fri, 4 Feb 2011 10:40:07 +0000 (11:40 +0100)]
AUTHORS: Mention Guillaume's contributions
Guillaume Lucas [Fri, 4 Feb 2011 08:04:07 +0000 (08:04 +0000)]
ethernet: Create the bridge before to add an interface to it.
The bridge is created by the connman_technology_tethering_notify()
function. So this function must be called before to add an interface
to the bridge. Means before the call to connman_inet_add_to_bridge().
Guillaume Lucas [Fri, 4 Feb 2011 08:04:05 +0000 (08:04 +0000)]
technology: trigger technology creation by new interface
Mohamed Abbas [Thu, 3 Feb 2011 23:46:29 +0000 (15:46 -0800)]
proxy: Add implementation for internal proxy framework.
Add support to call registered proxy driver and report
proxy to client.
Also Make sure we cancel proxy request if we got disconnected and still
waiting for proxy request. Also make sure we set/clear token correctly
Mohamed Abbas [Thu, 3 Feb 2011 23:46:28 +0000 (15:46 -0800)]
pacrunner: Add pacrunner proxy driver.
Register pacrunner proxy driver, add proxy driver functions and
call pacrunner daemon to find proxy.
Mohamed Abbas [Thu, 3 Feb 2011 23:46:27 +0000 (15:46 -0800)]
location: Allow to get the service for a location
Add new function to return the service for a location.
Henri Bragge [Mon, 31 Jan 2011 14:37:50 +0000 (16:37 +0200)]
TODO: Claim ownership of the provisioning API task
Samuel Ortiz [Thu, 3 Feb 2011 12:04:10 +0000 (13:04 +0100)]
wifi: Debug string typo
Samuel Ortiz [Thu, 3 Feb 2011 12:00:48 +0000 (13:00 +0100)]
wifi: Return a tethering error if AP mode is not supported at all
Daniel Wagner [Wed, 2 Feb 2011 08:40:48 +0000 (09:40 +0100)]
stats: Add comment about MAP_SHARED
Clarify why MAP_SHARED is used instead of the obvious MAP_PRIVATE.
Samuel Ortiz [Thu, 3 Feb 2011 00:01:25 +0000 (01:01 +0100)]
AUTHORS: Mention Grant's contributions
Samuel Ortiz [Wed, 2 Feb 2011 23:51:08 +0000 (00:51 +0100)]
gsupplicant: Add ciphers only for WPA PSK and EAP
Samuel Ortiz [Wed, 2 Feb 2011 23:39:03 +0000 (00:39 +0100)]
wifi: Use WPA2 only when in AP mode
Samuel Ortiz [Wed, 2 Feb 2011 23:38:37 +0000 (00:38 +0100)]
gsupplicant: Set WPA protocol
Samuel Ortiz [Wed, 2 Feb 2011 23:25:33 +0000 (00:25 +0100)]
wifi: Set AP ciphers to CCMP only
For security reasons, only AES is supported.
Samuel Ortiz [Wed, 2 Feb 2011 23:23:13 +0000 (00:23 +0100)]
gsupplicant: Set WPA ciphers
Samuel Ortiz [Wed, 2 Feb 2011 23:19:35 +0000 (00:19 +0100)]
wifi: Initial tethering support
Samuel Ortiz [Tue, 1 Feb 2011 17:58:45 +0000 (18:58 +0100)]
gsupplicant: Add interface ap_scan property setting
Samuel Ortiz [Tue, 1 Feb 2011 15:35:08 +0000 (16:35 +0100)]
gsupplicant: Add interface bridge setting
Samuel Ortiz [Mon, 31 Jan 2011 17:55:35 +0000 (18:55 +0100)]
gsupplicant: Call select_network callback
Samuel Ortiz [Sat, 15 Jan 2011 00:43:41 +0000 (01:43 +0100)]
gsupplicant: Add network scan ssid setting
Samuel Ortiz [Sat, 15 Jan 2011 00:38:00 +0000 (01:38 +0100)]
gsupplicant: Add network channel setting
Samuel Ortiz [Mon, 31 Jan 2011 15:38:48 +0000 (16:38 +0100)]
gsupplicant: Add interface mode capability getter
Samuel Ortiz [Fri, 14 Jan 2011 17:36:35 +0000 (18:36 +0100)]
wifi: Track interfaces
Samuel Ortiz [Fri, 14 Jan 2011 17:59:11 +0000 (18:59 +0100)]
gsupplicant: Add network mode support
Samuel Ortiz [Wed, 2 Feb 2011 17:35:36 +0000 (18:35 +0100)]
test: Handle new tethering properties
Samuel Ortiz [Wed, 2 Feb 2011 17:35:08 +0000 (18:35 +0100)]
doc: Update documentation regarding tethering properties
Samuel Ortiz [Wed, 2 Feb 2011 17:33:09 +0000 (18:33 +0100)]
tethering: Add a tethering property per technology
The manager tethering property is now gone.
Daniel Wagner [Thu, 27 Jan 2011 14:31:36 +0000 (15:31 +0100)]
dnsproxy: Fallback to resolv.conf if dnsproxy fails
In case dnsproxy can't create the socket listener we
should fall back to resolv.conf.
Reported by Kalle Valo <kalle.valo@canonical.com>
Grant Erickson [Mon, 31 Jan 2011 14:56:54 +0000 (15:56 +0100)]
stats: Fix double free error
The error appears when stats_file_remap() fails.
Marcel Holtmann [Fri, 28 Jan 2011 23:07:44 +0000 (00:07 +0100)]
Release 0.68
Samuel Ortiz [Fri, 28 Jan 2011 15:25:59 +0000 (16:25 +0100)]
wifi: Remove legacy plugin
Kalle Valo [Fri, 28 Jan 2011 15:02:49 +0000 (17:02 +0200)]
nmcompat: D-Bus configuration file
Add separate dbus configuration file for nmcompat plugin. It will
installed only when the plugin is enabled.
Kalle Valo [Fri, 28 Jan 2011 15:02:43 +0000 (17:02 +0200)]
nmcompat: Support nm dbus properties
After some investigation I found that network-manager also provides
the network state through properties and libnm-glib library uses this
instead of the GetState() method.
Add Get() method call retrieve the property and a PropertyChanged signal
to notify state changes. Now empathy, which uses libnm-glib, properly
detects network state changes.
I deliberately omitted GetAll() method because libnm-glib doesn't seem
to need it.
Kalle Valo [Fri, 28 Jan 2011 15:02:36 +0000 (17:02 +0200)]
nmcompat: Add plugin
Add plugin which provides network-manager state interface to applications.
This is a direct copy of what was in src/manager.c, just copied all into
a plugin.
Kalle Valo [Fri, 28 Jan 2011 15:02:30 +0000 (17:02 +0200)]
manager: Remove network-manager compatibility code
Remove the network-manager compatibility code from src/manager.c so that all
this can be implemented as a plugin.
-c command line switch is still left but marked as obsole to avoid breaking
current start scripts. By removing the switch connman would not start at
all if -c is used.
Marcel Holtmann [Fri, 28 Jan 2011 12:46:58 +0000 (13:46 +0100)]
build: Fix checks for systemd unit directory
Marcel Holtmann [Fri, 28 Jan 2011 12:14:09 +0000 (13:14 +0100)]
build: Remove deprecated --enable-dnsproxy option
Daniel Wagner [Fri, 28 Jan 2011 08:48:26 +0000 (09:48 +0100)]
TODO: Remove DNS Proxy entry
Daniel Wagner [Thu, 27 Jan 2011 12:34:51 +0000 (13:34 +0100)]
dhcp: Move plugins/dhcp in to core
Mohamed Abbas [Fri, 28 Jan 2011 04:55:36 +0000 (20:55 -0800)]
openconnect: error_code implementation
Mohamed Abbas [Fri, 28 Jan 2011 04:55:35 +0000 (20:55 -0800)]
vpnc: error_code implementation
Mohamed Abbas [Fri, 28 Jan 2011 11:36:53 +0000 (12:36 +0100)]
vpn: Allow plugins to report error code
Mohamed Abbas [Fri, 28 Jan 2011 04:55:33 +0000 (20:55 -0800)]
provider: Report VPN error code
Mohamed Abbas [Fri, 28 Jan 2011 11:31:30 +0000 (12:31 +0100)]
task: Pass exit code to the exit callback
Samuel Ortiz [Fri, 28 Jan 2011 00:26:24 +0000 (01:26 +0100)]
vpn: Fix vpn_died prototype
Daniel Wagner [Thu, 27 Jan 2011 15:54:23 +0000 (16:54 +0100)]
openvpn: Use parser table instead of open coding
Use the same approach as in VPNC for passing
arguments from the provider to OpenVPN client.
Samuel Ortiz [Thu, 27 Jan 2011 15:26:44 +0000 (16:26 +0100)]
service: Check for WPS support only in the WiFi case
Daniel Wagner [Thu, 27 Jan 2011 13:11:19 +0000 (14:11 +0100)]
provider: route_env_parse should depend on type not name
Daniel Wagner [Thu, 27 Jan 2011 13:11:18 +0000 (14:11 +0100)]
openvpn: Fix typo in routing prefix check
Tomasz Bursztyka [Wed, 26 Jan 2011 08:09:45 +0000 (10:09 +0200)]
TODO: Removing WPS related part
Tomasz Bursztyka [Wed, 26 Jan 2011 08:09:44 +0000 (10:09 +0200)]
gsupplicant: Disconnect request might not need to go through RemoveNetwork call
Tomasz Bursztyka [Wed, 26 Jan 2011 08:09:43 +0000 (10:09 +0200)]
test: WPS input added in agent test script
Tomasz Bursztyka [Wed, 26 Jan 2011 08:09:42 +0000 (10:09 +0200)]
service: WPS connection logic
Tomasz Bursztyka [Wed, 26 Jan 2011 08:09:41 +0000 (10:09 +0200)]
agent: WPS input request logic
Tomasz Bursztyka [Wed, 26 Jan 2011 08:09:40 +0000 (10:09 +0200)]
service: WPS enabled getter
Tomasz Bursztyka [Wed, 26 Jan 2011 08:09:39 +0000 (10:09 +0200)]
doc: WPS method input documentation added to agent-api.txt
Tomasz Bursztyka [Wed, 26 Jan 2011 08:09:38 +0000 (10:09 +0200)]
test: WPS property support
Tomasz Bursztyka [Wed, 26 Jan 2011 08:09:37 +0000 (10:09 +0200)]
doc: Add service WPS attribute to service-api.txt
Tomasz Bursztyka [Wed, 26 Jan 2011 08:09:36 +0000 (10:09 +0200)]
service: WPS support
Tomasz Bursztyka [Wed, 26 Jan 2011 08:09:35 +0000 (10:09 +0200)]
wifi: WPS support
Tomasz Bursztyka [Wed, 26 Jan 2011 08:09:34 +0000 (10:09 +0200)]
network: WPS support
Tomasz Bursztyka [Wed, 26 Jan 2011 08:09:33 +0000 (10:09 +0200)]
gsupplicant: WPS start() method implementation
Tomasz Bursztyka [Wed, 26 Jan 2011 08:09:32 +0000 (10:09 +0200)]
gsupplicant: WPS event signal support
Tomasz Bursztyka [Wed, 26 Jan 2011 08:09:31 +0000 (10:09 +0200)]
gsupplicant: WPS credentials signal support
Tomasz Bursztyka [Wed, 26 Jan 2011 08:09:30 +0000 (10:09 +0200)]
gsupplicant: bss/network wps enabled support
Pekka Pessi [Wed, 26 Jan 2011 14:50:40 +0000 (16:50 +0200)]
ofono: be proactive with registration status
Return error immediately if connection attempts are known to fail.
Pekka Pessi [Wed, 26 Jan 2011 14:50:39 +0000 (16:50 +0200)]
ofono: be proactive when connecting
Return error immediately if connection attempts are known to fail.
Pekka Pessi [Wed, 26 Jan 2011 14:50:38 +0000 (16:50 +0200)]
service: Mark service as failed if connect fails
The connman_network/provider_connect() could fail in two different ways,
returning an error code or setting the service state to failed.
Ethernet, WiMax, Bluetooth, VPN, Cellular and WiFi services now get
marked as failed if connect() fails with error code, too. This makes
connman_service_clear_error() and the autoconnect procedure to behave in
consistent manner.
Pekka Pessi [Wed, 26 Jan 2011 14:50:37 +0000 (16:50 +0200)]
ofono: Retry autoconnect when gprs gets attached
Pekka Pessi [Wed, 26 Jan 2011 14:50:36 +0000 (16:50 +0200)]
network: Add connman_network_clear_error()
Clear the error on corresponding service (and set reconnect) in order to
retry autoconnecting.
Mohamed Abbas [Thu, 27 Jan 2011 07:55:28 +0000 (23:55 -0800)]
Makefile: Add build suppport for the vpnc plugin
Mohamed Abbas [Thu, 27 Jan 2011 09:49:46 +0000 (10:49 +0100)]
plugins: Initial vpnc support
Samuel Ortiz [Wed, 26 Jan 2011 23:46:36 +0000 (00:46 +0100)]
dnsproxy: Fix public server support
Samuel Ortiz [Wed, 26 Jan 2011 23:05:10 +0000 (00:05 +0100)]
provider: Factorize VPN routing environment variables parsing
Samuel Ortiz [Wed, 26 Jan 2011 20:23:28 +0000 (21:23 +0100)]
provider: Set service pointer for provider_set_nameservers
Samuel Ortiz [Wed, 26 Jan 2011 16:03:12 +0000 (17:03 +0100)]
provider: Implement IPv6 route setting
Samuel Ortiz [Wed, 26 Jan 2011 14:46:44 +0000 (15:46 +0100)]
inet: IPv6 network route setting API
Daniel Wagner [Wed, 26 Jan 2011 08:22:06 +0000 (09:22 +0100)]
provider: Handle empty nameservers
If the VPN server doesn't set any DNS entries provider->nameservers is NULL.
When we change the state of the provider to CONNMAN_PROVIDER_STATE_READY
we shouldn't do any string operations on the NULL pointer namerservers.
(gdb) bt full
No symbol table info available.
type = CONNMAN_ELEMENT_TYPE_IPV4
nameservers = 0x0
value = 0x0
list = 0x1 = {<error reading variable list (Cannot access memory at address 0x1)>
err = 0
element = 0x6a5110
name = 0x6a5550 "vpn0"
second_ns = 0x69f1c0 "\004"
service = 0x6a2630
No locals.
Fixes BMC#12508
Reported by Jeff Zheng <jeff.zheng@intel.com>
Daniel Wagner [Wed, 26 Jan 2011 08:50:32 +0000 (09:50 +0100)]
ondemand: Remove ondemand.c
Daniel Wagner [Wed, 26 Jan 2011 08:50:33 +0000 (09:50 +0100)]
resolver: Only support resolv.conf and dnsproxy
Remove resolver module support.
Daniel Wagner [Wed, 26 Jan 2011 08:50:31 +0000 (09:50 +0100)]
dnsproxy: Add command line switch
Command line switch to disable dnsproxy.
Daniel Wagner [Wed, 26 Jan 2011 08:50:30 +0000 (09:50 +0100)]
dnsproxy: Fix checkpatch warnings
Daniel Wagner [Wed, 26 Jan 2011 08:50:29 +0000 (09:50 +0100)]
dnsproxy: Move from plugins to core
Lucas De Marchi [Wed, 26 Jan 2011 00:23:13 +0000 (01:23 +0100)]
configure: Do not fail when systemd is not installed
Use --with-systemdsystemunitdir instead of --enabled-systemd so it's
possible to enable systemd even if systemd is not installed.
Mohamed Abbas [Tue, 25 Jan 2011 22:17:37 +0000 (14:17 -0800)]
gweb: Check GString pointers before freeing them
Fixes BMC#12452
Mohamed Abbas [Tue, 25 Jan 2011 23:31:54 +0000 (00:31 +0100)]
wifi: Balance scanning states
By setting the scan state to TRUE from wifi_scan() and setting it back
to FALSE in the callback, the wifi device scanning state is consistent.
Fixes BMC#12104
Marcel Holtmann [Mon, 24 Jan 2011 16:41:30 +0000 (17:41 +0100)]
Small coding style fixup for bridge enabling
Robert Piasek [Fri, 21 Jan 2011 16:19:28 +0000 (16:19 +0000)]
Install polkit policy file as net.connman.policy
Li Jian [Thu, 20 Jan 2011 07:40:57 +0000 (15:40 +0800)]
Add debug info
Some init/clean functions lack DBG("") which affects logs readability.