Configuring firewalls for Easysoft server processes

Contents

Easysoft services and programs affected by firewalls on Windows

Easysoft distribute the following services and programs which either listen on the specified ports or connect to the specified remote ports.

Service or program Port Connection type
Easysoft ODBC-ODBC Bridge server or Easysoft ODBC-ODBC Bridge server x64 8888 (for ODBC-ODBC Bridge clients) Listening services
Easysoft ODBC-ODBC Bridge HTTP Admin or Easysoft ODBC-ODBC Bridge HTTP Admin x64 8890

Note that in pre-2.1 versions of the ODBC-ODBC Bridge, the HTTP Admin Server was a separate process started by the ODBC-ODBC Bridge server, rather than a separate service.

Listening services
JDBC-ODBC Bridge server or JDBC-ODBC Bridge server x64 8031 (HTTP Admin Server) 8831 (for JDBC-ODBC Bridge clients) Listening services
ODBC-ODBC Bridge client 8888 Outgoing connection to ODBC-ODBC Bridge server
JDBC-ODBC Bridge client 8031 Outgoing connection to JDBC-ODBC Bridge server.
License Manager 8884 Outgoing connection to license.easysoft.com

Notes

This document describes how to enable the above services and programs in Windows Firewall and ZoneAlarm. The same principles apply to other firewalls.

Windows

Windows contains a Firewall. The firewall is enabled by default unless you are using another recognised firewall.

If you are using group policies in your network then a number of the fields in the Windows Firewall may be greyed out, and, in any case, you should consult your system manager. Editing Windows firewall properties with group policies is beyond the scope of this document.

Configuring firewall access in Windows Firewall

There are two ways to allow remote machines to access listening services on your machine with Windows Firewall. The first is defined in the exceptions and the second in the network connections. In both cases, you need to log on to the machine hosting the service in an administrative role, for example, as the local or domain administrator.

Defining an exception

You need to manually configure Windows Firewall to allow connections to a new service.

The quick way to do this is using netsh firewall:

netsh firewall set portopening
protocol=tcp
port=8888
name="Easysoft ODBC-ODBC Bridge server"
mode=enable
scope=subnet

Set port and name as per the table here. mode can also be disable to turn off this port specifically and scope can also be all (for from any computer) or custom (more specific but needs additional arguments).

Alternatively, you can allow connections to any port the service is listening on. The way to do this is using netsh firewall:

netsh firewall set allowedprogram
program=c:\windows\system32\esoobserver.exe
name="Easysoft ODBC-ODBC Bridge server"
mode=enable
scope=subnet

The example above is for the ODBC-ODBC Bridge server but you can use the same method for the JDBC-ODBC Bridge server.

Firewall profiles

Be careful when defining exceptions in the Windows Firewall as the configuration is per profile. For example, if you log into the machine with a domain account, change the firewall and then log back into the same machine with a local account, the Windows Firewall profile is different.

Logging dropped connections

Windows Firewall does not display a dialog box when a connection is blocked by the firewall. Neither does it log to the event log. If you want to list blocked connections you need to use the Windows Firewall interface to do this.

Once firewall logging is turned on, you can examine the specified file to find out what the firewall is blocking.

For connection packets blocked to the ODBC-ODBC Bridge server port 8888, the log will contain lines like this:

2004-09-07 21:31:32 DROP TCP 192.168.5.4 192.168.5.1 1027 8888 60 S 863130960 0 32120 - - - RECEIVE

For packets blocked to the ODBC-ODBC Bridge HTTP administration server, the log will contain lines like this:

2004-09-07 21:42:41 DROP TCP 192.168.5.4 192.168.5.1 1030 8890 60 S 2151300017 0 32120 - - - RECEIVE

where DROP indicates that the firewall threw the packets away.

Blocked connection dialog box

The ODBC-ODBC Bridge and JDBC-ODBC Bridge servers are usually run as a service under the service manager in Windows. However, they can be run from the command prompt as well; although not recommended. If you attempt to do this without defining access under Windows Firewall then the blocked connection dialog box is displayed.

What happens next depends on which option you select:

ZoneAlarm

If you're using ZoneAlarm to protect your computer, you'll need to tell ZoneAlarm about the ODBC-ODBC Bridge or JDBC-ODBC Bridge. The example below is for the ODBC-ODBC Bridge but the process is very similar for the JDBC-ODBC Bridge.

Installation

ZoneAlarm displays a warning dialog box when a program you have not registered with ZoneAlarm attempts to access the Internet or attempts to act as a server. During the ODBC-ODBC Bridge installation, a ZoneAlarm dialog box may appear at these points:

When you connect to an ODBC-ODBC Bridge client data source, a Zone Alarm security alert displays. For example, if you click Test when configuring an ODBC-ODBC Bridge client data source, ZoneAlarm displays a dialog box.

You need to choose Allow and perhaps Remember this setting if you don't want to be prompted about this again.