Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
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.
|
|
|
|
This adds a settings variable and a function for fetching that list
|
|
|
|
Add InputRequestTimeout and BrowserLaunchTimeout main.conf variable
handling and functions for fetching their values.
|
|
|
|
|
|
|
|
|
|
Implement 'FallbackNameservers' main.conf configuration file
option. While parsing the list of nameservers, use only the ones
in numeric format.
|
|
The main.conf 'PreferredTechnologies' is a list of service
type strings but converted to a list of service type enums.
Thus the configuration option is accessible via the function
connman_setting_get_uint_list().
|
|
|
|
The main.conf 'DefaultAutoConnectTechnologies' is a list of
service type strings. It is converted to a list of service type
enums, and thus the configuration option is accessible via the
function connman_setting_get_uint_list().
If this option is not specified, the default technologies to
autoconnect are wifi, ethernet and cellular just like before.
|
|
|
|
Instead of natting all traffic, nat.c will restrict the masquerading
on given network/mask.
The nat handling code will be reused by session.c
|
|
This is based on Guillaume Zajac intial IP pool patches.
|
|
See relevant parts from these RFCs:
RFC 3315 - DHCP for IPv6
RFC 3646 - DNS configuration options for DHCP for IPv6
RFC 3736 - Stateless DHCP service for IPv6
RFC 4075 - SNTP configuration option for DHCPv6
The patch does not support authenticated information messages.
|
|
|
|
Since service.c depends on ipconfig.c, __connman_service_cleanup()
should be called before __connman_ipconfig_cleanup().
connmand[4787]: src/ipconfig.c:__connman_ipconfig_cleanup()
connmand[4787]: em1 {remove} index 2
connmand[4787]: wlan0 {remove} index 3
connmand[4787]: src/ipconfig.c:connman_ipconfig_unref() ipconfig 0x6b0460 refcount 1
connmand[4787]: src/ipconfig.c:connman_ipconfig_unref() ipconfig 0x6b04c0 refcount 1
connmand[4787]: hso0 {remove} index 4
connmand[4787]: src/service.c:__connman_service_cleanup()
connmand[4787]: src/service.c:service_free() service 0x6ae690
connmand[4787]: Service state machine inconsistency detected.
connmand[4787]: src/service.c:stats_stop() service 0x6ae690
connmand[4787]: src/service.c:services_changed()
connmand[4787]: src/ipconfig.c:connman_ipconfig_unref() ipconfig 0x6b0460 refcount 0
connmand[4787]: src/ipconfig.c:__connman_ipconfig_disable() ipconfig 0x6b0460
Breakpoint 1, g_log (log_domain=0x34b78adc06 "GLib", log_level=G_LOG_LEVEL_CRITICAL, format=
0x34b78b6710 "%s: assertion `%s' failed") at gmessages.c:573
573 {
(gdb) bt
#0 g_log (log_domain=0x34b78adc06 "GLib", log_level=G_LOG_LEVEL_CRITICAL, format=
0x34b78b6710 "%s: assertion `%s' failed") at gmessages.c:573
#1 0x00000034b7831d35 in g_hash_table_lookup (hash_table=0x0, key=0x3) at ghash.c:897
#2 0x000000000044e9a4 in __connman_ipconfig_disable (ipconfig=0x6b0460) at src/ipconfig.c:1678
#3 0x000000000044de9d in connman_ipconfig_unref (ipconfig=0x6b0460) at src/ipconfig.c:1279
#4 0x0000000000440750 in service_free (user_data=0x6ae690) at src/service.c:3416
#5 0x00000034b785aac8 in real_node_free (node=0x6a2ed0, seq=0x6a3de0) at gsequence.c:1755
#6 0x00000034b785aaa2 in real_node_free (node=0x6a2a70, seq=0x6a3de0) at gsequence.c:1751
#7 0x00000034b785ae39 in g_sequence_free (seq=0x6a3de0) at gsequence.c:283
#8 0x0000000000444b53 in __connman_service_cleanup () at src/service.c:5617
#9 0x000000000042fb75 in main (argc=1, argv=0x7fffffffe678) at src/main.c:401
|
|
|
|
|
|
|
|
All the global settings would reside in /var/lib/connman/settings.
We also migrate global keys from /var/lib/connman/default.profile
to /var/lib/connman/settings for a smooth transition.
|
|
|
|
|
|
|
|
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.
|
|
It's ok to run ConnMann without a configuration file, so don't print an
error message when this happens.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
In case dnsproxy can't create the socket listener we
should fall back to resolv.conf.
Reported by Kalle Valo <kalle.valo@canonical.com>
|
|
Remove the network-manager compatibility code from src/manager.c so that all
this can be implemented as a plugin.
-c command line switch is still left but marked as obsole to avoid breaking
current start scripts. By removing the switch connman would not start at
all if -c is used.
|
|
|
|
Remove resolver module support.
|
|
Command line switch to disable dnsproxy.
|
|
|
|
This reverts commit b2a4246439738b5e9a262da77d56d99d348da36a.
|
|
In order to catch rfkill device deletion and to propagate those events
to the technology layer properly.
|
|
|
|
|
|
The ConnMan iptables library provides a simple internal API for adding
netfilter chains and rules.
|
|
|
|
|