mullvad / mullvadvpn-app

The Mullvad VPN client app for desktop and mobile
https://mullvad.net/
GNU General Public License v3.0
5.12k stars 339 forks source link

Hard blocking by Mullvad on Win10 startup #1875

Open narration-sd opened 4 years ago

narration-sd commented 4 years ago

Issue report

Operating system: Windows 10 very latest

App version: 2020.5beta2

Issue description

@faern , Linus, I've been religiously following your betas and updates, and the Android app is now quite solid -- the workaround for long placenames is functional, and the rest is just reliable - appreciated.

On Win10, though, throught the latest release/s also, there's a problem I'd imagine you'd especially like to see dealt with as Mozilla are widening their advertising for 'their', really Mullvad, VPN.

I've watched what happens pretty carefully, and it boils down to this:

Solution? Well, as you know Windows has in past had odd add-ons that could space out booting app and service launches. These were not highly successful, nor were they suitable for non-technical persons; as welll, Microsoft updates tended to kill them.

So it seems a reliable route would be to have Mullvad do more or less what I do manually, though it can do it much more nicely itself, and achieve connection more rapidly, which means transparently to that person.

Simply, this would be to have it poll at a reasonable rate, when it can't first-time connect, until it gains its desired connection.

The rate could be on an Advanced Setting to allow adjustment if there are any unexpected issues, but could I suspect transparently be rather rapid - 1 per second if there's no reason why not...?

Thanks, and cheers on how well Mullvad works. There are the odd things like it still apparently having some servers on location services registered as Romania, but from a higher level support conversation, I guess there's not much you can do about that. Hazards of the internet :)

narration-sd commented 4 years ago

You know, I think you may have done something in the final 2020.5 Mullvad Windows which fixes this.

So far, for days, it's connected smoothly on laptop boot. I'll give it a few more days and assure, also I sometimes do multiple boots in a day, but if solid, I'll close this -- leaving it up as much as anything so you can see your apparent success.

Android 2020.5 has been equally smooth -- thanks...takk

narration-sd commented 4 years ago

Ah, @faern Linus, unfortunately the problem isn't gone -- failed to connect just now on bootup.

But, this has given me a chance observe all the more closely, and maybe point to where the issue begins, which should be a help to arriving at an actual fix.

So: I think that Mullvad not only blocks the internet for appreciated safety, but blocks itself -- even if is properly trying again to get the connection, after the internet is available -- we are presuming the initial unavailablity is due to Norton 360's safe holdoff for itself to be ready.

From this situation Mullvad gets itself into, I think you will know what you want to do to recover.

I hope this helps, Linus, because it's a pretty good problem, especially will be for the non-technical person. As before, I will say that the rest of Mullvad's operation is, as some would say it, 'just fine'.

Thanks, Clive

narration-sd commented 4 years ago

@faern Linus, just in case it's good to hear, and some useful, I have a couple of points for you by this day:

Ok, that's it - I kind of thought a moment about per-URL split tunneling for laptop and banks, but seems entirely impractical, not least because when moving through the actual bank security, you're often being passed through three or four generally invisible 'extra' URLs having little to do with the original - i.e. not subdomains, etc..

So what you have done is what we can have, I think and the nice straightforward and self-disappearing interface with disconnect button gets the job done.

Thanks again -- it's been really pleasing to use Mullvad.

p.s. it even looks as though M247 (/Sharktech??) may be getting their geolocation registered properly, finally for the Los Angeles servers. It will be a real relief when websites entirely stop showing Romanian currencies, etc. :) but I know that's not Mullvad's direct problem, so we'll look on the bright side, which is where I hope this whole project appears by now to you, Linus

Best, Clive

narration-sd commented 4 years ago

An update on this, as it continues to be a problem - 30% or so of the time, Mullvad 'blocks' and will not connect on Win10 reboot.

It's perhaps becoming clear this is due to making only one try by Mullvad, while security programs of quality properly and totally block network connections until they're fully up and running. This is a safety feature of Norton 360, popular example, and the one I'm running for its top scores.

Startup positioning and interval vary with software installs and upgrades, of course. Thus I think the answer is for Mullvad to keep trying, at intervals, when it doesn't connect at first. I can do this manually, and find that it may take 30 seconds at least past where Mullvad comes up enough to make first attempt and block. I try every 5 seconds or so, and maybe that's a good automatic retry interval? A starting place, at least.

Thanks, @faern Linus, for your work and team overall, and when you can get to this. I think I'm not the only one.

Clive

narration-sd commented 4 years ago

I know, this, again. I probably have more startup programs than some on Windows, yes, but really this is the only problem I see with Mullvad, and it is very constent. Something around 30-40% of bootups, Mullvad simply doesn't connect Says it blocks.

I have to use what becomes the Disconnect button, wait a bit, then manually hit connect again. If I've waited long enough, it does, and after that no issues at all.

It does seem a very simple fix; a timeout and retry until the little fellow connects, Making the timeout something like 5sec will mean that there won't be a feeling of waiting, once it actually will be able to connect on a cycle.

Since June, and I will say, please, bitte, snälla du

I've just installed the latest Beta, but no mention of this, so I do. I see most of recent effort has been on Linux - reminds me to also try it there. Local VMs have run fine through the Windows Mullvad, but I can also do it independently, to help your tests, and will.

Thanks, @faern Linus

p.s. ran up beta7 as promised on Ubuntu 18.04 VM - installs from deb, runs very smoothly, and appreciate that once connected, stays in Mullvad when switching user; this on Linux reboot also, either login - nice job!

faern commented 4 years ago

I can't recall hearing about this issue a lot from other users. But support is much more suited for these type of issues. The know if others have had it and they will be know how to fix it if there is a known fix. Please contact support@mullvad.net instead.

narration-sd commented 4 years ago

Thanks for coming back, Linus.

I did contact support, several times. But you and I both should understand that there can't be a fix for this except by Mullvad becoming able to manage retries. So they weren't able to help.

There were once add-ons for Windows which could help re-order and delay add-on executions at startup. They don't exist any more, perhaps prohibited. And the only ability Win10 has itself is to disable startups or not.

In any case, such an adjustment is not something a general user would be prepared to make, suspect we would agree.

I'm sure you and the team have a lot on the plate, but the auto-retry seems it would be very valuable to include in this beta's release; and not much programming effort to provide, not so?

Thanks, @faern Clive