Daniel Wagner [Fri, 31 May 2013 07:13:38 +0000 (09:13 +0200)]
doc: Document session policy file format
Daniel Wagner [Fri, 31 May 2013 07:13:37 +0000 (09:13 +0200)]
session-test: Add tests for session_policy_local
Use the UID as identification.
Daniel Wagner [Fri, 31 May 2013 07:13:36 +0000 (09:13 +0200)]
session_policy_local: Set session identification method
For SELinux we need to store the complete context for iptables
to work.
Daniel Wagner [Fri, 31 May 2013 07:13:35 +0000 (09:13 +0200)]
session: Add session identification method to config
The session core needs to the know which kind of session
identification method has been selected in the plugin in order
to use the right iptables rules etc.
Daniel Wagner [Fri, 31 May 2013 07:13:34 +0000 (09:13 +0200)]
session_policy_local: Retrieve UID/GID from session user
When the session core ask to create a configuration, then we
first ask the D-Bus server which UID/GID the session belongs to.
If possible we also ask for the SELinux context. Then we try
to figure out which file containts the configuration for
SElinux, UID or GID identification.
The order of matching preference is SELinux, UID and finally GID.
Daniel Wagner [Fri, 31 May 2013 07:13:33 +0000 (09:13 +0200)]
session_policy_local: Remove struct create_data
Use struct policy_data instead of struct create_data.
Daniel Wagner [Fri, 31 May 2013 07:13:32 +0000 (09:13 +0200)]
session_policy_local: Rework policy file handling
The old assumption was that a config file is associtated
with one session only. With introducing UID/GID support a policy
might be used for several sessions. Furthermore, it was assumed
that the file name is the key/ident to identify a session and
a file containts exactly one policy.
Here are the new rules for writing a policy file.
- A valid file name contains letters or numbers and must have a '.policy'
suffix.
- The file name has not semantical meaning
- A policy file may contain contain more than 1 policy
- Each policy entry starts with 'policy_'
- Each policy entry shall have one and exactly one valid key (e.g.
selinux)
The implementation has two main hash tables, file_hash and session_hash
which owns 'the file' respectively the session config. Additionally there
is a hash table which connects a policy with a session (selinux_hash).
Daniel Wagner [Fri, 31 May 2013 07:13:31 +0000 (09:13 +0200)]
session_policy_local: Add some more debug information
Daniel Wagner [Fri, 31 May 2013 07:13:30 +0000 (09:13 +0200)]
session_policy_local: Update session before unref policy
The update flag can be removed as it is no longer needed.
Daniel Wagner [Fri, 31 May 2013 07:13:29 +0000 (09:13 +0200)]
session_policy_local: Refactor SELinux context parser
g_strplit() will eventually strdup the tokens so no need to
strdup() 'context'. But we an ugly cast (from 'const unsigned char *'
to 'const char *') is needed for g_strsplit() to make the compiler happy.
Daniel Wagner [Fri, 31 May 2013 07:13:28 +0000 (09:13 +0200)]
session_policy_local: Do not handle small allocation
Let's remove the small allocations error path because glib will
abort on memory exhausting anyway. Basically we remove dead code.
Daniel Wagner [Fri, 31 May 2013 07:13:27 +0000 (09:13 +0200)]
session: Do not access stale entry pointers
When removing the entry clear all references towards it.
Daniel Wagner [Fri, 31 May 2013 07:13:26 +0000 (09:13 +0200)]
session: Add session argument to create_service_entry_cb
Remember which session this struct service_entry belongs to when
removing the entries again.
Patrik Flykt [Wed, 29 May 2013 10:28:40 +0000 (13:28 +0300)]
TODO: Support other time sources
Patrik Flykt [Tue, 21 May 2013 10:32:14 +0000 (13:32 +0300)]
timeserver: Periodically wake up to recheck timeservers
The current situation is that a failed timeserver name resolution
removes the timeserver immediately from the list of used timeservers
and failing to connect to the nameserver IP address removes the
timeserver after a 2 second delay. Currently no mechanism exists to
re-create the list of nameservers once the list has been exhausted or
the more preferred timeservers have been removed from it.
This implementation combats both problems where less used timeservers
further away end up being used despite a more optimal closer one
becoming available as well as the problem of exhausting the
nameserver list. This is done by periodially waking up and checking
the timeserver in use. If the timeserver in use is not the most
preferred one or the list of timeservers is empty, the timeserver
list is recreated and the timeserver polling procedure is restarted.
Daniel Wagner [Fri, 24 May 2013 13:27:01 +0000 (15:27 +0200)]
iptables: Fix memory leak when invoking xtables_find_match
xtables_find_match() returns two different kind of pointers.
The first type is pointing to the function pointer table loaded
via dlopen(). The second type is a copy (via plain malloc) of the
first type. xtables_find_match() marks the copies/clones with
m == m->next. So we need to free the struct xtables_match which
point back to themself.
Also fix the issue that we didn't handle multple match instances
at the same time.
The memory leak is only visible when having more than one match
of a kind.
Marcel Holtmann [Fri, 31 May 2013 01:15:29 +0000 (10:15 +0900)]
Release 1.15
Patrik Flykt [Wed, 29 May 2013 13:21:16 +0000 (16:21 +0300)]
config: Remove code implementing Protected config file setting
The code was relevant only for Manager.ProvisionService method call
which was removed a long time ago.
Patrik Flykt [Wed, 29 May 2013 13:21:15 +0000 (16:21 +0300)]
doc: Remove Protected description
The Protected setting was relevant only for Manager.ProvisionService
method call which was removed a long time ago.
Patrik Flykt [Wed, 29 May 2013 13:21:14 +0000 (16:21 +0300)]
vpn-config: Log a warning if the provider ident already exists
Also set the returned value appropriately when removing or adding
configuration files.
Patrik Flykt [Wed, 29 May 2013 13:21:13 +0000 (16:21 +0300)]
vpn-config: Remove obsolete protected code
For VPN connections created via configuration files the immutable flag
is set and it ensures no modifications are allowed. The protected
feature implementation was a left-over from service configuration code.
Removing the code fixes a bug where only VPN entries of different types
can be provisioned in the same provisioning file.
Daniel Wagner [Wed, 29 May 2013 08:00:30 +0000 (10:00 +0200)]
test-ippool: Shortcut exhausting allocation test
Instead really trying to allocate all possible 69888 blocks, let's
reserve the first two IP pools and then we only need to allocate
255 blocks. That should bring down the runtime considerable.
Patrik Flykt [Wed, 29 May 2013 06:25:58 +0000 (09:25 +0300)]
service: Update Domains property when Domains.Configuration changes
Domains property was not updated when Domains.Configuration was changed.
If Domains.Configuration is for example set to empty when using DHCP,
the Domains property is to be updated with the value configured via DHCP.
Fixes BMC#26010
Patrik Flykt [Wed, 29 May 2013 06:52:49 +0000 (09:52 +0300)]
service: Check service type before fetching interface index
For VPNs, the index is available from provider, for other services from
network.
Fixes BMC#26009
Patrik Flykt [Fri, 24 May 2013 11:38:01 +0000 (14:38 +0300)]
ipconfig: Use system set addresses for IPv4 property in 'manual' mode
Addresses and gateway for the service IPv4 property being used in the
system are available from ipconfig->system when the property is set to
'manual'.
Patrik Flykt [Fri, 24 May 2013 11:58:07 +0000 (14:58 +0300)]
client: Accept correctly spelled option name
Accept also correctly spelled version of 'preferred' option.
Patrik Flykt [Wed, 22 May 2013 09:21:36 +0000 (12:21 +0300)]
client: Fix minor issues in D-Bus path name checking
Patrik Flykt [Wed, 22 May 2013 09:21:35 +0000 (12:21 +0300)]
client: Fix index for IPv6 configuration option
Patrik Flykt [Wed, 22 May 2013 09:21:34 +0000 (12:21 +0300)]
client: Reserve space for trailing NULL in the array
Daniel Wagner [Tue, 21 May 2013 11:45:59 +0000 (13:45 +0200)]
session: Fix service2bearer to return a correct match all rule
Patrik Flykt [Tue, 21 May 2013 18:14:03 +0000 (21:14 +0300)]
doc: Remove documentation for Technology IdleTimeout property
IdleTimeout hasn't so far been implemented in any release and will be
handled by other means if needed.
Patrik Flykt [Mon, 20 May 2013 12:37:23 +0000 (15:37 +0300)]
service: Restart timeserver polling only for the default service
When timeservers are set, recreate timeserver polling list only if the
service is the the default one.
Patrik Flykt [Mon, 20 May 2013 09:56:29 +0000 (12:56 +0300)]
doc: Document the deprecated RemoveProvider method call
Fixes BMC#25958
Patrik Flykt [Fri, 17 May 2013 11:08:57 +0000 (14:08 +0300)]
test: Add test script for Clock API
Patrik Flykt [Fri, 17 May 2013 10:20:45 +0000 (13:20 +0300)]
clock: Implement load and save for Clock API properties
Load and save TimeUpdates and TimezoneUpdates Clock API properties.
Clock API Timeservers property is already handled by the timeserver
code.
Fixes BMC#25988
Patrik Flykt [Fri, 17 May 2013 07:40:30 +0000 (10:40 +0300)]
timeserver: Check the time update method
If the time update method is manual, no NTP time servers are returned.
Patrik Flykt [Fri, 17 May 2013 07:37:54 +0000 (10:37 +0300)]
clock: Export information about time update method
Patrik Flykt [Fri, 17 May 2013 12:02:45 +0000 (15:02 +0300)]
TODO: Add Clock API support for connmanctl
Tomasz Bursztyka [Fri, 17 May 2013 08:26:57 +0000 (11:26 +0300)]
wifi: Scan all stored hidden networks
Previously the number of scanned hidden WiFi networks was
restricted by the fast scan limit of the WiFi driver. This
patch takes into account the driver fast scan limit and will
scan for all configured hidden WiFi networks.
Thanks to Jukka for testing this.
Tomasz Bursztyka [Fri, 17 May 2013 11:45:00 +0000 (14:45 +0300)]
README: Update information about wpa_supplicant configuration
Jukka Rissanen [Thu, 16 May 2013 09:22:24 +0000 (12:22 +0300)]
TODO: DHCPv6 DECLINE message support
Justin Maggard [Mon, 13 May 2013 20:13:35 +0000 (13:13 -0700)]
gdhcp: Handle dhcp_client->type == G_DHCP_IPV4LL
Clean up several places where dhcp_client->type == G_DHCP_IPV4LL is unhandled.
Marcel Holtmann [Sun, 12 May 2013 07:17:17 +0000 (09:17 +0200)]
shared: Add helper for looking up debugfs mount point
Anderson Lizardo [Sat, 4 May 2013 19:39:43 +0000 (15:39 -0400)]
gdbus: Fix using NULL DBusPendingCall when disconnected from D-Bus
From D-Bus documentation for dbus_connection_send_with_reply():
"Warning: if the connection is disconnected or you try to send Unix file
descriptors on a connection that does not support them, the
DBusPendingCall will be set to NULL, so be careful with this."
Fix these errors when killing D-Bus daemon with the client still
running:
process 5712: arguments to dbus_pending_call_set_notify() were
incorrect, assertion "pending != NULL" failed in file
../../dbus/dbus-pending-call.c line 596.
This is normally a bug in some application using the D-Bus library.
process 5712: arguments to dbus_pending_call_unref() were incorrect,
assertion "pending != NULL" failed in file
../../dbus/dbus-pending-call.c line 572.
This is normally a bug in some application using the D-Bus library.
Anderson Lizardo [Sat, 4 May 2013 19:39:42 +0000 (15:39 -0400)]
gdbus: Fix segfault when D-Bus daemon exits
Fix this crash if D-Bus exits while the client is still connected to it:
==5570== Invalid read of size 1
==5570== at 0x402D28E: strcmp (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==5570== by 0x4070E22: g_str_equal (ghash.c:1704)
==5570== by 0x8055F61: message_filter (client.c:1123)
==5570== by 0x4141500: dbus_connection_dispatch (in
/lib/i386-linux-gnu/libdbus-1.so.3.5.8)
==5570== by 0x80506F7: message_dispatch (mainloop.c:76)
==5570== by 0x4081A7E: g_timeout_dispatch (gmain.c:3882)
==5570== by 0x4080D85: g_main_context_dispatch (gmain.c:2539)
==5570== by 0x4081124: g_main_context_iterate.isra.21 (gmain.c:3146)
==5570== by 0x408156A: g_main_loop_run (gmain.c:3340)
==5570== by 0x41BF4D2: (below main) (libc-start.c:226)
==5570== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==5570==
==5570==
Patrik Flykt [Wed, 8 May 2013 06:59:23 +0000 (09:59 +0300)]
client: Do service name syntax check when a name is specified
Justin Maggard [Tue, 7 May 2013 22:34:42 +0000 (15:34 -0700)]
Fix gcc compiler warning with -Wformat-security.
Cosmetic fix.
Marcel Holtmann [Tue, 7 May 2013 08:21:39 +0000 (01:21 -0700)]
Release 1.14
Patrik Flykt [Mon, 6 May 2013 13:02:52 +0000 (16:02 +0300)]
TODO: Update connmanctl entry
Agent mode is mostly done, update the entry with Session mode and VPN
Agent support.
Jukka Rissanen [Mon, 6 May 2013 12:18:27 +0000 (15:18 +0300)]
client: Check that strings passed to D-Bus to contain valid chars
D-Bus aborts if we feed invalid characters to it. So do some sanity
check before that.
Jukka Rissanen [Mon, 6 May 2013 11:38:00 +0000 (14:38 +0300)]
client: Newline missing after printing scan error message
Jukka Rissanen [Mon, 6 May 2013 10:06:34 +0000 (13:06 +0300)]
dhcpv6: Implement CONFIRM message support
See RFC 3315 Chapter 18.1.2. Creation and Transmission of Confirm
Messages for details
Jukka Rissanen [Mon, 6 May 2013 10:06:33 +0000 (13:06 +0300)]
dhcpv6: Remember the last used IPv6 address
This is required so that we can decide whether to send CONFIRM
or SOLICITATION message to server.
Jukka Rissanen [Mon, 6 May 2013 10:06:32 +0000 (13:06 +0300)]
ipconfig: Save last used DHCPv6 address
This is needed when implementing CONFIRM message decision logic.
Jukka Rissanen [Mon, 6 May 2013 10:06:31 +0000 (13:06 +0300)]
dhcpv6: Added initial MRD support
MRD (Maximum Retransmission Duration) is the total duration of
of retransmission of the message. This will be used when sending
Confirm message.
Jukka Rissanen [Mon, 6 May 2013 10:06:30 +0000 (13:06 +0300)]
gdhcp: Initialize message status code early
The message status code was initialized too late i.e., after
it was set so we lost the status code. This problem was seen
with wide-dhcpv6 server.
Patrik Flykt [Mon, 6 May 2013 10:28:32 +0000 (13:28 +0300)]
client: Fix for handling an unset callback
If there is no callback set, don't try to call readline function.
Patrik Flykt [Mon, 6 May 2013 10:24:00 +0000 (13:24 +0300)]
client: Fixes for handling Agent messages
Properly handle agent confirmation input, unset the prompt when RequestInput
processing ends and set the passphrase only if it contains some text.
Patrik Flykt [Fri, 3 May 2013 14:15:11 +0000 (17:15 +0300)]
man: Update connman.conf.5 manual page to use TetheringTechnologies
Patrik Flykt [Mon, 29 Apr 2013 06:21:45 +0000 (09:21 +0300)]
main: Rename AllowedTetheringTechnologies to TetheringTechnologies
Luiz Augusto von Dentz [Thu, 18 Apr 2013 20:34:03 +0000 (23:34 +0300)]
gdbus: Fix calling GetManagedObjects twice in a row
Calling g_dbus_client_new followed by g_dbus_client_set_proxy_handlers
cause two calls to GetManagedObjects in a row as GetNameOwner reply is
asyncronously it triggers the second call because the handlers have
been set by g_dbus_client_set_proxy_handlers.
Patrik Flykt [Fri, 3 May 2013 14:22:11 +0000 (17:22 +0300)]
AUTHORS: Mention Yann's contributions
Patrik Flykt [Fri, 3 May 2013 11:35:36 +0000 (14:35 +0300)]
client: Initial RequestInput handling support
When receiving a RequestInput Agent API D-Bus call, ask the input in a somewhat
logical order from the user with user names first and passwords next. If a
passphrase is entered, ignore any WPS pin code requests. Prepare for passphrase
length checking by going through the RequestInput message to get the 'Type'
argument.
Patrik Flykt [Mon, 29 Apr 2013 11:52:42 +0000 (14:52 +0300)]
client: Add ReportError handling
Report error and wait for the user to reply with yes/no.
Patrik Flykt [Mon, 29 Apr 2013 10:06:57 +0000 (13:06 +0300)]
client: Add RequestBrowser handling
Print out the RequestBrowser URL and wait for user input to proced. Add a
helper function for getting a yes/no confirmation from the user and another
one for getting the last part of the service object path.
Patrik Flykt [Thu, 25 Apr 2013 13:15:45 +0000 (16:15 +0300)]
client: Implement Agent Release and Cancel method calls
Unref the saved Agent D-Bus message on Release and Cancel. In response to the
Release method call unnregister Agent interface and quit if in non-interactive
mode.
Patrik Flykt [Wed, 24 Apr 2013 10:24:16 +0000 (13:24 +0300)]
client: Add command mode and agent mode helper functions
In command mode remember history and do command completion, in agent mode
do neither. Enable saving and restoring of the readline prompt and add
the GIOChannel watch also for non-interactive mode.
Patrik Flykt [Wed, 24 Apr 2013 10:25:45 +0000 (13:25 +0300)]
client: Add agent command
Patrik Flykt [Thu, 25 Apr 2013 12:29:56 +0000 (15:29 +0300)]
client: Add support for registering and unregistering an agent
Add agent .h and .c files containing registering and unregistering functionality.
Patrik Flykt [Thu, 25 Apr 2013 13:49:16 +0000 (16:49 +0300)]
client: Enable method call return to exit or continue running
Enable a client method call return function to exit or continue running when
in non-interactive mode. When a connmanctl_dbus_method_return_func_t returns
-EINPROGRESS in non-interactive mode, the command line client is kept running
even after the method call has been processed.
The command line client needs to keep running after a successful Agent
registration in order to process Agent method calls. Also enabling tethering
in non-interactive mode needs the client executing until SSID, passphrase and
tethering mode have been set.
Patrik Flykt [Fri, 3 May 2013 09:53:52 +0000 (12:53 +0300)]
client: Make dbus helper function variable const char *
Jukka Rissanen [Mon, 29 Apr 2013 09:39:11 +0000 (12:39 +0300)]
dhcpv6: Add elapsed time option to sent messages
A mandatory elapsed time option was missing from the sent
DHCPv6 messages. See RFC 3315 chapter 22.9 for details.
Jukka Rissanen [Fri, 26 Apr 2013 12:51:33 +0000 (15:51 +0300)]
technology: Disable tethering when device disappears
If tethering is active when device is removed, then shutdown
tethering cleanly so that tether interface and bridge are
properly removed.
Jukka Rissanen [Fri, 26 Apr 2013 12:51:16 +0000 (15:51 +0300)]
dnsproxy: Do not unref g_io_channel if we know it is null
Currently tethering does not support IPv6 so its listener is
not created and is null. This will cause following output
connmand[18363]: src/dnsproxy.c:destroy_tcp_listener() index 31
(connmand:18363): GLib-CRITICAL **: g_io_channel_unref: assertion `channel != NULL' failed
connmand[18363]: src/dnsproxy.c:destroy_udp_listener() index 31
(connmand:18363): GLib-CRITICAL **: g_io_channel_unref: assertion `channel != NULL' failed
Patrik Flykt [Fri, 26 Apr 2013 10:57:39 +0000 (13:57 +0300)]
client: Fix up wrongly included typedef
Patrik Flykt [Fri, 26 Apr 2013 10:57:38 +0000 (13:57 +0300)]
client: Remove unneeded members from structs
Remove now obsolete memebers from the option struct and instead add a description
field. Also remove the now unnecessary include.
Patrik Flykt [Fri, 26 Apr 2013 10:57:37 +0000 (13:57 +0300)]
client: Move commands around to more logical places in the table
Marcel Holtmann [Sun, 28 Apr 2013 22:11:58 +0000 (15:11 -0700)]
core: Print timezone information if available from server
Jukka Rissanen [Fri, 26 Apr 2013 10:12:52 +0000 (13:12 +0300)]
dnsproxy: Conditional jump depends on uninitialized value
This came from Daniel when running ConnMan using valgrind
==20635== Conditional jump or move depends on uninitialised value(s)
==20635== at 0x49ECF4: get_name (dnsproxy.c:867)
==20635== by 0x49F3F7: parse_response (dnsproxy.c:1096)
==20635== by 0x49FD40: cache_update (dnsproxy.c:1410)
==20635== by 0x4A0FF3: forward_dns_reply (dnsproxy.c:1803)
==20635== by 0x4A15D9: udp_server_event (dnsproxy.c:1912)
==20635== by 0x3331E47A54: g_main_context_dispatch (gmain.c:2715)
==20635== by 0x3331E47D87: g_main_context_iterate.isra.24 (gmain.c:3290)
==20635== by 0x3331E48181: g_main_loop_run (gmain.c:3484)
==20635== by 0x44B600: main (main.c:670)
Jukka Rissanen [Fri, 26 Apr 2013 09:54:25 +0000 (12:54 +0300)]
build: Install connmand and connman.conf manual pages
Jukka Rissanen [Fri, 26 Apr 2013 09:54:24 +0000 (12:54 +0300)]
man: Update connman.conf.5 manual page
Updated PreferredTechnologies description.
Added SingleConnectedTechnology, AllowedTetheringTechnologies and
PersistentTetheringMode descriptions.
Jukka Rissanen [Tue, 23 Apr 2013 10:06:31 +0000 (13:06 +0300)]
make: Add main.conf example file into dist tar ball
Jukka Rissanen [Fri, 26 Apr 2013 06:51:33 +0000 (09:51 +0300)]
dhcpv6: Fix memory leak
The received IP address was not freed.
Jukka Rissanen [Fri, 26 Apr 2013 06:51:32 +0000 (09:51 +0300)]
gdhcp: The last option in a message was not parsed correctly
If the desired option was last one in the message, then it was
lost because the remaining data calculation was wrong.
Jukka Rissanen [Fri, 26 Apr 2013 06:51:31 +0000 (09:51 +0300)]
dhcpv6: Retransmit a message with same transaction id
Make sure we do not create a new transaction id for a message
when it needs to be retransmitted.
Jukka Rissanen [Fri, 26 Apr 2013 06:51:30 +0000 (09:51 +0300)]
gdhcp: Do not change the transaction id if retransmitting
As requested in RFC 3315 chapter 15.1, a client MUST leave
the transaction id unchanged in retransmissions of a message.
Jukka Rissanen [Fri, 26 Apr 2013 06:51:29 +0000 (09:51 +0300)]
gdhcp: Add helper functions for message retransmission
Jukka Rissanen [Fri, 26 Apr 2013 06:51:28 +0000 (09:51 +0300)]
gdhcp: Add debug print for transaction id
Print transaction id of sent and received messages so that it is
easier to match the packets.
Patrik Flykt [Tue, 23 Apr 2013 10:05:33 +0000 (13:05 +0300)]
TODO: Update type definitions cleanup task
Patrik Flykt [Tue, 23 Apr 2013 10:05:32 +0000 (13:05 +0300)]
include: Remove definition for connman_uint16_t
Patrik Flykt [Tue, 23 Apr 2013 10:05:31 +0000 (13:05 +0300)]
network: Replace connman_uint16_t with uint16_t
Patrik Flykt [Tue, 23 Apr 2013 10:05:30 +0000 (13:05 +0300)]
include: Remove definition for connman_uint8_t
Patrik Flykt [Tue, 23 Apr 2013 10:05:29 +0000 (13:05 +0300)]
network: Replace connman_uint8_t with uint8_t
Patrik Flykt [Tue, 23 Apr 2013 10:05:28 +0000 (13:05 +0300)]
service: Replace connman_uint8_t with uint8_t
Jukka Rissanen [Tue, 23 Apr 2013 15:38:34 +0000 (18:38 +0300)]
tethering: Use fallback nameservers if dnsproxy is not in use
If user has disabled dnsproxy with -r option, then fallback to
user specified nameservers instead of using the Google one.
Jukka Rissanen [Tue, 23 Apr 2013 15:38:33 +0000 (18:38 +0300)]
dnsproxy: Return proper return code if listener_table is missing
The listener_table can be NULL if we have started connman with -r
option. Because we return < 0 value to caller in this case,
the caller, e.g. the tethering code, has a possibility to change
its functionality, e.g. the tethering code can fall back to some
other DNS servers.
Jukka Rissanen [Thu, 25 Apr 2013 13:24:57 +0000 (16:24 +0300)]
technology: Auto start tethering if enabled and configured
If the user has enabled persistent tethering mode in main.conf, then
try to activate tethering when technology is re-enabled, or we are
returning from offline mode, or after the device has rebooted.
Jukka Rissanen [Thu, 25 Apr 2013 13:24:56 +0000 (16:24 +0300)]
main: Add support for PersistentTetheringMode configuration variable
Jukka Rissanen [Thu, 25 Apr 2013 13:24:55 +0000 (16:24 +0300)]
conf: Add description of PersistentTetheringMode
Jukka Rissanen [Thu, 25 Apr 2013 11:47:51 +0000 (14:47 +0300)]
ethernet: Add tethering support