lp:~connman-maintainers/connman/head

Created by David Barth and last modified
Get this branch:
bzr branch lp:~connman-maintainers/connman/head

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
ConnMan packaging maintainers
Project:
Connection Manager
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at git://git.kernel.org/pub/scm/network/connman/connman.git.

The next import is scheduled to run .

Last successful import was .

Import started on juju-1e3bde-prod-lp-code-import-12 and finished taking 30 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-12 and finished taking 15 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-12 and finished taking 15 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-16 and finished taking 20 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-17 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-17 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-15 and finished taking 20 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-16 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-15 and finished taking 20 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-14 and finished taking 20 seconds — see the log

Recent revisions

8233. By Daniel Wagner

AUTHORS: Mention Ben's contributions

8232. By Ben Kohler <email address hidden>

gresolv: add missing include to fix clang-16 build

Current compilers gcc-12 and clang-15 warn about an implicit function
declaration in gresolv.c, and this turns into a fatal error in clang-16
and eventually in future gcc.

8231. By Ariel D'Alessandro <email address hidden>

wifi: Handle invalid-key case on WPA-SAE authentication failure

On WPA3-SAE authentication, wpa_supplicant goes directly from
authenticating to disconnected state if the key was invalid.

The above is currently not handled and the `connect-failed` error is
reported on such cases. In order to make the client agent prompt for a
new password, we need to handle this transition and report the
`invalid-key` error.

8230. By Daniel Wagner

wispr: Simplify the IP version check

No need to be clever. There is IPv4 and IPv6 nothing else.

8229. By Daniel Wagner

wispr: Fix context refcounting in wispr_portal_request_portal()

The wispr_portal_request_portal() function is expected to read until
there is no data. Hence, the wp_context refcount is supposed to be
hold on while reading.

Furthermore, we should not return early when we read the
X-ConnMan-Status header. Instead we are supposed to go through the
normal return path so that we cleanup any added routing entries. Thus,
we also don't need to update the refcount in this code path as we
handle it at the main return path.

Fixes: 416bfaff9888 ("wispr: Update portal context references")

8228. By Daniel Wagner

service: Track online check for IPv4 and IPv6 separately

The online check is not distinguishing between IPv4 and IPv6 but the
rest of the code assumes we handle them separately.

8227. By Daniel Wagner

ipconfig: Don't add invalid gateway routes

When we assign an IPV4LL address we are calling
__connman_ipconfig_gateway_add() with an invalid GW set. It's propably
a safe bet to say NULL is never a valid GW, so let's filter it out for
all callers.

8226. By Daniel Wagner

wisrp: Handle wispr_portal_detect failures

__connman_wispr_start() should handle any errors reported by
wispr_portal_detect.

While at it also return early if the service type is not supported.

8225. By Jakub Jirutka <email address hidden>

resolver: Add path to resolv.conf to config options

Before (current state):
If the <STATEDIR> (/var/run/connman) directory exists, ConnMan writes
resolvfile into <STATEDIR>/resolv.conf. If it doesn't exist, it writes
into /etc/resolv.conf. If it fails, it does nothing.

Problem:
This is unclear and error prone. The user (or package maintainer) may
create the /var/run/connman directory for a pidfile or whatever and
surely doesn't expect ConnMan to suddenly stop updating
/etc/resolv.conf. Or the user doesn't want ConnMan to touch
/etc/resolv.conf (e.g. openresolv or similar tool is used),
ever. Configuring this use case by creating directory /run/connman (as
suggested e.g. on
https://wiki.archlinux.org/title/ConnMan#/etc/resolv.conf) is really
weird... and error prone.

After:
The user can explicitly set path for the resolvfile in connman.conf via
"ResolvConf" option. If this option is set, ConnMan writes
resolvfile to the specified file (and creates it if doesn't exist). If
it fails (e.g. directory doesn't exist or file is not writable) or the
path is /dev/null or an empty string, it does nothing.
If this option is not set, it behaves as before.

Signed-off-by: Daniel Wagner <email address hidden>
Link: https://<email address hidden>

8224. By Daniel Wagner

AUTHORS: Mention Nathan's contributions

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers

No subscribers.