Add firewall exceptions as part of the installation process

Bug #909389 reported by Roberto Alsina
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu One Windows Installer
Status tracked in Trunk
Stable-3-0
Fix Released
High
Brian Curtin
Trunk
Fix Released
High
Brian Curtin

Bug Description

You can add firewall exceptions using the netsh command. If we did this as part of the installation process, then the user would not see the windows firewall warning when first running syncdaemon.

More information at http://support.microsoft.com/kb/555914

Tags: u1-windows

Related branches

Revision history for this message
Brian Curtin (brian.curtin) wrote :

For XP, the following will work:
    netsh firewall add allowedprogram "C:\Prorgram Files\ubuntuone\dist\ubuntuone-syncdaemon.exe" "Ubuntu One" ENABLE

For Vista and beyond we need something like the following, since the above is deprecated:
    netsh advfirewall firewall add rule name="Ubuntu One" dir=in action=allow program="C:\Program Files (x86)\ubuntuone\dist\ubuntuone-syncdaemon.exe" enable=yes

Revision history for this message
Brian Curtin (brian.curtin) wrote :

Moved this to higher importance because now that the installer is integrated into control panel, the step to sync cloud-to-computer seems to be blocked on syncdaemon not being allowed through the firewall at that time.

Changed in ubuntuone-windows-installer:
status: Triaged → In Progress
importance: Low → High
Revision history for this message
Leo Arias (elopio) wrote :

Tested in real life on Windows 7. The application could access the internets without any firewall warning.
Thanks!

Changed in ubuntuone-windows-installer:
assignee: nobody → Brian Curtin (brian.curtin)
Changed in ubuntuone-windows-installer:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.