Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install on On Windows XP (ask to add Firewall exception) [CORE1959] #2397

Open
firebird-automations opened this issue Jun 24, 2008 · 4 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Hugues Van Landeghem (vldg)

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...

@firebird-automations
Copy link
Collaborator Author

Modified by: Hugues Van Landeghem (vldg)

security: Developers [ 10012 ] =>

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

assignee: Paul Reeves [ paul_reeves ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @reevespaul

It is certainly a good suggestion.
I'll see what can be done to integrate it into the installer.

@firebird-automations
Copy link
Collaborator Author

Commented by: F.D.Castel (fdcastel)

Paul,

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants