Re: issues with long connection time for Non/802.1x networks



On Thu, Jan 19, 2017 at 12:12:42PM +0100, Beniamino Galvani wrote:
On Wed, Jan 18, 2017 at 12:42:41AM +0100, dennis knorr wrote:
Hi,

[...]

My wishes/requirements would be:
* possibility to configure timeout for non-successfull connection
attempt with 802.1x/wpa supplicant (on cable/wireless)

The timeout is now hardcoded to 25 seconds:

https://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/src/devices/nm-device-ethernet.c?id=1.6-rc1#n800

In order to make it configurable we probably can add a new
per-connection "802-1x.auth-timeout" (or similar) property.

* possibility to configure number of retries for connection attempts
with 802.1x/wpa supplicant (on cable/wireless)

This is already possible with NM 1.6 using the
connection.autoconnect-retries property.

* possibility for  a mixed network to send after the connection attempt
(but not waiting for the successfull completion) a dhcp request, so we
already get perhaps an IP.

I think this could lead to confusion, as it would allow the connection
to a 802.1x secured profile without actual authentication (see [1] for
more details).

[1] https://bugzilla.gnome.org/show_bug.cgi?id=723084

As commented there, I have pushed some commits to branch
bg/802-1x-auth-timeout to add a 802-1x.auth-timeout property and allow
a short fallback interval between the 802.1x and non-authenticated
connection profiles.

Beniamino

Attachment: signature.asc
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]