Author Topic: Avast firewall blocking Bash Ubuntu on Windows 10  (Read 12186 times)

0 Members and 1 Guest are viewing this topic.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67277
Avast firewall blocking Bash Ubuntu on Windows 10
« on: April 09, 2016, 09:40:50 PM »
Avast is blocking the new bash Ubuntu on Windows 10 Preview.
Disabling the firewall, Ubuntu files can be updated and internet is available.

I cannot add C:\Windows\System32\conhost.exe or C:\Windows\System32\bash.exe into the app settings of the firewall (don't know why).

All my "other" firewall settings are "allowing" everything...
Seems like a "proxy" or "Friends" settings issue.

Please, help!
The best things in life are free.

Offline Jakub56

  • Full Member
  • ***
  • Posts: 124
Re: Avast firewall blocking Bash Ubuntu on Windows 10
« Reply #1 on: April 10, 2016, 11:14:41 AM »
I don't think the Preview is supported, at all...

Offline lukor

  • Avast team
  • Super Poster
  • *
  • Posts: 1839
    • AVAST Software
Re: Avast firewall blocking Bash Ubuntu on Windows 10
« Reply #2 on: April 10, 2016, 01:31:21 PM »
Thanks for reporting, we will look at this.

The whole unix subsystem is new in the windows world (last time we saw it was on NT4 with OS/2) we have to check what are the paths for packets from the new subsystem. Apparently they are different to the standard ones.

Thanks again, I will update you here.

Offline Tim88

  • Newbie
  • *
  • Posts: 1
Re: Avast firewall blocking Bash Ubuntu on Windows 10
« Reply #3 on: April 11, 2016, 10:04:44 PM »
Thanks for the pointer - I was able to add C:\Windows\System32\bash.exe allow all in/out as a packet rule which did the job for me.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67277
Re: Avast firewall blocking Bash Ubuntu on Windows 10
« Reply #4 on: May 08, 2016, 10:25:42 PM »
Bash on Ubuntu for Windows get a new update in last Windows Insider Preview 14332.
But Avast is still blocking it.
Lukas, can you get a look on this?
The best things in life are free.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67277
Re: Avast firewall blocking Bash Ubuntu on Windows 10
« Reply #5 on: May 21, 2016, 11:50:52 PM »
Bump  ???
Any news?
The best things in life are free.

Offline vbjay

  • Newbie
  • *
  • Posts: 8
Re: Avast firewall blocking Bash Ubuntu on Windows 10
« Reply #6 on: August 03, 2016, 04:29:19 AM »
Just installed win 10 upgrade and installed the linux subsystem.  I have tested and am sure it is your firewall blocking apt-get and other network traffic from the subshell. 

Offline trepx

  • Newbie
  • *
  • Posts: 1
Re: Avast firewall blocking Bash Ubuntu on Windows 10
« Reply #7 on: August 03, 2016, 06:32:19 PM »
Thanks for the pointer - I was able to add C:\Windows\System32\bash.exe allow all in/out as a packet rule which did the job for me.
How did you do it? I'm also having the same issues and can't add it in application rules

Offline Abj

  • Newbie
  • *
  • Posts: 1
Re: Avast firewall blocking Bash Ubuntu on Windows 10
« Reply #8 on: August 04, 2016, 07:37:33 AM »
It has been confirmed on the official Microsoft's git repository that Avast causes the issue:

https://github.com/Microsoft/BashOnWindows/issues/718

Uninstalling Avast allows to run bash.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67277
Re: Avast firewall blocking Bash Ubuntu on Windows 10
« Reply #9 on: August 05, 2016, 02:12:39 AM »
It has been confirmed on the official Microsoft's git repository that Avast causes the issue:

https://github.com/Microsoft/BashOnWindows/issues/718

Uninstalling Avast allows to run bash.
You don't have to uninstall. Just pause the firewall while using bash. Of course, this is a workaround not a solution.
The best things in life are free.

Offline tarkio

  • Newbie
  • *
  • Posts: 3
Re: Avast firewall blocking Bash Ubuntu on Windows 10
« Reply #10 on: August 05, 2016, 03:31:35 PM »
It has been confirmed on the official Microsoft's git repository that Avast causes the issue:

https://github.com/Microsoft/BashOnWindows/issues/718

Uninstalling Avast allows to run bash.
You don't have to uninstall. Just pause the firewall while using bash. Of course, this is a workaround not a solution.

I disagree. I am only using avast antivirus (not the firewall component) and just disabling it is not enough, it needs to be uninstalled.

(EDIT: I am using the latest version)
« Last Edit: August 05, 2016, 03:33:11 PM by tarkio »

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67277
Re: Avast firewall blocking Bash Ubuntu on Windows 10
« Reply #11 on: August 05, 2016, 05:21:06 PM »
It has been confirmed on the official Microsoft's git repository that Avast causes the issue:

https://github.com/Microsoft/BashOnWindows/issues/718

Uninstalling Avast allows to run bash.
You don't have to uninstall. Just pause the firewall while using bash. Of course, this is a workaround not a solution.

I disagree. I am only using avast antivirus (not the firewall component) and just disabling it is not enough, it needs to be uninstalled.

(EDIT: I am using the latest version)
Avast Free AntivĂ­rus should not block any connection, it's not a firewall. Besides, I'm using the Premier version and just disabling the firewall is enough.
Which firewall do you use?
Sometimes, the interaction between Avast and other product is bringing the error.
The best things in life are free.

Offline tarkio

  • Newbie
  • *
  • Posts: 3
Re: Avast firewall blocking Bash Ubuntu on Windows 10
« Reply #12 on: August 05, 2016, 08:48:35 PM »
It has been confirmed on the official Microsoft's git repository that Avast causes the issue:

https://github.com/Microsoft/BashOnWindows/issues/718

Uninstalling Avast allows to run bash.
You don't have to uninstall. Just pause the firewall while using bash. Of course, this is a workaround not a solution.

I disagree. I am only using avast antivirus (not the firewall component) and just disabling it is not enough, it needs to be uninstalled.

(EDIT: I am using the latest version)
Avast Free AntivĂ­rus should not block any connection, it's not a firewall. Besides, I'm using the Premier version and just disabling the firewall is enough.
Which firewall do you use?
Sometimes, the interaction between Avast and other product is bringing the error.
.
Hi, thanks for your response. I dont think I am the only one having this problem. I am using Windows 10 Firewall Control, which is a wrapper on the native windows firewall.

It is also mentioned in these links:
https://github.com/Microsoft/BashOnWindows/issues/565
https://github.com/Microsoft/BashOnWindows/issues/718

Offline lukor

  • Avast team
  • Super Poster
  • *
  • Posts: 1839
    • AVAST Software
Re: Avast firewall blocking Bash Ubuntu on Windows 10
« Reply #13 on: August 05, 2016, 09:02:51 PM »
Tarkio, can you be more specific on your problems? Do you also have problems with programs connecting to the network from inside WSL, such as wget, or do you have problems installing the subsystem (as mentioned on the links you've posted) ? Thanks.

Offline tarkio

  • Newbie
  • *
  • Posts: 3
Re: Avast firewall blocking Bash Ubuntu on Windows 10
« Reply #14 on: August 05, 2016, 10:55:14 PM »
Tarkio, can you be more specific on your problems? Do you also have problems with programs connecting to the network from inside WSL, such as wget, or do you have problems installing the subsystem (as mentioned on the links you've posted) ? Thanks.

I cannot install the subsystem, it hangs after extracting the filesystem, as in the links I have posted. I tried that with avast disabled, but nothing changed. Same with another machine of the same configuration, but when I uninstalled avast free  I was able to install WSL. Unfortunately I will not have access to that machine for the next 2 weeks, if you need more details.