Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-10-28 | service: Remove the gateways when removing the service | Jukka Rissanen | 1 | -0/+3 | |
This is needed because connection.c takes a reference of the service so we want to remove the gateways properly so that service can be deleted and IP addresses released when disconnection comes from network side (like when ethernet cable is disconnected). | |||||
2011-10-26 | core: Fix compilation in MeeGo | Jukka Rissanen | 4 | -6/+4 | |
The _GNU_SOURCE needs to be defined so that O_CLOEXEC symbols can be found in system header files. The source does not compile without the patch in MeeGo 1.2 | |||||
2011-10-25 | core: Add SOCK_CLOEXEC to socket() | Daniel Wagner | 7 | -39/+39 | |
Make sure all file descriptor are closed. | |||||
2011-10-25 | core: Add O_CLOEXEC to open() | Daniel Wagner | 5 | -10/+10 | |
Make sure all file descriptor are closed. | |||||
2011-10-21 | service: Activate loose mode routing | Jukka Rissanen | 1 | -2/+60 | |
If more than one service is connected at the same time, then activate loose mode routing by setting the /proc/sys/net/ipv4/conf/all/rp_filter to value 2 If the loose mode routing is not activated, then packets are not routed properly if services are connected to same subnet. The original value of rp_filter is restored when the other services are disconnected and only one service is connected. For details of rp_filter setting, see Linux kernel file Documentation/networking/ip-sysctl.txt Fixes BMC#23606 | |||||
2011-10-21 | ipconfig: Set/unset IPv4 rp_filter setting | Jukka Rissanen | 2 | -0/+57 | |
2011-10-21 | network: Remove obsolete service lookup in disconnect | Jukka Rissanen | 1 | -3/+0 | |
2011-10-21 | service: Check NULL pointer | Jukka Rissanen | 1 | -0/+3 | |
2011-10-21 | session: Do not select ongoing service again | Daniel Wagner | 1 | -0/+5 | |
In case Session.Connect() is called several times while the selected services is still going from the IDLE state to ONLINE state (or error state), do not call select_and_connect() again. This leads to an inconsistent ref counting on the service. Fixes BMC#23630 | |||||
2011-10-21 | wispr: Reference count service properly according to contexts | Tomasz Bursztyka | 1 | -0/+4 | |
2011-10-21 | wispr: wispr_start will always re-start a new context | Tomasz Bursztyka | 1 | -13/+13 | |
2011-10-21 | service: wispr fallback when wpad fails | Tomasz Bursztyka | 1 | -0/+1 | |
2011-10-21 | wpad: Reference count service properly | Tomasz Bursztyka | 1 | -1/+3 | |
2011-10-20 | dhcp: Reference count network properly | Jukka Rissanen | 1 | -1/+4 | |
2011-10-20 | inet: Cleanup router solicitation callback properly after error | Jukka Rissanen | 1 | -0/+1 | |
The cleanup routine must be called after an error and after calling RS callback, otherwise the timeout is not removed in right time. | |||||
2011-10-20 | notifier: Don't unnecessarily report "online" state on disconnect | Patrik Flykt | 1 | -3/+7 | |
When a service disconnects, don't send an extra 'online' net.connman.Manager.StateChanged signal if another service is still connected. Fixes BMC#23421 | |||||
2011-10-11 | wispr: Set LoginRequired when wispr login is requested | Tomasz Bursztyka | 1 | -2/+2 | |
Setting it while handling redirection is not bullet proof in case of AP which does not implement well wispr and sends wispr content with no redirection at first place. Fixes BMC#23424 | |||||
2011-10-11 | dnsproxy: Fix can't resolv hostname | Yu A Wang | 1 | -0/+35 | |
When we resolv hostname, we will append the domain name then we may get question section mismatch error. After we get the DNS reply we can remove the domain name again. This works well with one host with only a A record, it may failed when the reply with many cnames or additional records due to message compression error. But in a local network we only resolv hostname will not meet these issues. Modified by Julien Massot according to Samuel's comments. | |||||
2011-10-10 | service: Update service order when changing the favorite flag | Samuel Ortiz | 1 | -0/+1 | |
If the service order is not changed at the same time as the favorite status, the service may stay on top of the service list despite not being a favorite anymore. Patch based on an initial fix from Danny Jeongseok Seo <s.seo@samsung.com>. | |||||
2011-10-10 | service: Load ipconfig according to service identifier | Yu A Wang | 1 | -1/+1 | |
We have seperate the storage file to different directories according to service identifier, then we need to load it according to service identifier too. Fixes BMC#23475 | |||||
2011-10-07 | service: Call __connman_service_disconnect from remove_service | Danny Jeongseok Seo | 1 | -4/+2 | |
Just calling __connman_network_disconnect() means missing proxy and ipconfig clearance. | |||||
2011-10-07 | ipconfig: Show IPv4.Configuration properties for FIXED | Patrik Flykt | 1 | -1/+1 | |
Show IPv4.Configuration properties also for CONNMAN_IPCONFIG_METHOD_FIXED configuration method. Fixes BMC#23444 | |||||
2011-10-06 | log: Add support for backtrace symbole resolving | Marcel Holtmann | 3 | -17/+114 | |
2011-10-06 | technology: remove the pending_timeout source with g_source_remove | Alok Barsode | 1 | -0/+3 | |
2011-10-06 | device: Disconnect a connected network before disabling the device | Alok Barsode | 1 | -0/+3 | |
When disabling a device, disconnect the device's connected network, if there are any. Fixes BCM#23165. | |||||
2011-10-06 | device: Remove connections counter | Danny Jeongseok Seo | 3 | -35/+4 | |
The device connection counter is only used by the post scan auto connection logic, and the connection status is handled by the autoconnection service routine itself (__connman_service_auto_connect()). | |||||
2011-10-06 | device: Remove redundant connection numbers check | Danny Jeongseok Seo | 1 | -3/+0 | |
__connman_service_auto_connect() already checks for service state, so there is no need to look at the device being connected or not. | |||||
2011-10-05 | service: Add interface name matching in __connman_service_lookup(). | Patrik Flykt | 1 | -0/+16 | |
Fixes BMC#23419 | |||||
2011-10-05 | wispr: Setting the relevant service property when a login is required | Tomasz Bursztyka | 1 | -2/+6 | |
When a wispr redirect occurs we set login required to the service Fixes BMC#23424 | |||||
2011-09-30 | session: Set dirty flag in de/select service function | Daniel Wagner | 1 | -14/+18 | |
2011-09-30 | session: Remove double assignment | Daniel Wagner | 1 | -2/+0 | |
The dirty flag is already cleared in append_notify() | |||||
2011-09-30 | session: Handle bearers update correctly | Daniel Wagner | 1 | -17/+28 | |
We cannot create a new service_list in populate_service_list while we still hold pointers to entries (session->entry). deselect_and_disconnect() would then operate on bogus pointers leading to memory corruption Fixes BMC#23325 | |||||
2011-09-30 | session: Rename update_allowed_bearers() | Daniel Wagner | 1 | -3/+3 | |
2011-09-30 | session: Move update_allowed_bearers() up | Daniel Wagner | 1 | -75/+75 | |
2011-09-29 | technology: Register a rfkilled technology in technology_add_rfkill | Alok Barsode | 1 | -0/+9 | |
If a technology was rfkilled before connman ran, we need to register it. If such tech was enabled, technology->device_list will be empty. We save the state, rfkill unblock the type and exit. When the devices get unblocked, they are automatically enabled since we saved the enable state. | |||||
2011-09-29 | iptables: Copyright year update | Tomasz Bursztyka | 1 | -1/+1 | |
2011-09-29 | iptables: Tiny indentation fix | Tomasz Bursztyka | 1 | -6/+4 | |
2011-09-29 | iptables: Adding capability to load necessary modules | Tomasz Bursztyka | 1 | -1/+16 | |
2011-09-29 | iptables: Rule deletion capability added | Tomasz Bursztyka | 1 | -5/+206 | |
2011-09-29 | iptables: Factorization of target reference update | Tomasz Bursztyka | 1 | -14/+23 | |
2011-09-29 | iptables: Refactoring how jumps are handled | Tomasz Bursztyka | 1 | -65/+82 | |
2011-09-29 | iptables: Fixing target reference update | Tomasz Bursztyka | 1 | -3/+3 | |
2011-09-29 | iptables: Renaming add into append | Tomasz Bursztyka | 1 | -3/+2 | |
2011-09-29 | iptables: Adding capability to insert a rule | Tomasz Bursztyka | 1 | -7/+57 | |
2011-09-29 | iptables: Code factorization for rule inclusion | Tomasz Bursztyka | 1 | -14/+33 | |
2011-09-29 | iptables: Fix memory leak | Tomasz Bursztyka | 1 | -2/+6 | |
2011-09-29 | iptables: Small indentation fix | Tomasz Bursztyka | 1 | -2/+2 | |
2011-09-29 | iptables: Adding capability to delete user-defined chains | Tomasz Bursztyka | 1 | -3/+49 | |
2011-09-29 | iptables: Added helper function to remove table entry | Tomasz Bursztyka | 1 | -7/+17 | |
2011-09-29 | iptables: find_chain_head/find_chain_tail code factorization | Tomasz Bursztyka | 1 | -25/+3 | |