Jukka Rissanen [Wed, 2 May 2012 09:56:19 +0000 (12:56 +0300)]
wifi: Plugin internal variable was not static
Jukka Rissanen [Fri, 27 Apr 2012 10:55:46 +0000 (13:55 +0300)]
connection: Set host route to VPN server
This is needed so that we can access hosts behind the VPN.
The route might already be setup if VPN server is the same
as nameserver or similar.
Marcel Holtmann [Tue, 1 May 2012 08:16:52 +0000 (10:16 +0200)]
test: Also monitor technology changes
Patrik Flykt [Mon, 30 Apr 2012 11:13:01 +0000 (14:13 +0300)]
service: Use helper function to add timeservers only once
Patrik Flykt [Mon, 30 Apr 2012 11:13:00 +0000 (14:13 +0300)]
clock: Use helper function to add timeservers only once
Patrik Flykt [Mon, 30 Apr 2012 11:12:59 +0000 (14:12 +0300)]
timeserver: Use helper function to add timeservers only once
Patrik Flykt [Mon, 30 Apr 2012 11:12:58 +0000 (14:12 +0300)]
timeserver: Helper function for adding timeservers once to a list
Patrik Flykt [Mon, 30 Apr 2012 11:12:40 +0000 (14:12 +0300)]
README: Fix version number typo
Marcel Holtmann [Sun, 29 Apr 2012 23:35:23 +0000 (01:35 +0200)]
notifier: Return offline as global state if offline mode is enabled
Marcel Holtmann [Sun, 29 Apr 2012 23:31:24 +0000 (01:31 +0200)]
test: Update service monitoring script
Marcel Holtmann [Sun, 29 Apr 2012 23:27:43 +0000 (01:27 +0200)]
test: Remove script to monitor manager
Marcel Holtmann [Sun, 29 Apr 2012 23:17:11 +0000 (01:17 +0200)]
doc: Fix tabs vs spaces for service and technology documentation
Marcel Holtmann [Sun, 29 Apr 2012 23:13:52 +0000 (01:13 +0200)]
doc: Fix tabs vs spaces for agent documentation
Marcel Holtmann [Sun, 29 Apr 2012 13:13:21 +0000 (15:13 +0200)]
Release 0.84
Marcel Holtmann [Sun, 29 Apr 2012 10:59:18 +0000 (12:59 +0200)]
build: Remove dependency on libcap-ng
Marcel Holtmann [Sat, 28 Apr 2012 23:30:25 +0000 (01:30 +0200)]
test: Update service monitoring script
Marcel Holtmann [Sat, 28 Apr 2012 23:15:41 +0000 (01:15 +0200)]
test: Add more pretty print for service monitoring
Marcel Holtmann [Sat, 28 Apr 2012 23:12:44 +0000 (01:12 +0200)]
test: Add pretty printing for timeservers
Marcel Holtmann [Sat, 28 Apr 2012 23:06:19 +0000 (01:06 +0200)]
notifier: Remove DefaultTechnology signal
Marcel Holtmann [Sat, 28 Apr 2012 23:03:52 +0000 (01:03 +0200)]
README: Mention wpa_supplicant version details
Marcel Holtmann [Sat, 28 Apr 2012 22:59:56 +0000 (00:59 +0200)]
plugins: Update copyright information
Marcel Holtmann [Sat, 28 Apr 2012 22:59:40 +0000 (00:59 +0200)]
core: Update copyright information
Marcel Holtmann [Sat, 28 Apr 2012 22:58:58 +0000 (00:58 +0200)]
tools: Update copyright information
Marcel Holtmann [Sat, 28 Apr 2012 22:58:34 +0000 (00:58 +0200)]
gsupplicant: Update copyright information
Marcel Holtmann [Sat, 28 Apr 2012 22:58:22 +0000 (00:58 +0200)]
gdhcp: Update copyright information
Marcel Holtmann [Sat, 28 Apr 2012 22:57:38 +0000 (00:57 +0200)]
gweb: Update copyright information
Marcel Holtmann [Sat, 28 Apr 2012 22:49:54 +0000 (00:49 +0200)]
nmcompat: Use more detailed state information
Marcel Holtmann [Sat, 28 Apr 2012 22:19:28 +0000 (00:19 +0200)]
notifier: Fix small coding style issue
Marcel Holtmann [Sat, 28 Apr 2012 22:05:21 +0000 (00:05 +0200)]
nmcompat: Fix error message
Tomasz Bursztyka [Sat, 28 Apr 2012 09:00:08 +0000 (12:00 +0300)]
gssuplicant: Fix when a bss should be added or replaced in a network
Note: on wpa_supplivant 0.7.x this fixes bug 21332 _only_ when switching
from wep to psk, not the other way round due to wpa_supplicant not telling
about RSN/WPA fields being empty. This could be fixed in parsing IE every
time it is updated, if wpa_s signals it. It work properly on
wpa_supplicant 0.8.x and 1.x since signaling RSN/WPA changes has been
fixed.
Fixes BMC#21332
Tomasz Bursztyka [Sat, 28 Apr 2012 09:00:07 +0000 (12:00 +0300)]
gsupplicant: Added more debugging messages when adding or replacing a network
Tomasz Bursztyka [Sat, 28 Apr 2012 09:00:06 +0000 (12:00 +0300)]
gsupplicant: Creating an helper function to compute bss security
Tomasz Bursztyka [Sat, 28 Apr 2012 09:00:05 +0000 (12:00 +0300)]
gsupplicant: Renaming a function for a more relevant name
Marcel Holtmann [Fri, 27 Apr 2012 23:05:06 +0000 (01:05 +0200)]
Release 0.83
Patrik Flykt [Fri, 27 Apr 2012 14:33:18 +0000 (17:33 +0300)]
wispr: Set host routes when requested by gweb
Set host routes via the interface and identified gateway when
requested by gweb. Remove host routes when the check is done.
Fixes BMC#25061
Patrik Flykt [Fri, 27 Apr 2012 14:33:17 +0000 (17:33 +0300)]
ipconfig: Add ipconfig type to __connman_ipconfig_get_gateway_from_index()
In order to be able to request a certain ipconfig type, add the type
as a parameter to __connman_ipconfig_get_gateway_from_index().
Patrik Flykt [Fri, 27 Apr 2012 14:33:16 +0000 (17:33 +0300)]
tools: Add WISPr route request debug printouts
Update g_web_request_get() and add WISPr route request debug
printouts.
Patrik Flykt [Fri, 27 Apr 2012 14:33:15 +0000 (17:33 +0300)]
wispr: Update g_web_request_get()
Patrik Flykt [Fri, 27 Apr 2012 14:33:14 +0000 (17:33 +0300)]
6to4: Update g_web_request_get()
Patrik Flykt [Fri, 27 Apr 2012 14:33:13 +0000 (17:33 +0300)]
gweb: Define GWebRouteFunc
Define GWebRouteFunc that will be called when a route to the
intended destination may need to be set up.
Jukka Rissanen [Fri, 27 Apr 2012 13:01:52 +0000 (16:01 +0300)]
technology: Create the settings file in init
We save offline mode status in init so that settings
file gets created if it was missing.
Jukka Rissanen [Fri, 27 Apr 2012 13:01:51 +0000 (16:01 +0300)]
technology: Save technology state if entry is missing from file
So we save the technology status if the settings file does not
contain it.
Jukka Rissanen [Fri, 27 Apr 2012 13:01:50 +0000 (16:01 +0300)]
storage: Create settings file only when migrating
The settings file is created only when migrating
from default.profile. This means that technology
default values are used if settings file does not
exists.
Jukka Rissanen [Fri, 27 Apr 2012 13:01:49 +0000 (16:01 +0300)]
technology: Offline mode is OFF by default
By defalt offline mode is OFF if settings file
is not found or OfflineMode entry is not found
in settings file.
Jukka Rissanen [Fri, 27 Apr 2012 13:01:48 +0000 (16:01 +0300)]
technology: Enable ethernet by default
Ethernet is enabled by default if settings file is not found
or the Wired entry is not found in the file.
Marcel Holtmann [Fri, 27 Apr 2012 12:07:56 +0000 (14:07 +0200)]
AUTHORS: Metion Adrien's contribution
Adrien Bustany [Fri, 27 Apr 2012 07:59:04 +0000 (10:59 +0300)]
openvpn: Fix --comp-lzo parameter handling
The previous code would assume all commandline options to have a value,
whereas --comp-lzo does not. As a result, openvpn's argv would have a
spurious empty string in its argv, and openvpn would not launch.
Patrik Flykt [Thu, 26 Apr 2012 13:28:20 +0000 (16:28 +0300)]
test: Pretty-print timservers in list-services
Marcel Holtmann [Thu, 26 Apr 2012 16:22:07 +0000 (18:22 +0200)]
build: Fix broken build without GnuTLS
Alok Barsode [Thu, 26 Apr 2012 10:17:43 +0000 (13:17 +0300)]
agent: If service has no security, do not ask for a passphrase
Tomasz Bursztyka [Thu, 26 Apr 2012 07:30:20 +0000 (10:30 +0300)]
wifi: Set connected to false before associating when disconnected
This way it will trigger the error which will be reported to service.
Tomasz Bursztyka [Wed, 25 Apr 2012 15:39:19 +0000 (18:39 +0300)]
wifi: Be connected when relevant, stay connected if roaming
Marcel Holtmann [Thu, 26 Apr 2012 06:29:50 +0000 (08:29 +0200)]
doc: Fix description of technology scan method
Marcel Holtmann [Wed, 25 Apr 2012 15:22:54 +0000 (17:22 +0200)]
build: Fix broken --disable-bluetooth
Tomasz Bursztyka [Wed, 25 Apr 2012 11:22:14 +0000 (14:22 +0300)]
service: Fixing which wpspin we set according to PBC method or not
For PBC method, the WiFi.PinWPS has to be NULL.
Fixes BMC#25076
Jukka Rissanen [Wed, 25 Apr 2012 07:41:59 +0000 (10:41 +0300)]
dnsproxy: Delay cache removal
The idea here is to delay cache removal few seconds if there
are no cache users any more (refcount goes to 0). This is useful
for IPv6 RDNSS where new DNS servers are created right after old
one is removed. In this case we do not want to loose the cache
that still has perfectly valid data.
Jukka Rissanen [Wed, 25 Apr 2012 08:20:04 +0000 (11:20 +0300)]
ipconfig: Do not tweak IPv6 status of ignored devices
Marcel Holtmann [Wed, 25 Apr 2012 08:56:23 +0000 (10:56 +0200)]
ethernet: Fix small whitespace issue
Patrik Flykt [Wed, 25 Apr 2012 08:35:03 +0000 (11:35 +0300)]
service: Stay at ready state with a preferred technology
Stay at ready state with a preferred technology also when the
online check fails. Otherwise we end up in an endless autoconnect
loop with two preferred WiFi networks where neither one goes to
online.
Print out a warning message when the online check fails.
Tomasz Bursztyka [Wed, 25 Apr 2012 05:27:36 +0000 (08:27 +0300)]
service: Use the right network keyword for wps
Marcel Holtmann [Tue, 24 Apr 2012 15:17:10 +0000 (17:17 +0200)]
Release 0.82
Tomasz Bursztyka [Tue, 24 Apr 2012 15:10:00 +0000 (18:10 +0300)]
wifi: Fixing autoscan device unref issues
- stop_autoscan() should unref the device only when relevant, i.e. when
interval and/or timeout have been set.
- autoscan_scan_callback() should unref the device since it has been
referenced in throw_wifi_scan()
Jukka Rissanen [Tue, 24 Apr 2012 13:40:41 +0000 (16:40 +0300)]
resolver: Use proper IPv6 source address when sending DNS queries
This fix is for following scenario:
- New interface is coming up.
- There is radvd in the connected network and it is
advertising IPv6 addresses and DNS servers.
- Kernel receives router advertisement and picks up the DNS
server information which is then routed via netlink to
rtnl.c:rtnl_newnduseropt() which then creates DNS listener.
- Kernel activates DAD (duplicate address detection).
- As the DAD takes some time we now have interface up
and it only has link local IPv6 address defined.
- The DNS listener is now using link local source addresses when
sending queries instead of proper autoconfigured addresses.
- When DAD is finished, the interface will have autoconfigured
addresses assigned and corresponding netlink message will cause
function rtnl.c:process_newaddr() to be called.
- If all this happens, then we re-create DNS listener
in dnsproxy.c so that listener will have a proper
(autoconfigured) source address when sending DNS packets.
Tomasz Bursztyka [Tue, 24 Apr 2012 13:29:51 +0000 (16:29 +0300)]
wifi: Autoscan should be started or stopped according to interface's state
Tomasz Bursztyka [Tue, 24 Apr 2012 13:41:37 +0000 (16:41 +0300)]
wifi: Autoscan fallback using a base exponential of 3 and a shorter limit
A base of 2 creates too many scans on too short times, so a base of 3 reduces
this amount. And a limit of 3600 is way too much, a scan every 5 minute is
more relevant.
Patrik Flykt [Tue, 24 Apr 2012 12:34:30 +0000 (15:34 +0300)]
notifier: Handle Manager state when exiting online
Service state can transition from online to disconnect like this:
1) old online - new disconnect/association => association
2) old association - new disconnect/disconnect => disconnect
Create a separate function for leaving online mode, don't rely on
the previous old_state in service_indicate_state().
Fixes BMC#25073
Tomasz Bursztyka [Tue, 24 Apr 2012 14:15:57 +0000 (17:15 +0300)]
service: a wps pin of length 0 is valid and leads to pbc method usage
Tomasz Bursztyka [Tue, 24 Apr 2012 13:46:05 +0000 (16:46 +0300)]
README: adding necessary configuration hints about wpa_supplicant
Patrik Flykt [Tue, 24 Apr 2012 11:02:35 +0000 (14:02 +0300)]
timeserver: Fix NULL network struct access for VPN
A VPN does not have a network struct set. Thus do not attempt to
look up the corresponding interface index for a NULL network
pointer.
Fixes BMC#25075
Marcel Holtmann [Mon, 23 Apr 2012 15:21:07 +0000 (17:21 +0200)]
Release 0.81
Marcel Holtmann [Mon, 23 Apr 2012 15:03:35 +0000 (17:03 +0200)]
doc: Update README to actually reflect reality
Tomasz Bursztyka [Mon, 23 Apr 2012 08:22:21 +0000 (11:22 +0300)]
device: Removing emulated background scanning
Such "background" scanning was in use only for wifi devices. Such feature
is now fully moved and better supported in connman's wifi plugin.
Tomasz Bursztyka [Mon, 23 Apr 2012 08:22:20 +0000 (11:22 +0300)]
device: Remove the scheduled scan method
wifi was the only one using it, and this is replaced by the combination of
bgscan and autoscan.
Tomasz Bursztyka [Mon, 23 Apr 2012 08:22:19 +0000 (11:22 +0300)]
wifi: Remove old background scanning technique call
Tomasz Bursztyka [Mon, 23 Apr 2012 08:22:18 +0000 (11:22 +0300)]
wifi: Specify bgscan parameters according to main.conf settings
Tomasz Bursztyka [Mon, 23 Apr 2012 08:22:17 +0000 (11:22 +0300)]
wifi: Setup autoscan according to the main.conf settings
Tomasz Bursztyka [Mon, 23 Apr 2012 08:22:16 +0000 (11:22 +0300)]
wifi: Adding support for autoscan emulation
Tomasz Bursztyka [Fri, 20 Apr 2012 12:18:36 +0000 (15:18 +0300)]
wifi: Decide to use WPS PBC if the AP is already advertizing for it
Tomasz Bursztyka [Fri, 20 Apr 2012 12:18:35 +0000 (15:18 +0300)]
gsupplicant: Add WPS specific capabilities handling for network
Tomasz Bursztyka [Fri, 20 Apr 2012 12:18:34 +0000 (15:18 +0300)]
gsupplicant: Add WPS specific capabilities parsing for BSS
Marcel Holtmann [Sat, 21 Apr 2012 20:04:29 +0000 (22:04 +0200)]
build: Remove useless alg-test example program
Marcel Holtmann [Sat, 21 Apr 2012 20:02:39 +0000 (22:02 +0200)]
build: Build client and testing tools by default
Marcel Holtmann [Sat, 21 Apr 2012 19:40:20 +0000 (21:40 +0200)]
build: Allow NM and PolicyKit plugins only as builtins
Marcel Holtmann [Sat, 21 Apr 2012 11:53:01 +0000 (13:53 +0200)]
build: Remove duplicate test for wpa_supplicant
Marcel Holtmann [Sat, 21 Apr 2012 11:44:30 +0000 (13:44 +0200)]
build: Always enable essential plugins by default
Marcel Holtmann [Sat, 21 Apr 2012 11:18:32 +0000 (13:18 +0200)]
build: Remove useless fake plugin
Lucas De Marchi [Fri, 20 Apr 2012 16:02:49 +0000 (13:02 -0300)]
build: add unit tests to .gitignore
Lucas De Marchi [Fri, 20 Apr 2012 16:02:48 +0000 (13:02 -0300)]
gweb: don't use deprecated gnutls_session typedef
According to gnutls/compat.h, gnutls_session typedef was deprecated
since 2.x in favor of gnutls_session_t. Use the new typedef then.
Lucas De Marchi [Fri, 20 Apr 2012 16:02:47 +0000 (13:02 -0300)]
gdhcp: fix strict-aliasing warning
The previous way was giving the following warning with gcc 4.7:
CC gdhcp/common.o
gdhcp/common.c: In function 'dhcp_add_simple_option':
gdhcp/common.c:275:38: error: dereferencing type-punned pointer will
break strict-aliasing rules [-Werror=strict-aliasing
Change it slightly so not to give this warning.
Daniel Wagner [Fri, 20 Apr 2012 14:35:48 +0000 (16:35 +0200)]
technology: Fix indention
Jussi Kukkonen [Fri, 20 Apr 2012 13:54:21 +0000 (15:54 +0200)]
ofono: Only register network when APN is set
Empty AccessPointName in a oFono internet context means it cannot
be activated: Don't create networks in this situation.
The conditions for adding a network are then
a) modem supports NetworkRegistration
b) modem has a context with a valid APN
Fixes BMC#24959
Daniel Wagner [Fri, 20 Apr 2012 13:14:56 +0000 (15:14 +0200)]
ofono: Fix network_driver name
Patrik Flykt [Fri, 20 Apr 2012 13:07:33 +0000 (16:07 +0300)]
service: Notify timeserver removal for previous default service
Patrik Flykt [Fri, 20 Apr 2012 13:07:32 +0000 (16:07 +0300)]
timeserver: Notify service of changed timeservers
Patrik Flykt [Fri, 20 Apr 2012 13:07:31 +0000 (16:07 +0300)]
service: Implement service Timeservers property
Fixes BMC#25054.
Patrik Flykt [Fri, 20 Apr 2012 13:07:30 +0000 (16:07 +0300)]
timeserver: Refactor __connman_timeserver_sync()
Factor out code that creates the timeserver list in
__connman_timeserver_sync().
Patrik Flykt [Fri, 20 Apr 2012 13:07:29 +0000 (16:07 +0300)]
configure.ac: Require glib >= 2.28
Jukka Rissanen [Fri, 20 Apr 2012 11:38:56 +0000 (14:38 +0300)]
service: Save new service data only after successful connect
The data for new service was saved into disk (with Favorite=false)
even if the first connection failed. This is now changed and
service data is only saved if user has been able to connect to a
service at least once.
Patrik Flykt [Fri, 20 Apr 2012 11:54:27 +0000 (14:54 +0300)]
main: Mark end of array with NULL in order not to crash
Jukka Rissanen [Fri, 20 Apr 2012 11:28:30 +0000 (14:28 +0300)]
agent: Memory leak in passphrase reply
The pending call was not unreffed.