summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2012-02-28test-connman: Use GetServices() instead GetProperties()Daniel Wagner1-9/+2
GetProperties() does not return the services path anymore. Instead the GetServices() method should be used.
2012-02-28service: Keep ordering and send all services in ServicesAddedPatrik Flykt1-63/+81
Keep services ordering and send also already known services in ServicesAdded signal. Properties are added for new services, while the dictionary is left empty for already known ones. When the service is removed, pack the value of "TRUE" to the removed service hash in order to indicate a removed object path. The service struct cannot be used, as it is freed immediately after returning from service_schedule_removed().
2012-02-28unit: handling type of connection into session apiTomasz Bursztyka2-0/+23
2012-02-28unit: switching from online to state property into test-sessionTomasz Bursztyka3-23/+44
2012-02-28test: modify test-session to handle a new propertyTomasz Bursztyka1-1/+1
2012-02-28test: fixing type conversion bug in test-sessionTomasz Bursztyka1-1/+4
2012-02-28doc: updated session api documentationTomasz Bursztyka1-20/+38
2012-02-28session: filtering session state update according to connection typeTomasz Bursztyka1-3/+44
2012-02-28session: introducing a property to select a type on which the state gets up onTomasz Bursztyka1-4/+52