Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-07-13 | agent: Handle wpspin type as a PreviousPassphrase | Tomasz Bursztyka | 1 | -18/+27 | |
2012-07-13 | agent: Rewrite how PreviousPassphrase field is handled | Tomasz Bursztyka | 1 | -19/+31 | |
This is a necessary rewrite to make it clearer and simpler, before implementing wpspin type support. | |||||
2012-07-09 | device: Turn off all running interfaces at startup | Jukka Rissanen | 1 | -0/+50 | |
Turning off running interfaces that have IP address, causes all routes related to those interfaces to be removed by kernel. This way connman will get a fresh start without any extra and obsolete routes around. | |||||
2012-07-09 | inet: Return all running interfaces | Jukka Rissanen | 2 | -0/+79 | |
Add a function that returns all (except loopback) interfaces that are up and running (have IP address). This information is used in following patch to clean up the routes that are left hanging around. | |||||
2012-07-05 | service: Make sure the pending reply is not lost | Jukka Rissanen | 1 | -0/+3 | |
The user data (pending reply) can be null if agent returns an error. In this case do not overwrite the real pending reply. | |||||
2012-07-05 | dhcp: warn on invalid netmask | Julien Massot | 1 | -0/+2 | |
2012-07-05 | main: Dynamically allocate default blacklist array, free on exit | Patrik Flykt | 1 | -2/+5 | |
2012-07-05 | main: Move default string arrays top of the file | Patrik Flykt | 1 | -12/+14 | |
2012-07-05 | technology: check validity of given properties for tethering | Julien Massot | 1 | -2/+5 | |
A WPA2 passphrase is between 8 and 63 characters, a SSID name is between 1 and 32 characters. | |||||
2012-07-05 | technology: return already enabled when tethering is enabled | Julien Massot | 1 | -1/+1 | |
2012-07-05 | technology: Set regulatory domain by device or fallback to technology based | Tomasz Bursztyka | 1 | -4/+32 | |
2012-07-05 | device: Add capability to notify on regulatory domain setting | Tomasz Bursztyka | 1 | -0/+13 | |
2012-07-05 | technology: Notify the regulatory domain setting by device | Tomasz Bursztyka | 2 | -0/+17 | |
2012-07-05 | device: Add driver capability to set regulatory domain on device basis | Tomasz Bursztyka | 1 | -0/+16 | |
2012-07-02 | rtnl: Fixed log for the type RTM_GETADDR | Paulo Pizarro | 1 | -0/+2 | |
The connman prints an unknown type when sending a request RTM_GETADDR | |||||
2012-07-02 | tethering: Fix incorrect index value for private network | Wu Zheng | 1 | -1/+1 | |
In __connman_private_network_request, pn->fd is used as the index value and passed to __connman_ippool_create, which is not correct. It result in the private network is block used externally. | |||||
2012-06-28 | inet: Fix usage of getaddrinfo() return value | Patrik Flykt | 1 | -2/+0 | |
Fixes BMC#25304 | |||||
2012-06-28 | main: static-qualify default config values | Grant Erickson | 1 | -2/+2 | |
The default configuration arrays default_auto_connect and default_blacklist must be static-qualified. Otherwise, their stack-allocated storage will go out of scope after parse_config is finished and empty or commented-out DefaultAutoConnectTechnologies or NetworkInterfaceBlacklist config entries will refer to random stack data. | |||||
2012-06-26 | agent: Fix how to provide PreviousPassphrase through D-Bus | Tomasz Bursztyka | 1 | -6/+29 | |
2012-06-25 | ipconfig: Save prefixlen only if not cleared | Julien Massot | 1 | -2/+3 | |
This commit fixes a bug when using manual ipv4 addressing. The first time it works, but once the service is reconnected it uses an invalid netmask: 255.255.255.255. | |||||
2012-06-25 | technology: Return proper error code when already disabled | Jukka Rissanen | 1 | -1/+4 | |
Return AlreadyDisabled to the caller instead of InProgress if we are already disabled. | |||||
2012-06-25 | technology: Return proper error code when already enabled | Jukka Rissanen | 1 | -1/+4 | |
We do not call the generic error message function because it maps EALREADY to EINPROGRESS. So instead we call correct error return function which returns AlreadyEnabled to the caller. Fixes BMC#25306 | |||||
2012-06-25 | main.conf: Comment out example default values and add documentation | Patrik Flykt | 1 | -5/+6 | |
2012-06-25 | main: Use 'NetworkInterfaceBlacklist' string everywhere | Patrik Flykt | 2 | -2/+2 | |
2012-06-25 | rtnl: Use filtered devices to determine blacklisted devices | Manfred Kober | 1 | -10/+1 | |
Instead of hard-coding some selected devices to be ignored, the blacklist check now uses the connman_device_isfiltered list. | |||||
2012-06-25 | device: Consider blacklisted interfaces from main.conf when filtering | Manfred Kober | 1 | -1/+15 | |
Interfaces blacklisted in main.conf are now also taken into account by connman_device_isfiltered. This is done in addition to what gets passed with -i or -I on the command line. | |||||
2012-06-25 | main: Support NetworkInterfaceBlacklist from main.conf | Manfred Kober | 1 | -0/+23 | |
This adds a settings variable and a function for fetching that list | |||||
2012-06-25 | main.conf: Add NetworkInterfaceBlacklist | Manfred Kober | 1 | -0/+6 | |
2012-06-20 | dnsproxy: Check cache for TCP request before connecting to server | Jukka Rissanen | 1 | -1/+31 | |
It is not necessary to create TCP sockets to server if we have the answer already in the cache. | |||||
2012-06-20 | dnsproxy: Use DNS header in checks | Jukka Rissanen | 1 | -5/+7 | |
We should use the DNS header struct when checking DNS protocol values instead of using pointer so that the TCP offset is properly taken care of. | |||||
2012-06-20 | dnsproxy: Add more debugging prints | Jukka Rissanen | 1 | -7/+17 | |
2012-06-20 | dnsproxy: Check cache properly for TCP packets | Jukka Rissanen | 1 | -4/+13 | |
The DNS packet starts from offset 2 in TCP payload. | |||||
2012-06-20 | dnsproxy: Fix the negative caching of AAAA record | Jukka Rissanen | 1 | -4/+13 | |
Handle the TCP offset properly. | |||||
2012-06-20 | dnsproxy: Save DNS packet in cache always in TCP format | Jukka Rissanen | 1 | -13/+57 | |
The cached DNS packet will always contain two prefix bytes. For UDP we do not send these two extra bytes. This way we do not need to know if the cached message is from UDP or TCP query. | |||||
2012-06-20 | dnsproxy: Do not generate SIGPIPE | Jukka Rissanen | 1 | -6/+6 | |
Instead of generating SIGPIPE, just return EPIPE error if TCP stream is broken. This way we cannot get aborted if we receive SIGPIPE (seen this happening). | |||||
2012-06-20 | ippool: Fix endless loop issue with 32 prefix length | Guillaume Zajac | 1 | -1/+5 | |
While trying to establish a DUN connection with oFono, an endless loop was found when requesting an IP block. The problem was on data connection activation its address with 32 length prefix was notified through ConnMann using __connman_ippool_newaddr() but mask address shifting with 32 bits was obsolete. So IP pool was considerating block 0.0.0.0 to 255.255.255.255 was in use. | |||||
2012-06-18 | dnsproxy: Fix flushing pending requests | Paulo Pizarro | 1 | -19/+15 | |
2012-06-18 | dnsproxy: Release all the fields of the request after forward dns reply | Paulo Pizarro | 1 | -5/+1 | |
2012-06-18 | dnsproxy: Avoid duplication of domains in the TCP server domain list | Paulo Pizarro | 1 | -15/+2 | |
The domain list is created in the tcp_server_event function at connection time (G_IO_OUT event), so it is not necessary to create it here too. | |||||
2012-06-18 | dnsproxy: If no request was sent then the TCP server is destroyed | Paulo Pizarro | 1 | -2/+17 | |
2012-06-18 | dnsproxy: If the answer is in the cache, the TCP request is released | Paulo Pizarro | 1 | -23/+28 | |
2012-06-18 | dnsproxy: Only one copy of the relevant buffers will be made to a TCP request | Paulo Pizarro | 1 | -37/+38 | |
This copy will be made after scanning the list of nameservers and only if at least one TCP server is created. Otherwise, it will be sent an error response to the request. | |||||
2012-06-18 | device: Don't unnecessarily set device->scanning to false | Patrik Flykt | 1 | -2/+0 | |
The WiFi plugin will call connman_device_set_scanning() immediately after connman_device_reset_scanning(). | |||||
2012-06-18 | technology: Disable technology when the last device is unpowered | Patrik Flykt | 1 | -4/+8 | |
Reply via D-Bus to the caller and send the technology 'Powered' property set to FALSE only after the last device has been powered off. Update code but not behavior in __connman_technology_enabled() so that the logic looks the same as in __connman_technology_disabled(). | |||||
2012-06-18 | device: Combine multiple if statements into one block of code | Patrik Flykt | 1 | -5/+4 | |
2012-06-18 | device: Combine two if statements with identical outcome | Patrik Flykt | 1 | -6/+1 | |
2012-06-18 | technology: Remove unneeded scan stop when removing device | Patrik Flykt | 1 | -3/+0 | |
Scanning has already been stopped when a device is to be removed from the technology struct. Let __connman_technology_remove_device() just remove the device and nothing else. | |||||
2012-06-18 | service: Connecting hidden network waits until connected | Jukka Rissanen | 4 | -13/+79 | |
If the user is connecting to hidden network, then we delay the return of the reply to caller until the real service has connected. This way the user connect to hidden and non-hidden networks works the same way from caller point of view. | |||||
2012-06-18 | service: Add support functions for pending replies | Jukka Rissanen | 2 | -0/+36 | |
2012-06-18 | service: Split reply_pending function to two parts | Jukka Rissanen | 2 | -13/+21 | |
Split reply_pending() into two parts so that a D-Bus reply can be sent to the client waiting for a reply. |