Issue Details (XML | Word | Printable)

Key: CORE-1959
Type: Improvement Improvement
Status: Open Open
Priority: Minor Minor
Assignee: Paul Reeves
Reporter: Hugues Van Landeghem
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
Firebird Core

Install on On Windows XP (ask to add Firewall exception)

Created: 24/Jun/08 02:00 PM   Updated: 12/Oct/11 01:09 AM
Component/s: Installation
Affects Version/s: 2.1.0
Fix Version/s: None

Windows XP SP 1 with Microsoft Firewall
Vista with Microsoft Firewall

 Description  « Hide
Can It be possible to ask in the Firebird Install if you want to add the fbserver.exe and fbguard.exe in the firewall exception ?

I look in the InnoSetup install and don't find it.

the command line to make this is quite easy :

netsh.exe firewall add allowedprogram "c:\program files\firebird\Firebird_2_1\bin\fbguard.exe" fbguard
netsh.exe firewall add allowedprogram "c:\program files\firebird\Firebird_2_1\bin\fbserver.exe" fbserver

or I think you can make it with the port...

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Paul Reeves added a comment - 25/Jun/08 03:05 AM
It is certainly a good suggestion.
I'll see what can be done to integrate it into the installer.

F.D.Castel added a comment - 12/Oct/11 01:09 AM

We are successfully using the following command to open a Windows firewall port exception:

  netsh.exe firewall add portopening TCP 3050 "Firebird Server (3050/tcp)"

And the following command could be used to remove this rule (for uninstalller):

  netsh.exe firewall delete portopening TCP 3050

But I would concede that Hugues solution (above) is better (e.g.: we could change FB listen port). Did you have any trouble to integrate it into the current installer?

P.S.: Actually, this is NOT the "recommended" way to do it in Windows Vista/Server 2008 or later. But it surely works in all OS since XP/SP1. And I doubt Microsoft would break compatibility for a so-important feature like this, even with their warnings :)