summaryrefslogtreecommitdiff
path: root/src/connection.c
AgeCommit message (Collapse)AuthorFilesLines
2011-02-22connection: Check gateway_hash value before call update_order()Martin Xu1-0/+3
When exit from ConnMan, __connman_connection_cleanup() is called before __connman_service_cleanup() which then calls update_order(). __connman_connection_cleanup() sets gateway_hash as NULL, so update_order() will access NULL hash and causes GLib-CRITICAL abort
2011-02-15connection: Remove connection elementDaniel Wagner1-195/+135
2011-02-11service: Split service state to IPv4 and IPv6 partsJukka Rissanen1-2/+4
2011-01-05memoryleak: IPv6 gateway was not freedJukka Rissanen1-0/+1
2010-12-31memoryleak: remove the element for realJukka Rissanen1-0/+2
2010-12-21connection: Add gateway host routes for non NULL gatewaysSamuel Ortiz1-2/+5
2010-11-03connection: Prefer IPv4 peer over the regular addressSamuel Ortiz1-1/+7
If the peer IPv4 address is set, this will be the gateway address.
2010-08-20Set VPN services as the default onesSamuel Ortiz1-4/+11
With full-tunnel VPNs, the default service should be the VPN one.
2010-07-29Update service domain name when connection becomes activeMarcel Holtmann1-3/+9
2010-07-29Initial IPv6 supportMartin Xu1-4/+20
Only manual/fixed setting supported for now.
2010-07-14change data->gateway to data->ipv4_gateway in src/connection.cMartin Xu1-21/+23
2010-07-12Check for add_gateway() return value before dereferencing itSamuel Ortiz1-6/+11
add_gateway() also returns NULL for zero length strings.
2010-07-12Set DNS host routes before toggling the service READY stateSamuel Ortiz1-6/+11
update_nameservers() is called when a service hits the READY state. The DNS proxy code will be able to connect to the added nameservers if the right host routes have been set.
2010-07-12Factorize host route setting routineSamuel Ortiz1-4/+4
2010-06-16Support for ppp default route settingKalle Valo1-16/+17
When gateway is NULL, we need to properly set our connection and element string to 0.0.0.0 so that the interface is the default route.
2010-06-10Fix potential uninitilized variable usageMarcel Holtmann1-0/+2
2010-06-10Prefer to use err instead of ret for variable namesMarcel Holtmann1-6/+6
2010-06-08Set default gateway when route deletion failsSamuel Ortiz1-4/+10
When del_routes fails, no gateway deletion event is sent and thus the connection layer doesn't set a proper default gateway.
2010-05-06Clean all VPN added host and gateway entries on VPN disconnectMohamed Abbas1-10/+13
When VPN disconnect we need to clean all gateway and host entries correctly. VPN will add a gatway into active physical interface, this entries need to be delete on VPN disconnect. This patch fixes the issue of more than one defaut gateway showing up. VPN gateway needs extra work to clean and set the gateway since it needs a physical interface to set the host/gateway correctly.
2010-05-06Fix issue with two default gateways when using VPNMohamed Abbas1-0/+1
This patch fixes the issue of more than one defaut gateway showing up. This caused because VPN gatway was added but an active flag never been set, which lead to two active gateway can be registered.
2010-03-25Add static gateway supportMartin Xu1-2/+3
2010-02-11Fix VPN issue when setting up host routeMohamed Abbas1-2/+3
2010-01-05Use common set of INET routing helpersMarcel Holtmann1-210/+17
2010-01-05Add helper for removing host routesMarcel Holtmann1-1/+1
2010-01-05Split gateway and host route setting in two separate functionsMarcel Holtmann1-0/+2
2010-01-01Update copyright informationMarcel Holtmann1-1/+1
2009-12-30Use new functions for setting gateway address or interfaceMartin Xu1-75/+16
2009-12-09Add special routing handling for VPN supportMohamed Abbas1-5/+204
A VPN needs to add the VPN host to activated network gateway and then add the default gateway to the VPN network.
2009-12-07Remove unused connection interfaceMarcel Holtmann1-200/+0
2009-08-08Add support for storing default gateway informationMarcel Holtmann1-2/+0
2009-07-23Fix signals for connected and default technologiesMarcel Holtmann1-0/+2
2009-07-16Delay the update of service list by 2 secondsMarcel Holtmann1-2/+7
2009-07-16Fix handling of strict-aliasing rulesMarcel Holtmann1-29/+38
2009-07-15Return a proper order value for the default serviceMarcel Holtmann1-5/+7
2009-06-30Check for active_gateway being non NULL before dereferencing itSamuel Ortiz1-1/+1
2009-06-26Add support for switching default route based on service orderMarcel Holtmann1-92/+128
2009-05-27Add host route to default gateway firstMarcel Holtmann1-0/+22
2009-05-16Add support for default route notificationsMarcel Holtmann1-4/+15
2009-05-12Fix service state signal emission and error handlingMarcel Holtmann1-2/+4
2009-04-21Add support for service ready and disconnect state changesMarcel Holtmann1-0/+8
2009-04-21Rename helper function to get device/network pathMarcel Holtmann1-2/+2
2009-04-13Remove gateway from list when switching connectionsMarcel Holtmann1-0/+13
2009-03-11Add fully dynamic property storage capabilitiesMarcel Holtmann1-5/+4
2009-01-23Move connection signal handling away from elements coreMarcel Holtmann1-43/+178
2009-01-21Add support for static IPv4 settingsMarcel Holtmann1-27/+2
2009-01-21Verify argument type before processingMarcel Holtmann1-0/+3
2009-01-10Add Device and Network property to connection interfaceMarcel Holtmann1-0/+11
2009-01-06Add support for different security privilegesMarcel Holtmann1-1/+6
2009-01-05Add support for connection strength propertyMarcel Holtmann1-0/+6
2009-01-05Add support for connection type propertyMarcel Holtmann1-1/+7