Send connman mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.01.org/mailman/listinfo/connman
or, 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: connman-vpnd does not reconnect after resume (Patrik Flykt)
2. Re: connman-vpnd does not reconnect after resume (Daniel Wagner)
3. Re: connman-vpnd does not reconnect after resume (Vasiliy Tolstov)
4. Re: [PATCH] PacRunner:Domains are looked up to match the host
(Atul Anand)
----------------------------------------------------------------------
Message: 1
Date: Tue, 07 Jun 2016 09:27:15 +0300
From: Patrik Flykt <[email protected]>
To: Vasiliy Tolstov <[email protected]>
Cc: connman <[email protected]>, Daniel Wagner <[email protected]>
Subject: Re: connman-vpnd does not reconnect after resume
Message-ID: <[email protected]>
Content-Type: text/plain; charset="UTF-8"
On Mon, 2016-06-06 at 17:34 +0200, Daniel Wagner wrote:
> >
> > > FWIW, autoconnect VPNs is not supported (read: never
> > > implemented).
Wrong! VPN autoconnect has been supported for a long time already :-)
Looks like initial support got into 1.19 or so.
> > Why!? =(.?
>
> A non-VPN Service needs first to autoconnect. After that the VPN
> Service could potentially do an autoconnect. Now ConnMan doesn't have
> any way to know when the VPN Service should do the autoconnect. Maybe
> VPN tunnel should only be used outside of an home network?
vpn_auto_connect() gets called when a?service->type !=
CONNMAN_SERVICE_TYPE_VPN gets into state ready in service.c
> So the problem is that ConnMan has no relation ship between Service.
> So you can't express if Service A is up, try to autoconnect Service
> B. And that's why it is missing.
>
> > After laptop lid is closed and opened i need to manually
> > reconnect my vpn..
>From your log we can see that autoconnect is run:
connmand[28250]: src/service.c:run_vpn_auto_connect() service 0x559852258c00
clodo
Most likely connman-vpnd is missing passphrases. Did you have an UI or
connmanctl running so connman-vpnd was able to ask for passphrases?
What flavor of VPN was this again?
Cheers,
Patrik
------------------------------
Message: 2
Date: Tue, 7 Jun 2016 09:49:24 +0200
From: Daniel Wagner <[email protected]>
To: Patrik Flykt <[email protected]>, Vasiliy Tolstov
<[email protected]>
Cc: connman <[email protected]>
Subject: Re: connman-vpnd does not reconnect after resume
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
On 06/07/2016 08:27 AM, Patrik Flykt wrote:
> On Mon, 2016-06-06 at 17:34 +0200, Daniel Wagner wrote:
>>>
>>>> FWIW, autoconnect VPNs is not supported (read: never
>>>> implemented).
>
> Wrong! VPN autoconnect has been supported for a long time already :-)
Ah, sorry about the noise. It didn't work for so long that I assumed it
is still not working.
------------------------------
Message: 3
Date: Tue, 7 Jun 2016 13:20:01 +0300
From: Vasiliy Tolstov <[email protected]>
To: Patrik Flykt <[email protected]>
Cc: connman <[email protected]>, Daniel Wagner <[email protected]>
Subject: Re: connman-vpnd does not reconnect after resume
Message-ID:
<cacaajqv8iuskpaewbdul4xn5o8skpuvw5mx1jhmtspidq+6...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
2016-06-07 9:27 GMT+03:00 Patrik Flykt <[email protected]>:
> From your log we can see that autoconnect is run:
> connmand[28250]: src/service.c:run_vpn_auto_connect() service 0x559852258c00
> clodo
>
> Most likely connman-vpnd is missing passphrases. Did you have an UI or
> connmanctl running so connman-vpnd was able to ask for passphrases?
> What flavor of VPN was this again?
Passpharases not needed. I conntct without passphrase. Also i have a
note, that after laptop open sometimes i need to disconnect vpn
because it in state not connected and not disconnected.
--
Vasiliy Tolstov,
e-mail: [email protected]
------------------------------
Message: 4
Date: Tue, 7 Jun 2016 17:11:00 +0530
From: Atul Anand <[email protected]>
To: David Woodhouse <[email protected]>,
[email protected]
Cc: [email protected]
Subject: Re: [PATCH] PacRunner:Domains are looked up to match the host
Message-ID:
<CABYWKtmhN08GEdNPbObs+tGaMeAPRDQkNUCaK6NrBfHbnHs=d...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
On 6/6/16, David Woodhouse <[email protected]> wrote:
> On Mon, 2016-06-06 at 16:49 +0530, Atul Anand wrote:
>> t up a generic proxy mechanism. PacRunner comes in central role to
>> which NM/ConnMan will be feeding proxy details for each connection
>> along with domains for which that connection holds. Patch here fixes
>> the answering mechanism to scan the domains and select the
>> appropriate proxy config. It has been created with discussions and
>> suggestions from David Woodhouse Sir. Thanks!
>
> Some untested suggested fixes at
> http://git.infradead.org/users/dwmw2/pacrunner.git
>
> --
> dwmw2
Attached a patch taking suggested fixes.
Hi Tomasz,
I am not able to find to a direct helper which takes an ip address and
checks whether it falls in a cidr . Perhaps i must have been missing
docs somewhere.
Rest fixed as you suggested. Apologies for so many silly and stupid mistakes.
Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-PacRunner-Domains-are-looked-up-to-match-host-of-req.patch
Type: text/x-patch
Size: 7862 bytes
Desc: not available
URL:
<http://lists.01.org/pipermail/connman/attachments/20160607/0d22f45e/attachment-0001.patch>
------------------------------
Subject: Digest Footer
_______________________________________________
connman mailing list
[email protected]
https://lists.01.org/mailman/listinfo/connman
------------------------------
End of connman Digest, Vol 8, Issue 8
*************************************