Send connman mailing list submissions to
        [email protected]

To subscribe or unsubscribe via email, send a message with subject or
body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of connman digest..."

Today's Topics:

   1. Re: [PATCH] iwd: fix crash related to initialization of network objects
      (Daniel Wagner)
   2. Re: ConnMan returns connect-failed when entering wrong password
      (Daniel Wagner)
   3. Re: wireguard plugin doesn't load on musl (alpine linux)
      (Daniel Wagner)


----------------------------------------------------------------------

Date: Wed, 17 Jun 2020 09:29:25 +0200
From: Daniel Wagner <[email protected]>
Subject: Re: [PATCH] iwd: fix crash related to initialization of
        network objects
To: Alvin Šipraga <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8

Hi Alvin,

On Fri, Jun 12, 2020 at 05:27:54PM +0200, Alvin Šipraga wrote:
> org.freedesktop.DBus.ObjectManager.GetManagedObjects returns a
> dictionary of <objpath, ...>, which is iterated over in order to
> initialize the different objects exposed by iwd. The order of iteration
> with respect to the keys (object path) is not guaranteed.

Wouldn't it possible to iterater in an sorted order? As you noted
in your other email the patch uses a bit of ducktape to address
the problem.

Thanks,
Daniel

------------------------------

Date: Wed, 17 Jun 2020 09:38:41 +0200
From: Daniel Wagner <[email protected]>
Subject: Re: ConnMan returns connect-failed when entering wrong
        password
To: Sven Dembianny <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

Hi Sven,

On Mon, Jun 15, 2020 at 08:11:17AM -0000, Sven Dembianny wrote:
> Hi all,
>  
> when entering a wrong password, I expected ConnMan to return the error 
> string "invalid-key". This worked with wpa_supplicant 2.5, but since 
> upgrading to wpa_supplicant 2.9, ConnMan returns "connect-failed".
> 
> ConnMan assumes the password to be incorrect, if wpa_supplicant was in 
> the 4WAY_HANDSHAKE state before disconnecting:
> https://git.kernel.org/pub/scm/network/connman/connman.git/tree/plugin
> s/wifi.c?h=1.38#n2537
> 
> As far as I understand, the problem is that wpa_supplicant now 
> supports offloading the 4-way handshake into the driver and it skips 
> this state completely. For comparison, here is a D-Bus dump with 
> wpa_supplicant 2.5:
> https://pastebin.com/raw/60064sgt
> and here with wpa_supplicant 2.9:
> https://pastebin.com/raw/hQetZq7C

Many thanks to the bug report. Looking at the wpa_supplicant code this
can't be turned off.

static void wpas_start_assoc_cb(struct wpa_radio_work *work, int deinit)
{
        [...]

        if ((wpa_s->drv_flags & WPA_DRIVER_FLAGS_4WAY_HANDSHAKE_8021X) &&
            (params.key_mgmt_suite == WPA_KEY_MGMT_IEEE8021X ||
             params.key_mgmt_suite == WPA_KEY_MGMT_IEEE8021X_SHA256 ||
             params.key_mgmt_suite == WPA_KEY_MGMT_IEEE8021X_SUITE_B ||
             params.key_mgmt_suite == WPA_KEY_MGMT_IEEE8021X_SUITE_B_192))
                params.req_handshake_offload = 1;
        [...]
}

That means someone (and that's not me) needs to update our wifi plugin to work
with 2.9

The workaround is to use iwd for wifi.

Thanks,
Daniel

------------------------------

Date: Wed, 17 Jun 2020 09:43:41 +0200
From: Daniel Wagner <[email protected]>
Subject: Re: wireguard plugin doesn't load on musl (alpine linux)
To: Sean Behan <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

Hi Sean,

On Mon, Jun 15, 2020 at 08:11:05PM -0400, Sean Behan wrote:
> I'm using connman on Alpine Linux and the wireguard plugin is failing to
> load with the error below. If anyone knows the reason why this might be
> happening or has any advice it would be greatly appreciated. Thanks!
> 
> I also opened an issue on the alpine linux tracker here:
> https://gitlab.alpinelinux.org/alpine/aports/-/issues/11654
> 
> Jun 15 19:23:50 komodo daemon.err connman-vpnd[32560]: Can't load 
> /usr/lib/connman/plugins-vpn/wireguard.so: Error relocating 
> /usr/lib/connman/plugins-vpn/wireguard.so: __vpn_ipconfig_foreach: symbol not 
> found

I have seen this problem before but I can't remember what is
exactly was. There was something about how the link loader
is looking up symbols. Sorry can't remember right now.

Thanks,
Daniel

------------------------------

Subject: Digest Footer

_______________________________________________
connman mailing list -- [email protected]
To unsubscribe send an email to [email protected]


------------------------------

End of connman Digest, Vol 56, Issue 6
**************************************

Reply via email to