summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-07-20Release 0.760.76Marcel Holtmann2-1/+10
2011-07-20build: Use color output for unit testsMarcel Holtmann1-1/+1
2011-07-20build: Add forgotten binaries to .gitignoreMarcel Holtmann1-0/+3
2011-07-20build: Remove wifi-scan testing utilityMarcel Holtmann4-40/+2
2011-07-19service: wpad only run on ipv4Tomasz Bursztyka1-20/+24
2011-07-19service: clear ipconfig data and operations on freeGrant Erickson1-0/+4
Ensure ipconfig data and operations are cleared out when a service is freed. This is at least a partial fix and maybe a full fix for issues 21000 <http://bugs.meego.com/show_bug.cgi?id=21000> and 21285 <http://bugs.meego.com/show_bug.cgi?id=21285>.
2011-07-18build: Remove no longer needed build magicMarcel Holtmann1-2/+0
2011-07-18build: Use BUILT_SOURCES for generating header filesMarcel Holtmann1-1/+3
2011-07-17build: Check for signalfd supportMarcel Holtmann1-0/+3
2011-07-15loopback: Recover Loopback on Setup when Up but No AddressGrant Erickson1-1/+6
It is possible to end up in situations in which the loopback interface is up but has no valid address. In that case, we expect SIOCGIFADDR will return EADDRNOTAVAIL and valid_loopback should return FALSE such that connman can add a loopback address back to the interface. This is a partial fix for bug 21001 <https://bugs.meego.com/show_bug.cgi?id=21001>.
2011-07-15loopback: Improve Error Reporting when Recovering LoopbackGrant Erickson1-2/+9
When fixing up the loopback address or netmask, log what is being fixed up.
2011-07-15loopback: Use Existing Loopback Globals Rather than TemporariesGrant Erickson1-2/+2
Use preassigned globals for the loopback address and netmask rather than creating and assigning additional temporaries.
2011-07-15loopback: Return a More Descriptive Error CodeGrant Erickson1-1/+1
Return a more descriptive -errno rather than -1 when we fail to create a socket.
2011-07-12service: Do not iterate over NULL service listDaniel Wagner1-0/+3
2011-07-12network: Remove unused functionDaniel Wagner1-2/+0
2011-07-12service: Fix whitespace damageDaniel Wagner1-1/+1
2011-07-12provider: Fix ident memory leak if provider cannot be createdPatrik Flykt1-0/+1
2011-07-12service: Cleanup fixDaniel Wagner1-1/+4
When the system shuts downn, we destroy the service_list. The destroy callback on the service_list sequence is service_free() which will call the provider code. Provider wants to iterater over the service_list we are currently freeing. This results into a crash. #0 0x0000003edd680991 in __strlen_sse2 () from /lib64/libc.so.6 #1 0x0000003ee0a280fb in ?? () from /lib64/libdbus-1.so.3 #2 0x0000003ee0a15f19 in ?? () from /lib64/libdbus-1.so.3 #3 0x0000003ee0a19c0a in dbus_message_iter_append_basic () from /lib64/libdbus-1.so.3 #4 0x000000000043985b in append_path (value=0x6a7800, user_data=0x7fffffffe350) at src/service.c:121 #5 0x0000003edf65af07 in g_sequence_foreach_range () from /lib64/libglib-2.0.so.0 #6 0x0000000000439888 in __connman_service_list (iter=0x7fffffffe350, user_data=0x0) at src/service.c:127 #7 0x000000000045971e in connman_dbus_property_append_array (iter=0x7fffffffe440, key= 0x472cd8 "Services", type=111, function=0x439860 <__connman_service_list>, user_data=0x0) at src/dbus.c:204 #8 0x000000000045990a in connman_dbus_property_changed_array (path=0x472ca0 "/", interface= 0x472c8c "net.connman.Manager", key=0x472cd8 "Services", type=111, function= 0x439860 <__connman_service_list>, user_data=0x0) at src/dbus.c:271 #9 0x00000000004391cd in services_changed (user_data=0x0) at src/profile.c:120 #10 0x000000000043924c in __connman_profile_changed (delayed=0) at src/profile.c:143 #11 0x000000000043f467 in service_free (user_data=0x6aab40) at src/service.c:2951 #12 0x0000003edf65aac8 in ?? () from /lib64/libglib-2.0.so.0 #13 0x0000003edf65aaa2 in ?? () from /lib64/libglib-2.0.so.0 #14 0x0000003edf65ae39 in g_sequence_free () from /lib64/libglib-2.0.so.0 #15 0x000000000044459f in __connman_service_cleanup () at src/service.c:5432 #16 0x000000000042ef5f in main (argc=1, argv=0x7fffffffe6b8) at src/main.c:412
2011-07-12provider: Untangle create and connect code blockMarcel Holtmann1-26/+20
2011-07-12provider: Remove pointless jump to error labelMarcel Holtmann1-8/+4
This fixes a compiler warning for an uninitialized variable. And this warning is a real error. CC src/provider.o src/provider.c: In function ‘__connman_provider_create_and_connect’: src/provider.c:476: warning: ‘provider’ may be used uninitialized in this function
2011-07-09network: Set network driver before creating the serviceSamuel Ortiz1-2/+1
The autoconnect machine can potentially start from __connman_service_create_from_network() so it needs a network driver.
2011-07-08service: disconnect state has priority over online one.Tomasz Bursztyka1-2/+8
2011-07-08service: preventing to call ready state more than once.Tomasz Bursztyka1-4/+6
2011-07-08timezone: Remove /etc/localtime if it's a symbolic linkYu A Wang1-0/+6
And copy the timezone file over. Fixes BMC #18887
2011-07-08device: Ignore dummy networking devicesSamuel Ortiz1-0/+5
When a kernel comes with dummy network devices support enabled, the dummy interface will take the default route whenever a real interface disconnects. This is not what we want as the default route won't be released then.
2011-07-08network: Fix temp pointer memory leakSamuel Ortiz1-5/+5
2011-07-08network: Let the gateway code handle the READY transitionSamuel Ortiz2-24/+3
For IPv4 (DHCP, fixed or manual), and for manual IPv6, the gateway handling code (connection.c) is the one responsible for moving to the READY state.
2011-07-08ipconfig: Don't call IP bound ops when type does not matchSamuel Ortiz2-0/+35
2011-07-08network: Autoconf IPv6 is ready when address is setSamuel Ortiz1-8/+0
It's not ready when the technology is connected. The ASSOC->READY transition will happen through the IP bound ops.
2011-07-08service: Separate ipconfig state and service state handlingTomasz Bursztyka2-162/+114
2011-07-07service: Use __connman_service_ipconfig_indicate_state()Daniel Wagner6-64/+52
2011-07-07service: Add __connman_service_ipconfig_indicate_state()Daniel Wagner2-0/+48
2011-07-07monitor-connman: Parse Notification messagesDaniel Wagner1-2/+45
2011-07-07device: Get service type from __connman_device_find_deviceSamuel Ortiz1-1/+1
The device search is based on the service type, not on the device type. Fixes BMC#18747
2011-07-07dnsproxy: Fix indentation.Jukka Rissanen1-3/+3
2011-07-06ofono: Set IPv4 address if IPv6 method is not supportedThierry Boureille1-6/+9
Also, fall back to IPv6 when the IPv4 method is not supported.
2011-07-06gweb: Apply address family restiction to resolverTomasz Bursztyka1-0/+2
2011-07-06gresolv: Queries address family scope restrictionTomasz Bursztyka2-8/+35
Adding the capability to restrict DNS queries to a specific address family through gresolv_set_address_family(). By default, AF_UNSPEC is applied.
2011-07-06session: Service type to bearer string conversion supportPatrik Flykt1-1/+4
2011-07-06session: Correct GSequence sorting to use service_entry structsPatrik Flykt1-3/+4
The items on session->service_list GSequence are of type service_entry. Fix sorting function to cast the items correctly.
2011-07-06provider: Get 'Host' and 'VPN.Domain' from provider structPatrik Flykt1-0/+4
2011-07-06provider: Properly set host and domain provider membersPatrik Flykt1-3/+8
Detect 'Host' and 'VPN.Domain' strings being set and insert them properly into the provider structure. Also ensure that the strings corresponding to provider structure members are not duplicated into the provider string settings hash.
2011-07-06provider: Fix memory leak; free provider->host in provider destructPatrik Flykt1-0/+1
2011-07-01main: Move signalfd setup in its own functionMarcel Holtmann1-38/+58
2011-07-01main: Use signalfd instead of plain signalsDaniel Wagner1-8/+51
It's unsafe to call syslog in the terminat signal handler because syslog takes an lock. So when the signal handler kicks in and we were already in syslog, we have a nice deadlock.
2011-07-01gweb: Use GnuTLS priority string to provide wide compatibilityLucas De Marchi1-1/+2
This priority string will only enable SSL 3.0 and TLS 1.0 as protocols and will disable, via the %COMPAT keyword, several TLS protocol options that are known to cause compatibility problems. Reference: http://www.gnu.org/software/gnutls/manual/html_node/Interoperability.html#Interoperability
2011-07-01gweb: Remove call to deprecated GnuTLS functionLucas De Marchi1-0/+2
If we use gnutls 2.12.0 or later it's necessary to call gnutls_transport_set_lowat() to disable the lowat functionality. Since this function is deprecated in new versions of gnutls, call it only if using an older version.
2011-06-30tethering: Update APIs to be able to use multiple private networksGuillaume Zajac3-35/+48
2011-06-30doc: Update private network method prototypesGuillaume Zajac1-6/+5
2011-06-27TODO: IPv6 gateway handling done.Jukka Rissanen1-10/+0