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: Unable to remove personal data (Daniel Wagner)
2. [PATCH] Fix time synchronization after updating timeservers
(Emmanuel Vautrin)
3. Re: Bridge and bond interface support (Pieter Cardoen)
4. Re: [PATCH] Fix hang up when connecting to a hidden network with a wrong
size name parameter
(Emmanuel Vautrin)
5. Re: [PATCH] Fix hang up when connecting to a hidden network with a wrong
size name parameter
(Emmanuel Vautrin)
6. Re: [PATCH] Fix hang up when connecting to a hidden network with a wrong
size name parameter
(Emmanuel Vautrin)
7. Re: Unable to remove personal data (KeithG)
----------------------------------------------------------------------
Date: Fri, 4 Dec 2020 19:04:55 +0100
From: Daniel Wagner <[email protected]>
Subject: Re: Unable to remove personal data
To: Stéphane Veyret <[email protected]>
Cc: KeithG <[email protected]>, [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=iso-8859-1
On Fri, Dec 04, 2020 at 05:37:46PM +0100, Stéphane Veyret wrote:
> Thank you for your suggestions. We will remove the files outside of the
> ConnMan process, while the daemon is stopped.
This is the simplest and pulled proof solution, because after this
operation you are 100% sure all data is gone. Going through a D-Bus API
makes it a bit more difficult to figure out that really all data is
gone.
As I said, if someone wants to do it, I wont say no. Though it's an
effort with no gain in functionality.
------------------------------
Date: Fri, 04 Dec 2020 08:54:17 -0000
From: "Emmanuel Vautrin" <[email protected]>
Subject: [PATCH] Fix time synchronization after updating timeservers
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"
Hello everyone,
Please find below the patch fixing this issue:
---
src/timeserver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/timeserver.c b/src/timeserver.c
index 417f20d2..c574b36a 100644
--- a/src/timeserver.c
+++ b/src/timeserver.c
@@ -354,7 +354,7 @@ int __connman_timeserver_sync(struct connman_service
*default_service)
if (!service)
return -EINVAL;
- if (service == ts_service)
+ if (default_service && service == ts_service)
return -EALREADY;
if (!resolv)
--
Best Regards,
Emmanuel
------------------------------
Date: Fri, 4 Dec 2020 13:05:56 +0000
From: Pieter Cardoen <[email protected]>
Subject: Re: Bridge and bond interface support
To: Daniel Wagner <[email protected]>
Cc: "[email protected]" <[email protected]>
Message-ID: <[email protected]
prd07.prod.outlook.com>
Content-Type: multipart/alternative; boundary="_000_AM4PR07MB306082
021F3B7C9552592515FFF10AM4PR07MB3060eurp_"
--_000_AM4PR07MB306082021F3B7C9552592515FFF10AM4PR07MB3060eurp_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi Daniel
Thanks to inform me. I will try to patch connmand to support both bridges a=
nd bonding interfaces.
I must say that bonding is not only used for data center use. We are making=
on-board embedded communication devices for trains. To communicate over co=
upler (when 2 trains are connected to eachother), a redundant network conne=
ction can be used. We use a bond interface to join these redundant coupler =
connections.
I'll keep you posted.
Pieter Cardoen
________________________________
Van: Daniel Wagner <[email protected]>
Verzonden: vrijdag 4 december 2020 13:35
Aan: Pieter Cardoen <[email protected]>
CC: [email protected] <[email protected]>
Onderwerp: Re: Bridge and bond interface support
CAUTION: This Email originated from outside Televic. Do not click links or =
open attachments unless you recognize the sender and know the content is sa=
fe.
Hi Pieter,
On Tue, Dec 01, 2020 at 04:14:30PM +0000, Pieter Cardoen wrote:
> Dear
>
> Is it possible to use connmand to configure and enable a bridge at
> boot-time and then use connmand to manage this interface?
ConnMan creates and manages only for tethering a bridge. There is no
interface to create or manage bridges.
> Same question for bonding interfaces.
>
> I would like to use a config file like this:
> [service_br0]
> Type=3Dbridge
> IPv4=3Ddhcp
> IPv6=3Doff
> ports=3Deth0,eth1
Bonding was deliberately left out as it targets more the data center use
cases.
Thanks,
Daniel
--_000_AM4PR07MB306082021F3B7C9552592515FFF10AM4PR07MB3060eurp_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
Hi Daniel</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
<br>
Thanks to inform me. I will try to patch connmand to support both bridges a=
nd bonding interfaces.</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
I must say that bonding is not only used for data center use. We are making=
on-board embedded communication devices for trains. To communicate over co=
upler (when 2 trains are connected to eachother), a redundant network conne=
ction can be used. We use a bond
interface to join these redundant coupler connections.</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
I'll keep you posted.</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
Pieter Cardoen<br>
</div>
<div id=3D"appendonsend"></div>
<hr style=3D"display:inline-block;width:98%" tabindex=3D"-1">
<div id=3D"divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" st=
yle=3D"font-size:11pt" color=3D"#000000"><b>Van:</b> Daniel Wagner <wagi=
@monom.org><br>
<b>Verzonden:</b> vrijdag 4 december 2020 13:35<br>
<b>Aan:</b> Pieter Cardoen <[email protected]><br>
<b>CC:</b> [email protected] <[email protected]><br>
<b>Onderwerp:</b> Re: Bridge and bond interface support</font>
<div> </div>
</div>
<div class=3D"BodyFragment"><font size=3D"2"><span style=3D"font-size:11pt;=
">
<div class=3D"PlainText">CAUTION: This Email originated from outside Televi=
c. Do not click links or open attachments unless you recognize the sender a=
nd know the content is safe.<br>
<br>
<br>
Hi Pieter,<br>
<br>
On Tue, Dec 01, 2020 at 04:14:30PM +0000, Pieter Cardoen wrote:<br>
> Dear<br>
><br>
> Is it possible to use connmand to configure and enable a bridge at<br>
> boot-time and then use connmand to manage this interface?<br>
<br>
ConnMan creates and manages only for tethering a bridge. There is no<br>
interface to create or manage bridges.<br>
<br>
> Same question for bonding interfaces.<br>
><br>
> I would like to use a config file like this:<br>
> [service_br0]<br>
> Type=3Dbridge<br>
> IPv4=3Ddhcp<br>
> IPv6=3Doff<br>
> ports=3Deth0,eth1<br>
<br>
Bonding was deliberately left out as it targets more the data center use<br=
>
cases.<br>
<br>
Thanks,<br>
Daniel<br>
</div>
</span></font></div>
</body>
</html>
--_000_AM4PR07MB306082021F3B7C9552592515FFF10AM4PR07MB3060eurp_--
------------------------------
Date: Fri, 04 Dec 2020 13:19:46 -0000
From: "Emmanuel Vautrin" <[email protected]>
Subject: Re: [PATCH] Fix hang up when connecting to a hidden network
with a wrong size name parameter
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"
Hello Daniel,
I am new and didn't know how to contribute.
So, if I understand, copying a patch generated via git is what you need.
Best Regards,
Emmanuel
------------------------------
Date: Fri, 04 Dec 2020 13:24:30 -0000
From: "Emmanuel Vautrin" <[email protected]>
Subject: Re: [PATCH] Fix hang up when connecting to a hidden network
with a wrong size name parameter
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"
Hi Daniel,
Now it is clear, I will add a git generated patch.
In fact, the commit message is the title of the thread.
Best Regards,
Emmanuel
------------------------------
Date: Fri, 04 Dec 2020 13:27:13 -0000
From: "Emmanuel Vautrin" <[email protected]>
Subject: Re: [PATCH] Fix hang up when connecting to a hidden network
with a wrong size name parameter
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"
Thank you Daniel, understood.
Emmanuel
------------------------------
Date: Fri, 4 Dec 2020 09:01:49 -0600
From: KeithG <[email protected]>
Subject: Re: Unable to remove personal data
To: Daniel Wagner <[email protected]>
Cc: Stéphane Veyret <[email protected]>, [email protected]
Message-ID:
<cag17s_m8xsfvmy4gitgrekzzravara6z7c+qez2jqk+0spo...@mail.gmail.com>
Content-Type: multipart/alternative;
boundary="00000000000027bed105b5a4c290"
--00000000000027bed105b5a4c290
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
We are doing this, currently, with a script. We have a script that 'cleans
up' an image for further dsitribution. We first shut down connman then
remove the configuration files.
rm -rf /var/lib/connman/wifi_*
rm -rf /var/lib/connman*.config
rm -rf /var/lib/iwd/*.psk
If you use iwd, the last one is also needed as iwd also stores the password
in its psk as well.
On Fri, Dec 4, 2020 at 6:02 AM Daniel Wagner <[email protected]> wrote:
> Hi St=C3=A9phane,
>
> On Tue, Dec 01, 2020 at 08:15:11AM +0100, St=C3=A9phane Veyret wrote:
> > In order to be compliant to the GDPR, we have to delete these data if e=
nd
> > user asks for it. Therefore, we would need to have a connman command,
> using
> > the DBUS API, which would remove all those directories (including those
> for
> > networks which are not currently connected). Does such a command
> > exist?
>
> So far there is no such D-Bus command. IIRC, there was an discussion on
> this topic in the past and the suggested solution was to add this
> outside of ConnMan (basically a script with 'rm -rf
> /var/lib/connman/wifi_*'). Not totally sure what happens when ConnMan is
> running at the same time.
>
> Adding a D-Bus interface for this shouldn't be too hard.
>
> > If not, is it possible to open an issue, and how (I saw that there is a
> Jira,
> > but I couldn't open an issue on it because I don't have an account)?
>
> Correct there is a Jira instance, but I can't access it either. All
> coordination is done via the mailing list. Though I fear there isn't any
> taker for this feature request.
>
> Thanks,
> Daniel
> _______________________________________________
> connman mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>
--00000000000027bed105b5a4c290
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div>We are doing this, currently, with a script. We have =
a script that 'cleans up' an image for further dsitribution. We fir=
st shut down connman then remove the configuration files.</div><div><br></d=
iv><div>=C2=A0 rm -rf /var/lib/connman/wifi_*</div><div>=C2=A0 rm -rf /var/=
lib/connman*.config</div><div>=C2=A0 rm -rf /var/lib/iwd/*.psk</div><div><b=
r></div><div>If you use iwd, the last one is also needed as iwd also stores=
the password in its psk as well. <br></div></div><br><div class=3D"gmail_q=
uote"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Dec 4, 2020 at 6:02 AM =
Daniel Wagner <<a href=3D"mailto:[email protected]">[email protected]</a>> =
wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0=
px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi St=C3=
=A9phane,<br>
<br>
On Tue, Dec 01, 2020 at 08:15:11AM +0100, St=C3=A9phane Veyret wrote:<br>
> In order to be compliant to the GDPR, we have to delete these data if =
end<br>
> user asks for it. Therefore, we would need to have a connman command, =
using<br>
> the DBUS API, which would remove all those directories (including thos=
e for<br>
> networks which are not currently connected). Does such a command<br>
> exist?<br>
<br>
So far there is no such D-Bus command. IIRC, there was an discussion on<br>
this topic in the past and the suggested solution was to add this<br>
outside of ConnMan (basically a script with 'rm -rf<br>
/var/lib/connman/wifi_*'). Not totally sure what happens when ConnMan i=
s<br>
running at the same time.<br>
<br>
Adding a D-Bus interface for this shouldn't be too hard.<br>
<br>
> If not, is it possible to open an issue, and how (I saw that there is =
a Jira,<br>
> but I couldn't open an issue on it because I don't have an acc=
ount)?<br>
<br>
Correct there is a Jira instance, but I can't access it either. All<br>
coordination is done via the mailing list. Though I fear there isn't an=
y<br>
taker for this feature request.<br>
<br>
Thanks,<br>
Daniel<br>
_______________________________________________<br>
connman mailing list -- <a href=3D"mailto:[email protected]" target=3D"_=
blank">[email protected]</a><br>
To unsubscribe send an email to <a href=3D"mailto:[email protected]=
g" target=3D"_blank">[email protected]</a><br>
</blockquote></div>
--00000000000027bed105b5a4c290--
------------------------------
Subject: Digest Footer
_______________________________________________
connman mailing list -- [email protected]
To unsubscribe send an email to [email protected]
------------------------------
End of connman Digest, Vol 62, Issue 3
**************************************