summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-03-20set-ipv4-method: The arguments have to be wrapped into a variantDaniel Wagner1-4/+7
Fixes BMC#24986
2012-03-20list-services: Print only identifier instead of pathDaniel Wagner1-1/+2
test-connman services also reports the identifier only. This makes copy&paste with the mouse a bit simpler.
2012-03-20service: Fix refcount leak on ipconfigsDaniel Wagner1-0/+25
In __connman_service_connect() we call __connman_ipconfig_enable() which takes a ref on the ipconfig object. Later when the service state machine is updated service takes another ref. When the device disapears during operation (the user didn't call Service.Disconnect()), we do not call __connman_ipconfig_disable() anymore which would drop one ref.
2012-03-20ipconfig: Disable IPv6 for new interfacesDaniel Wagner1-0/+7
We don't have yet an ipconfig for this interface, that means the service.c does not yet know this interface. In order to be able to get into sync we disable IPv6 auto connection at this point. If the service state machine decides to connect, it will enable it again.
2012-03-20ipconfig: Track ipconfigs enabled/disabled stateDaniel Wagner1-0/+7
2012-03-20ipconfig: Do not enable IPv6 ipconfigs when loading the propertiesDaniel Wagner1-3/+0
When enabling IPv6 when loading the Service properties, the Service state machine gets out of sync when AutoConnect is disabled. At this point we should only load the properties and let the Service state machine decide when to enable the ipconfigs. And the good news is that the core handles this already.
2012-03-20service: Enable AutoConnect for new ethernet servicesDaniel Wagner1-1/+2
We need also to set the Favorite flag to true in order to let the services to be auto connected.
2012-03-20service: Load/store AutoConnect and Favorite properties for ethernetDaniel Wagner1-12/+14
2012-03-20ethernet: Do not connect network on LOWER_UPDaniel Wagner1-2/+4
Ethernet networks should honor the AutoConnect feature as the rest of the network types. Just register the network object at the core when we get LOWER_UP. Then the core can decide when to connect to the network. There is no behavior change when AutoConnect is enabled, So if the user plugs the cable the ethernet network will automatically connect as it was before. If AutoConnect is disabled, the core will not connect to the network automatically.
2012-03-19vpn: Remove wrong include of <glib/ghash.h>Marcel Holtmann1-1/+0
2012-03-19wispr: do not take care about http_proxyTomasz Bursztyka1-3/+0
2012-03-19wispr: do not lookup for proxy if service does not provide anyTomasz Bursztyka1-6/+23
2012-03-19connection: Try to avoid having two default gatewaysJukka Rissanen1-13/+131
It is possible that because the rtnl messages arrive asynchronously, we might end up having two default gateways that are both active at the same time. If that happens, we try to downgrade the one that is not yet active.
2012-03-19connection: Remove obsolete routes for VPNJukka Rissanen1-6/+0
2012-03-19connection: Check all active gateways in updateJukka Rissanen1-17/+34
There can be multiple active gateways in the system at the same time so we must check them all when updating gateway info.
2012-03-19connection: Get correct VPN phy link dataJukka Rissanen1-56/+93
VPN could be using wrong phy link data if there are multiple active links.
2012-03-19connection: Do not set host routes in VPN caseJukka Rissanen1-17/+0
These routes are not needed.
2012-03-19connection: Avoid stale memory accessJukka Rissanen1-1/+2
Get the active gateway pointer only after the gateway hash has been manipulated by add_gateway(). It is possible that we are accessing stale pointer otherwise.
2012-03-19service: Check redundant default changed notifyJukka Rissanen1-1/+6
Notify default service changed only if we actually changed the default service.
2012-03-19service: Allow removing only certain type nameserversJukka Rissanen3-11/+23
When nameserver are removed by __connman_connection_gateway_remove() then remove only certain type nameserver (IPv4 or IPv6). This is needed so that we do not loose IPv4 routes if only IPv6 nameservers are to be removed. This is needed when there are multiple connected services.
2012-03-19connection: Remove nameserver routes only onceJukka Rissanen1-2/+0
2012-03-19connection: Trigger service updates only after setting gatewaysJukka Rissanen1-7/+15
This is needed so that gateways are set properly when service triggers online checks.
2012-03-19connection: Fix debugging printsJukka Rissanen1-3/+40
2012-03-19inet: Fix debugging printsJukka Rissanen1-7/+14
2012-03-06Release 0.790.79Marcel Holtmann2-1/+12
2012-03-06test: test-session does not exit any more when catching dbus exceptionsTomasz Bursztyka1-7/+0
Fixes BMC#24964
2012-03-06test: Support the possibility to input multiple parameters into simple-agentTomasz Bursztyka1-4/+0
Fixes BMC#24965
2012-03-06test: Add support of hidden service input into simple-agentTomasz Bursztyka1-2/+35
2012-03-05ofono: Remove network whenever context is removedJussi Kukkonen1-0/+3
Fixes BMC#24942
2012-03-05ofono: fix modem lookup in cm_context_added()Jussi Kukkonen1-1/+1
2012-03-04ipconfig: Fix broken attempt to handle {IPv4,IPv6}.ConfigurationMarcel Holtmann1-45/+14
2012-03-04service: Fix two small style issuesMarcel Holtmann1-2/+2
2012-03-04core: Add extra checks for set property methodsMarcel Holtmann4-0/+28
2012-03-04clock: Revert change to accept variant of variantMarcel Holtmann1-25/+0
2012-03-01AUTHORS: Metion Tim's contributionDaniel Wagner1-0/+1
2012-03-01AUTHORS: Mention Otavio's contributionDaniel Wagner1-0/+1
2012-03-01ipconfig: Accept variant types in __connman_ipconfig_set_config()Tim Sander1-0/+36
According the D-Bus API, the Service interface accepts variant types.
2012-03-01clock: Accept variant types in SetPropertyTim Sander1-0/+25
According the D-Bus API, the Clock interface accepts variant types.
2012-03-01service: Fix ServiceRemoved signalsPatrik Flykt1-10/+5
Removed services hash table need not be consulted when sending ServicesAdded signals as the service structures have already been deleted. Also clean up both added and removed hash tables after the signals have been sent.
2012-03-01inet: Ensure data->channel exist before accessing itOtavio Salvador1-3/+5
Log of segfault: ... connmand[676]: src/network.c:check_dhcpv6() reply (nil) connmand[676]: src/network.c:check_dhcpv6() re-send router solicitation 3 connmand[676]: src/inet.c:__connman_inet_ipv6_send_rs() connmand[676]: Aborting (signal 11) [connmand]
2012-03-01technology: Enable tech if device is already poweredAlok Barsode1-2/+11
connman_technology_add_device() calls __connman_device_enable() but since the device is already enabled, the calls does not propagate through to __connman_technology_enabled via connman_device_set_powered.
2012-03-01core: Change coding style for passing NULL to timeGrant Erickson2-8/+8
Pass NULL rather than 0 when calling time(2) to follow prefered stylistic convention.
2012-03-01dhcpv4-client: Change coding style for passing NULL to timeGrant Erickson1-5/+5
Pass NULL rather than 0 when calling time(2) to follow prefered stylistic convention.
2012-03-01gdhcp: set secs in a RFC 951- and 2131-compliant mannerGrant Erickson1-0/+15
This patch sets the BOOTP secs field in a RFC 951- and 2131-compliant manner for DHCPv4 DISCOVER and REQUEST/SELECT packets. Certain DHCP servers, such as that implemented in Mac OS X (< 10.7) for its "Internet Sharing" feature, refuse to issue a DHCP lease to clients that have not set a non-zero value in their DISCOVER or REQUEST packets. In fact, based on http://hints.macworld.com/article.php? story=20071223001432304, it's not non-zero but a value greater than four (4) seconds to allow another "authoritative" DHCP server on the subnet to reply first. Side-by-side packet analysis of Mac OS X, iOS, Android, ISC and Windows clients show that these clients set the BOOTP 'secs' field and are successfully issued a DHCP lease by Mac OS X. By contrast, a connman-based client will issue 10 back-to-back DISCOVER packets and will not be returned a DHCP OFFER from the server.
2012-02-28AUTHORS: Mention Mario's contributionsDaniel Wagner1-0/+1
2012-02-28ippool: Fix NULL pointer accessMario Domenech Goulart1-1/+1
Not all allocated blocks info data structure have a pool associated.
2012-02-28ippool: Fix typo in error messageMario Domenech Goulart1-1/+1
2012-02-28ofono: Remove obsolete DUN commentDaniel Wagner1-2/+0
2012-02-28test-connman: Use GetServices() instead GetProperties()Daniel Wagner1-59/+34
GetProperties() does not return the services path anymore. Instead the GetServices() method should be used.
2012-02-28list-services: Use GetServices() instead GetProperties()Daniel Wagner1-6/+1
GetProperties() does not return the services path anymore. Instead the GetServices() method should be used.