mozilla-mobile / mozilla-vpn-client

A fast, secure and easy to use VPN. Built by the makers of Firefox.
https://vpn.mozilla.org
Other
444 stars 104 forks source link

Windows - Apple Bonjour crashes after Mozilla VPN establishes a connection. #9320

Open data-sync-user opened 3 months ago

data-sync-user commented 3 months ago

The user is reporting a possible conflict between our VPN service and Bonjour(Apple software) so the user opens our app and connects to (Budapest, Hungary) suddenly the Windows Error Reporting creates some log files, and Bonjour service is stopped. Also, the user tried a few additional locations to verify if this could be caused by a specific server connection – Budapest HU, Vienna AT, Stockholm SE, Seattle US, Tokyo JP – and all attempts caused the Bonjour service to crash immediately after the VPN connection was established. The user used Norton 360 as his antivirus software. However, Mozilla VPN, iTunes, and mDNSresponder are all "allowed" access to the internet in its "Program control" firewall rules.

Does it impact functionality or aesthetics? Y Does this endanger users? What would be compromised and how likely is the threat? N How annoying is this for affected users? (Think about how much 'in the way' this is, relative to what the user is trying to do) Y Does it degrade the user experience significantly? Y Is it legally sensitive? N

Centrality Is it on a core user journey or on a secondary one? Connection, Server selection, Adding/removing device, Sign in/out = Core functionality. Tips & Tricks, Split Tunneling, Printing (Local Network Access), DNS, = Secondary functionality Technical Information

Steps to Reproduce

  1. Launch Mozilla VPN app connect to VPN (-Budapest, Hungary-) different servers
  2. In the Windows Event logs, mDNSResponder.exe creates two entries under "Application logs", a few seconds apart (event_log_20240320-222836.xml and event_log_20240320-222839.xml)
  3. Windows Error Reporting also produces a few log entries, eg. event_log_20240320-222842_wer.xml and event_log_20240320-222842_Report.wer)
  4. Bonjour service is stopped ("Leállítva" in Hungarian localization), as visible in Task Manager (20240320-2330_task_manager_bonjour_stopped.png)

Actual Results Apple Bonjour service is stopped Expected Results Bonjour service shouldn't be stopped.

┆Issue is synchronized with this Jira Bug ┆Reporter: Juan Carlos Enriquez

asiajustin commented 3 months ago

I think this may not be an issue specific to Mozilla VPN but VPN in general. I myself saw the Bonjour service killed when connection was established via OpenVPN, and I couldn't get the service started successfully afterwards without stopping the VPN connection first.

I also found similar behaviour for other VPN: https://answers.microsoft.com/en-us/windows/forum/all/troubles-with-bonjour/5c3b3f03-94b6-476a-9c54-3d05327a2328

With some research I know it might be difficult to get Bonjour to work over VPN (through tunnel), but in this case we would want it to work locally in LAN without being affected by VPN connection. I also understand a VPN connection would bring in a new subnet and could stop Bonjour service, but in my case the OpenVPN is configured so that only the RDP sessions are going through the VPN subnet, not my other traffic. So I don't know why Bonjour service could not keep working on the original subnet rather than being killed.

data-sync-user commented 2 months ago

➤ Santiago Andrigo commented:

Unfortunately, looking online it seems that Bonjour is simply not designed / intended to work through VPNs.

data-sync-user commented 2 months ago

➤ Juan Carlos Enriquez commented:

Thank you for the follow up Santiago Andrigo