F-Secure Guide English
F-Secure Guide English
Administrator's Guide
19-10-24
TOC | F-Secure Policy Manager
Contents
Chapter 1: Introduction..................................................................................7
1.1 Main components..............................................................................................................................................8
1.2 Features..............................................................................................................................................................8
1.3 What's new.........................................................................................................................................................9
1.4 Product registration...........................................................................................................................................9
1.4.1 Upstream reporting............................................................................................................................9
1.5 Basic terminology.............................................................................................................................................10
1.6 Policy-based management...............................................................................................................................10
1.6.1 Management Information Base..........................................................................................................11
3.4.4 Restrictions......................................................................................................................................32
3.4.5 Using password-protected uninstallation........................................................................................32
3.4.6 Configuring settings.........................................................................................................................33
3.4.7 Copying policy settings between Policy Manager instances............................................................33
3.4.8 Policy inheritance.............................................................................................................................34
3.5 Managing operations and tasks.......................................................................................................................36
3.5.1 Remote collection of diagnostics reports.........................................................................................36
3.6 Alerts................................................................................................................................................................36
3.6.1 Viewing alerts and reports................................................................................................................36
3.6.2 Sending alerts by email.....................................................................................................................37
3.6.3 Configuring alert forwarding............................................................................................................38
3.6.4 Forwarding alerts to syslog server...................................................................................................38
3.7 Reporting tool..................................................................................................................................................38
3.7.1 Viewing and exporting a report........................................................................................................39
3.8 How to check that the network environment is protected.............................................................................39
3.8.1 Checking that all the hosts have the latest policy.............................................................................39
3.8.2 Checking that the hosts have the latest virus definitions.................................................................39
3.8.3 Checking that there are no disconnected hosts..............................................................................40
3.8.4 Viewing scanning reports................................................................................................................40
3.8.5 Viewing alerts...................................................................................................................................40
3.8.6 Creating a weekly infection report...................................................................................................41
3.8.7 Monitoring a possible network attack..............................................................................................41
1.2 Features
Some of the main features of Policy Manager are described here.
Software distribution • Installation of F-Secure products on hosts from one central location, and updating
of executable files and data files, including virus definitions updates.
• Updates can be installed automatically (‘pushed’) by Automatic Update Agent, or
manually (‘pulled’) from the F-Secure web site.
• Policy Manager Console can be used to export pre-configured installation packages,
which can also be delivered using third-party software, such as ConfigMgr (System
Center Configuration Manager) and similar tools.
Configuration and policy • Centralized configuration of security policies. The policies are distributed from Policy
management Manager Server by the administrator to the user’s workstation. Integrity of the
policies is ensured through the use of digital signatures.
Event management • Reporting to the Event Viewer (local and remote logs), email, and report files and
creation of event statistics. You can also set Policy Manager to forward alerts to a
third-party syslog server.
See the release notes for the full list of changes and further information.
What should I do if registration fails, saying that my customer number could not be validated?
Check your network configuration to make sure that Policy Manager Server is able to access the F-Secure registration
server (https://corp-reg.f-secure.com:443).
Policy A security policy is a set of well-defined rules that regulate how sensitive information and other
resources are managed, protected, and distributed. The management architecture of F-Secure
software uses policies that are centrally configured by the administrator for optimum control of
security in a corporate environment.
The information flow between Policy Manager Server and the hosts is accomplished by transferring
policy files.
Policy domain Policy domains are groups of hosts or subdomains that have a similar security policy.
Policy Policy inheritance simplifies the defining of a common policy. In Policy Manager Server, each policy
inheritance domain automatically inherits the settings of its parent domain, allowing for easy and efficient
management of large networks. The inherited settings may be overridden for individual hosts or
domains. When a domain's inherited settings are changed, the changes are inherited by all of the
domain’s hosts and subdomains.
The policy can be further refined for subdomains or even individual hosts. The granularity of policy
definitions can vary considerably among installations. Some administrators might want to define
only a few different policies for large domains. Other administrators might attach policies directly
to each host, achieving the finest granularity.
Base policy files Base policy files contain the administrative settings and restrictions for all the variables for all
F-Secure products on a specific host (with domain level policies, a group of hosts may share
the same file). Base policy files are created on Policy Manager Server, and all related
communication with Policy Manager Console is handled via HTTPS.
Incremental policy Incremental policy files are used to store local changes to the base policy. Only changes that
files fall within the limits specified in the base policy are allowed. The incremental policy files are
then periodically sent to Policy Manager Server so that current settings and statistics can be
viewed by the administrator.
Settings Used to manage the workstation in the manner of an SNMP. The managed products
must operate within the limits specified here.
Operations Operations are handled with two policy variables: (1) a variable for transferring the
operation identifier to the host, and (2) a variable for informing Policy Manager about
the operations that were performed. The second variable is transferred using normal
statistics; it acknowledges all previous operations at one time. A custom editor for
editing operations is associated with the subtree; the editor hides the two variables.
Private The management concept MIBs may also contain variables which the product stores
for its internal use between sessions. This way, the product does not need to rely on
external services such as Windows registry files.
Traps Traps are the messages (including alerts and events) that are sent to the local console,
log file, remote administration process, etc. The following types of traps are sent by
most F-Secure products:
Chapter
2
Installing the product
Topics: This section explains the steps required to install Policy Manager.
• System requirements Here you will find instructions for installing the main product components; Policy
Manager Server and Policy Manager Console.
• Installing the product on Windows
• Installing the product on Linux
F-Secure Policy Manager | 13
Memory: 2 GB RAM.
Browser: • Firefox
• Internet Explorer
• Google Chrome
14 | Installing the product
Memory: 1 GB of RAM.
3. Enter and confirm a password for your admin user account, then click Next.
Use this password to log in to Policy Manager Console with the user name admin.
4. Select the Policy Manager Server modules to enable:
• The Host module is used for communication with the hosts. Non-sensitive data, such as updates to the virus
definitions database, is transferred over HTTP, whereas any sensitive data is transferred using the secured HTTPS
protocol. The default HTTP port is 80, and the default HTTPS port is 443.
• The Administration module is used for communication with Policy Manager Console. The default HTTPS port is
8080.
Note: If you want to change the default port for communication, you will also need to include the new
port number in the Connections URL when logging in to Policy Manager Console.
By default, access to the Administration module is restricted to the local machine. If you want to use Policy
Manager Console on a different computer, clear the Restrict access to the local machine checkbox.
• The Web Reporting module is used for communication with Web Reporting. Select whether it should be enabled.
Web Reporting uses a local socket connection to the Administration module to fetch server data. The default
HTTPS port is 8081.
Note: Make sure that your firewall rules allow access to the ports used by Policy Manager Console and the
hosts so that they can fetch policies and database updates.
16 | Installing the product
When setting up workstations, older versions of Client Security require the admin.pub key file (or access to it) for
installation. You can get this key from the Policy Manager Server welcome page. In the latest version of Client Security,
the installation packages are prepared in Policy Manager and include the key.
Installation notes
Red Hat, CentOS, and Suse distributions:
• Policy Manager Server requires both 32-bit and 64-bit versions of the libstdc++ library. Make sure that the
libstdc++ and libstdc++.i686 packages are installed before you install Policy Manager Server.
Debian and Ubuntu distributions:
• Both 32-bit and 64-bit versions of the libstdc++ library must be installed prior to installing Policy Manager Server.
Use Multiarch capabilities (https://wiki.debian.org/Multiarch/HOWTO) to install the 32-bit library onto 64-bit platforms.
• Install the libstdc++6 and libstc++6:i386 packages before installing Policy Manager Server. If installation
was not completed because the compatibility library was not found, install the library and then use the apt-get
install -f command to complete installing the product.
6. Specify the HTTP proxy configuration if the Policy Manager host does not have a direct internet connection.
a) Edit the HTTP proxy configuration file.
• Windows: <F-Secure installation folder>\Management Server
5\data\fspms.proxy.config
• Linux: /var/opt/f-secure/fspms/data/fspms.proxy.config
b) Add the proxy as a new line, using the following format:
http_proxy=[http://][user[:password]@]<address>[:port].
Use percent encoding for any reserved URI characters in the user name or password. For example, if the password
is ab%cd, you need to enter it as follows:
http_proxy=http://user:ab%25cd@proxy.example.com:8080/.
c) Restart the Policy Manager Server service.
Note: Policy Manager supports a single HTTP proxy configuration and there is no fallback to a direct internet
connection when an HTTP proxy is defined.
Once the configuration script is finished, Policy Manager Server is running and will start automatically whenever the
computer is restarted.
Policy Manager Console is installed to /opt/f-secure/fspmc/. A new user group called fspmc is created
automatically.
4. Add users to the fspmc user group.
This needs to be done before they can run Policy Manager Console:
a) Check which groups the user belongs to:
groups <user id>
For example, if the user is Tom:
groups Tom
b) Add this user to the fspmc group:
/usr/sbin/usermod -aG fspmc <user id>
F-Secure Policy Manager | 19
5. Select Policy Manager Console from the F-Secure submenu in the Programs menu.
You can also start Policy Manager Console from the command line by entering sg fspmc -c
/opt/f-secure/fspmc/fspmc.
The first time Policy Manager Console is started, you will be prompted to answer a few questions to complete the
configuration. These questions are the same as for the Windows version.
Note: Policy Manager Server requires Linux capabilities. Make sure this package is installed before installing
Policy Manager Server. For SUSE Linux Enterprise Server 11 and SUSE Linux Enterprise Desktop 11, you might need
to explicitly enable Linux File System Capabilities by adding file_caps=1 as a kernel boot option (see SUSE
Linux Enterprise Server 11 release notes for more details:
https://www.suse.com/releasenotes/x86_64/SUSE-SLES/11-SP4).
3. Run the database maintenance tool before starting Policy Manager Server:
/opt/f-secure/fspms/bin/fspms-db-maintenance-tool
Note: To prevent accidentally deleting irreproducible data created by Policy Manager components, for
example log files, MIB files, the domain tree, policies, configuration files and preferences, the uninstallation
process will not remove the directories listed below. Do not delete keys that may be needed in the future. If
you want to completely remove the product, log in as root and enter the following commands:
20 | Installing the product
rm -rf /var/opt/f-secure/fspms
rm -rf /var/opt/f-secure/fsaus
rm -rf /etc/opt/f-secure/fspms
rm -rf /etc/opt/f-secure/fsaus
rm -rf /opt/f-secure/fspmc
Chapter
3
Using Policy Manager Console
Topics: This section contains information about the Policy Manager Console component
and how it is used.
• Overview
Policy Manager Console is a remote management console for the most commonly
• Basic information and tasks
used F-Secure security products, designed to provide a common platform for all
• Managing domains and hosts of the security management functions required in a corporate network.
• Managing policies
• Managing operations and tasks
• Alerts
• Reporting tool
• How to check that the network
environment is protected
22 | Using Policy Manager Console
3.1 Overview
This section provides some general information about Policy Manager Console.
The conceptual world of Policy Manager Console consists of hosts that can be grouped within policy domains. Policies
are host-oriented. Even in multi-user environments, all users of a specific host share common settings.
An administrator can create different security policies for each host, or create a single policy for many hosts. The policy
can be distributed over a network to workstations and servers.
With Policy Manager Console, an administrator user can:
• Set the attribute values of managed products.
• Determine rights for users to view or modify attribute values that were remotely set by the administrator.
• Group the managed hosts under policy domains sharing common attribute values.
• Manage host and domain hierarchies easily.
• Generate signed policy definitions, which include attribute values and restrictions.
• Display status.
• Handle alerts.
• Handle F-Secure anti-virus scanning reports.
• Handle remote installations.
• View reports in HTML format, or export reports to various formats.
Policy Manager Console generates the policy definition, and displays status and alerts. Each managed host has a module
(Management Agent) enforcing the policy on the host.
Read-only users can:
• View policies, statistics, operation status, version numbers of installed products, alerts and reports.
• Modify Policy Manager Console properties, because its installation is user-based and modifications cannot affect
other users.
The user cannot do any of the following in read-only mode:
• Modify the domain structure or the properties of domains and hosts.
• Modify product settings.
• Perform operations.
• Install products.
• Save policy data.
• Distribute policies.
• Delete alerts or reports.
3.2.1 Logging in
When you start Policy Manager Console, the Login dialog box will open.
Tip: You can click Options to expand the dialog box to include more options.
The Login dialog box can be used to select defined connections. Each connection has individual preferences, which
makes it easier to manage many servers with a single Policy Manager Console instance.
It is also possible to have multiple connections to a single server. After selecting the connection, enter your Policy Manager
Console user name and password. The user name and password are specific for your Policy Manager user account, and
are not linked to your network or network administrator password. The password for the admin user is defined when
installing the program, and other users (either with admin or read-only access) are created through Policy Manager
Console.
F-Secure Policy Manager | 23
The setup wizard creates the initial connection, which appears by default in the Connections: field. To add more
connections, click Add or to edit an existing connection, click Edit (these options are available when the dialog box is
expanded).
Policy Manager Server generates an instance-specific, self-signed certificate when it is installed. When connecting to the
server, Policy Manager Console tries to validate the server certificate and shows a warning if the validation is unsuccessful.
Once the certificate's fingerprint is confirmed by an administrator, it is saved to the Administrator.properties
configuration.
Connection properties
The connection properties are defined when adding a new connection or editing an existing one.
The link to the data repository is defined as the HTTPS URL of Policy Manager Server.
Display as specifies what the connection will be called in the Login dialog box. If Name is left empty, the URL is displayed.
3.2.2 Dashboard
The dashboard in Policy Manager Console gives you an overview of the current status of the managed network.
In addition to showing you relevant, real-time information on the status of Policy Manager, the managed network, and
network activity, the dashboard also provides direct links to more details and quick paths to resolve potential issues.
The dashboard shows you the following information:
• Server CPU status.
• Number of pending and unmanaged hosts. Click either of these to see details.
• Status of administrator features: email notifications, scheduled reporting, alert forwarding, Active Directory, and
Policy Manager Proxy. Click any of these to go to the relevant pages or to see more details.
• Status of updates and disk space, amount of downloaded and distributed data.
• Server events. These include virus definition updates, user activity, and warnings. Click the download icon to export
the log as a CSV file.
• Host issues. This list shows you the current status of the main issues that affect the managed hosts. Click any of the
issues to see a detailed list of the affected hosts and the proposed solution for each case.
You can click Summary to switch to a different view of the network status.
The Users view shows you name of the user as well as their access level and when they were last logged in to Policy
Manager. The icons represent the type of user (local, imported from Active Directory, user group).
You can give the user access to either a specific sub-domain only or Root access to all domains.
1. Select Tools > Users from the menu.
24 | Using Policy Manager Console
The Users dialog box appears, with all current users listed.
2. To create a single user locally:
a) Click Create local user.
b) Enter the user name and password for the new user and select the domain access.
c) Select Read-only access if you want to limit the user's access.
d) Click OK.
3. To import users from Active Directory:
a) Click Import from Active Directory.
b) Enter the credentials for your Active Directory server, then click Next.
c) Select the user or group to import.
You can use the search field to find specific accounts.
d) Click Next.
e) Select the domain access for the imported user or group.
f) Select Read-only access if you want to limit the user's access.
g) Click Done.
The new user or group is shown on the Users list, and can now access Policy Manager.
For imported groups, you can click See members to view details of the individual users who belong to the group.
Note: Any user with full admin access will be able to delete any other user, but there must be at least one user
with full, root-level admin access. Users with sub-domain access can only delete other users within the scope of
their sub-domain. If a user account is deleted while that user is logged in, they will be logged out and prompted
to log in the next time a connection to Policy Manager is required.
Note: The following operations are only available to users with full, root-level access:
• Product registration
• Creating and removing import rules
• Manually importing new hosts that are not matched by import rules
• Importing and removing product installation packages
• Importing and exporting signing keys
• Configuring the auto-removal policy for disconnected hosts
• Importing Active Directory structures
Using help
When you select an MIB tree node on the Policy tab, any available help text is displayed in the main application area.
A new policy domain can be created only when a parent domain is selected.
• Add a new host by clicking the following icon:
• Find a host.
• View the properties of a domain or host. All hosts and domains should be given unambiguous names.
• Import new hosts.
• Autodiscover hosts from a Windows domain.
• Delete domains.
• Move hosts or domains, using cut and paste operations.
• Export a policy file.
After selecting a domain or host, you can access the above options from the Edit menu.
The domains referred to in the commands are not Windows NT or DNS domains. Policy domains are groups of hosts or
subdomains that have a similar security policy.
Available upgrades are shown on the Product upgrades tab of the Messages pane, listing the available new versions of
your software along with the corresponding links for you to download the new versions. The upgrade messages apply
only to applications that are relevant for your managed environment.
Policy Manager also sends a server alert email to the defined recipients for each new available upgrade.
When you install a Policy Manager upgrade or import the installation package for a managed application, the corresponding
message automatically disappears from the Product upgrades list.
If you do not need to install an upgrade, you can mark it as ignored to skip it.
The new policy domain will be a subdomain of the selected parent domain.
2. Enter a name for the policy domain.
An icon for the domain will be created.
• Import structure manually: If you only want to import the Active Directory tree, but do not want to synchronize or
monitor the tree for any future changes, you can use this option.
In addition to these options, you can use the Active Directory distinguished name as the import criteria when creating
host import rules.
2. Copy the certificate file to the Policy Manager host, for example to /home/user/Downloads/server.crt.
3. Run the following command to go to Policy Manager's JRE directory:
cd /opt/f-secure/fspms/jre/
4. Run keytool to apply the certificate:
./bin/keytool -importcert -keystore ./lib/security/cacerts -file
/home/user/Downloads/server.crt
keytool prompts you to enter a password. Use the default keystore password, changeit.
5. Enter yes when asked if you trust this certificate, and press Enter.
6. Restart the Policy Manager service:
/etc/init.d/fspms restart
3. Select the hosts that you want to add to the Policy Manager domain tree, then click Start installation.
The selected hosts are added to the policy domain tree and you can start installing the necessary security software.
Alternatively:
• Select Edit > Import new hosts from the menu.
• Select Import new hosts from the Installation view.
When the operation is completed, the host is added to the domain tree. The new hosts can be imported to different
domains based on different criteria, such as the hosts’ IP or DNS address. The New hosts view offers a tabular view
to the data which the host sends in the autoregistration message. This includes any custom properties that were
included in the remote installation package during installation.
2. You can perform the following actions on the New hosts view:
• You can sort messages according to the values of any column by clicking the corresponding table header.
• You can change the column ordering by dragging and dropping the columns to the suitable locations, and column
widths can be freely adjusted.
• You can use the table context menu (click the right mouse button on the table header bar) to specify which
properties are visible in the table.
1. You can hide and display columns in the table by using the right-click menu that opens when you right-click any
column heading in the Import rules window.
Only the values in the currently visible columns are used as matching criteria when importing hosts to the policy
domain. The values in the currently hidden columns are ignored.
2. You can add new custom properties to be used as criteria when importing hosts.
One example of how to use the custom properties is to create separate installation packages for different organizational
units, which should be grouped under unit-specific policy domains. In this case you could use the unit name as the
custom property, and then create import rules that use the unit names as the import criteria. Note that custom
property names that are hidden are remembered only until Policy Manager Console is closed. To add a new custom
property:
a) Right-click a column heading and select Add new custom property.
30 | Using Policy Manager Console
4. When you want to start the import operation, select the New hosts tab and click Import.
The import rules you have defined will be validated before importing starts.
After the hosts have been imported, you will see a summary dialog displaying the number of successfully imported
hosts and the number of unsuccessful import operations. Note that an empty set of conditions is always treated as
matching.
• Press Insert.
When policy changes are distributed, the policy files are generated automatically for each host on request. This means
that there is no need to redistribute the policy when you change the domain structure, for example by adding new hosts,
or after you upgrade the managed software on existing hosts.
3.4.1 Settings
To configure settings, browse the policy tree and change the values of the policy variables.
A policy variable may have a pre-defined default value. The default values behave as if they were inherited from above
the root domain. That is, they appear to be inherited values even if the top (root) domain is selected. Default values can
be overridden just like any other value.
Values on the selected policy domain level are color-coded as follows:
• Black – changed values on the selected policy domain or host level.
• Gray – inherited values.
• Red – invalid values.
• Dimmed red – inherited invalid values.
Icon Description
No notes available for this setting. Click to add a note.
A note has been added for this setting. Click to view or edit
the note.
Icon Description
Click this icon in the note editor to delete the note.
Notes are also shown in the Domain policy values dialog and in inheritance reports.
To add a note:
1. Click the note icon next to the setting to which you want to add a note.
The note editor appears.
2. Enter the text that you want to add.
3. Click anywhere outside the note editor to save your comment and close the editor.
The time and user name for the last change to the note are recorded, and the icon changes to indicate that there is
a note for the setting.
Note: Even though the note is automatically saved, it is not visible to other administrators until you distribute
the policy.
Note: The time of the last change to a note is updated when the policy is distributed.
To delete any note, click the note icon, then click the trash icon in the note editor and confirm that you want to delete
the note.
Note: You cannot delete inherited notes (shown with a gray icon). You can only delete notes on the domain
level where they have been added.
3.4.4 Restrictions
Using restrictions, an administrator can restrict access to any policy variable from the user.
Policy variables that are set to Disallow user changes always forces the setting: the policy variable overrides any local
host value, and the end user cannot change the value as long as the Disallow user changes restriction is set.
When password-protected uninstallation is in use, uninstalling client software managed by Policy Manager on a host
requires the user to enter the uninstallation password. Without the correct password, uninstallation is canceled.
Note: Password-protected uninstallation also applies to distributed Policy Manager components that are installed
on managed hosts.
The password that you set must now be entered when uninstalling managed client software locally. If you want to stop
using password-protected uninstallation, click Remove password.
5. Review the listed changes to the policy settings, then click Distribute.
You can click the listed items to view the corresponding page in the settings.
Tip: You can also distribute the policies by selecting File > Distribute from the menu or by pressing CTRL + D.
Once you distribute the changes, the updated policies are saved to the database, where F-Secure software on the hosts
will automatically check for updates.
Note: No changes will take effect before you have distributed the policy and the host has fetched it. This also
applies to operations, because they are implemented using the policy-based mechanism.
Allow user changes Unlocks all the settings that have a lock symbol displayed
beside them on the current page. After this the users can
change these settings.
Disallow user changes Locks all the settings that have a lock symbol displayed
beside them on the current page. After this the users cannot
change these settings.
Clear all... Clears all the settings that have been redefined on the
current page and restores the default or inherited values.
Note: The row can be inherited from a parent domain, or from a MIB (a definition of the settings and containing
the default values for all settings) as a default row. The MIB can be considered a "domain above the root domain"
in relation to leaf value or row inheritance. MIB defaults are inherited to subdomains unless overridden at a domain
level. To override an inherited row, define a row with the same index column values. MIB defaults are obtained
based on the product version installed on hosts. For a domain, the values from the newest product version are
used.
3.6 Alerts
This section describes how to view alerts and reports, and how to configure alert forwarding.
The Alerts tab will open. All alerts received will be displayed in the following format:
Ack Click the Ack button to acknowledge an alert. If all the alerts are acknowledged, the Ack
button will be dimmed.
Severity The problem’s severity. Each severity level has its own icon:
F-Secure Policy Manager | 37
When an alert is selected from the list, more specific information about the alert will be displayed. F-Secure anti-virus
scanning alerts may have an attached report, which will also be displayed.
2. To view reports, click on the Scanning reports tab, or select Product view > Messages from the menu.
The Scanning reports tab has the same structure as the Alerts tab. Alerts tables and Scanning reports tables can
be sorted by clicking on the column heading.
6. Click OK.
The following server alerts are sent:
• Anti-virus databases are <n> days old: security alert, generated when the antivirus definition
databases are more than 5 days old.
• Anti-virus database version is unknown: warning, generated if the database version cannot be
detected, for example if Policy Manager cannot connect to the Automatic Update Agent.
• Software Updater databases are <n> days old: security alert, generated if the Software Updater
databases are more than one week old.
• Software Updater databases are missing: security alert, generated if there is no Software Updater
database available on Policy Manager.
• <n> new host(s) waiting to be imported: warning, generated if there are new hosts that do not
match any import rule and are waiting to be imported manually.
38 | Using Policy Manager Console
• <n> unmanaged host(s) discovered: warning, generated when new, unmanaged hosts are detected.
• Upgrade available: <product name> <product version>. To see more information
and get the upgrade, go to <link to the download page>. This message is sent whenever
a new upgrade is available for Policy Manager or any of your managed F-Secure applications.
The host alerts vary according to the managed software that triggers them.
Logging information on the forwarded alerts is stored to the following file: <F-Secure installation
folder>\Management Server 5\logs\fspms-alert-forwarding.log.
3. Configure the alert target further, if necessary, by setting the policy variables under target-specific branches.
For example Settings > Alerting > F-Secure Policy Manager Console > Retry send interval specifies how often a
host will attempt to send alerts to Policy Manager Console when previous attempts have failed.
3.8.1 Checking that all the hosts have the latest policy
You can ensure that all hosts have the correct settings by checking that they have the latest policy.
1. Select Root on the Policy domains tab.
2. Go to the Dashboard > Summary tab and check how many hosts of the entire domain have the latest policy.
3. If all hosts do not have the latest policy, click View hosts' latest policy update.
This takes you to the Status tab and Centralized management page.
4. On the Centralized management page, check which of the hosts do not have the latest policy.
You can also see the possible reasons for this; for example, the host is disconnected or there has been a fatal error
on the host.
3.8.2 Checking that the hosts have the latest virus definitions
You should regularly check that the virus definitions are up to date on all hosts within the domain.
1. Select Root on the Policy domains tab.
2. Go to the Dashboard > Summary tab and check what is displayed in the Virus protection for endpoints section
beside Virus definitions.
3. If the virus definitions on some hosts are outdated, there are two alternatives:
• You can select the Status tab and the Overall protection page to see which hosts do not have the latest virus
definitions. Then select these hosts in the Policy domains tab, go to the Operations tab and click Update virus
definitions. This orders the selected hosts to fetch new virus definitions at once.
• Alternatively, click the Update virus definitions link. This takes you to the Operations tab. Once on the
Operations tab, click Update virus definitions. This orders all hosts to fetch new virus definitions at once.
40 | Using Policy Manager Console
Alternatively, you can click View alerts by severity on the Dashboard > Summary tab.
The Alerts tab will open. All alerts received will be displayed in the following format:
Ack Click the Ack button to acknowledge an alert. If all of the alerts are acknowledged, the Ack
button will be dimmed.
Severity The problem’s severity. Each severity level has its own icon:
When an alert is selected from the list, the Alert view under the alerts table displays more specific information about
the alert.
2. You can use the Ack button to mark the alerts that you have seen and are planning to troubleshoot.
3. The alert summary displayed on the Dashboard > Summary tab is not automatically refreshed, so you can click Refresh
alert summary to refresh the alert view.
Chapter
4
Maintaining Policy Manager Server
Topics: This section contains topics on how to ensure the reliable running of Policy
Manager Server.
• Malware definition updates
• Backing up and restoring Policy
Manager data
• Creating the backup
• Restoring the backup
• Restoring an automatically saved
backup on Linux
• Exporting and importing signing keys
• Replicating software using image files
• Running the database maintenance
tool
F-Secure Policy Manager | 43
Downloaded updates The downloaded updates are stored in the following folder:
• Windows: <F-Secure installation folder>\Management Server
5\data\guts2\updates
• Linux: /var/opt/f-secure/fspms/data/guts2/updates
44 | Maintaining Policy Manager Server
Migrated data The list of updates needed for version 12 and older clients, which was previously stored in the
AUA configuration file, is migrated to channels.json:
• Windows: <F-Secure installation folder>\Management Server
5\config\channels.json
• Linux: /opt/f-secure/fspms/config/channels.json
-Dguts2ServerUrl=http://<proxy_address>/guts2
The tool for downloading updates is bundled with Policy Manager and can be extracted with the provided scripts. When
you run it on any machine with internet access, the tool downloads the latest updates and required diffs to generate an
all-in-one archive.
By default, the tool uses the data\updates folder to store the downloaded update binaries. It also stores the update
history to use as a reference for downloading the relevant diffs to the latest version.
In addition to the update binaries, you also need the fsaua-update tool to import the prepared updates. This tool
is included in the Client Security installation package: C:\Program Files (x86)\F-Secure\Client
Security\fsaua-update.exe.
To update the malware definitions:
1. Run the following command on the Policy Manager machine to prepare the tool:
• Windows: <F-Secure installation folder>\Management Server
5\bin\prepare-fspm-definitions-update-tool.bat <destination folder>
• Linux: /opt/f-secure/fspms/bin/prepare-fspm-definitions-update-tool
<destination folder>
2. Transfer the prepared binaries to a machine that has internet access, if necessary.
3. Modify the tool configuration, if necessary:
• conf\channels.json: this contains a list of the channels to be updated. By default, it includes updates for
all the supported clients managed by Policy Manager, so we recommend that you leave only the Client Security
versions necessary for your environment.
You can set Policy Manager to automatically backup the server data on a regular schedule. You can choose when the
backups should be taken and how many backups you want to store - as more backups are created, the oldest ones are
deleted.
You can also export the signing keys in use on your installation of Policy Manager Server to a network location, from
where they can be imported again if necessary.
If you want to save the Policy Manager Console preferences, back up the lib\Administrator.properties file
from the local installation directory.
Note: The Administrator.properties file is created during the first run of Policy Manager Console
and contains session related information such as window size or the server URL.
For Client Security and Server Security version 14.x clients, the distributable image must use a different ID generation
method than the original installation package:
a) Run the following command to check the current ID method: C:\Program Files
(x86)\F-Secure\Client Security\BusinessSuite\resetuid.exe showuid
b) Reset the unique ID to use a different ID generation method.
For example, if the current ID uses SMBIOS, run the following command to reset to RANDOMGUID: C:\Program
Files (x86)\F-Secure\Client Security\BusinessSuite\resetuid.exe resetuid
randomguid
F-Secure Policy Manager | 49
Database maintenance is automatically started as part of any Policy Manager upgrade or re-installation to ensure that
the database structure is compatible with the latest version.
The maintenance tool creates a backup of your database, after which it verifies the database integrity and then applies
the updated schema to the contents of the database. It also cleans up any invalid data to optimize the size and performance
of the database.
To run the database maintenance tool manually:
1. Stop the Policy Manager service.
2. Start the maintenance tool.
• On Windows, run <F-Secure installation folder>\Management Server
5\bin\fspms-db-maintenance-tool.exe.Whenthemaintenancetoolopens,clickStartmaintenance.
• On Linux, run the /opt/f-secure/fspms/bin/fspms-db-maintenance-tool script.
The progress and details of the maintenance steps are shown.
Note: The maintenance tool may skip some of the maintenance steps, for example if the database schema
is already up to date. However, the overall maintenance can still be successful even with skipped steps.
Critical issues
If a critical error occurs during the maintenance process, the remaining steps are skipped and no changes are applied.
In addition, when you close the maintenance tool, Policy Manager Server does not start up automatically; this is to prevent
upgrading the database schema so that the original database remains intact.
Backup If the maintenance tool cannot create a backup of the database, it is most likely due to insufficient free
disk space. If this happens:
1. Finish the setup.
2. Free up some additional disk space.
3. Run the maintenance tool manually.
50 | Maintaining Policy Manager Server
Integrity This step fails with a critical error only when the management keys or domain tree tables cannot be
verification processed. In the latter case, the tool exports the management keys to the Policy Manager Server data
folder (the path is shown in the details dialog), so that you can import this key pair into a fresh database
to avoid re-deploying the clients or using a key replacer tool.
If the integrity check of the critical tables fails, then the previous installation was most likely already
broken. If this occurs, we recommend that you delete the corrupt database, start Policy Manager
Server and import the rescued or previously exported management key pair to a newly created database.
You can also contact technical support and provide a copy of the database backup to see if it can be
rescued.
You can also try running the maintenance tool on an earlier backup:
1. Finish the setup.
2. Check that the Policy Manager Server service has stopped.
3. Copy the earlier backup to the Policy Manager Server data folder, replacing the broken database.
4. Run the database maintenance tool.
Database A critical error during this step may be due to insufficient disk space. If this is the case, free up some
schema additional disk space and run the maintenance tool on the backup that it created during the upgrade.
upgrade If a critical error occurs during this step, and your previous installation of Policy Manager was working,
you can revert to the previous version as follows:
1. Finish the setup.
2. Uninstall Policy Manager.
3. Restore the original database from the backup copy.
4. Install the previous version of Policy Manager.
You can also try running the maintenance tool on an earlier backup, as described for issues in the
integrity verification step.
If a critical error occurs during this step, we recommend that you create a support ticket that includes
the broken database.
Warnings
If there are any issues during the maintenance process that prompt a warning, the process will still continue, but a warning
icon is shown for the step and details are given in a separate dialog.
Integrity • A warning is displayed if non-critical data is lost during this step.
verification • This may be due to insufficient disk space. If this is the case, you can free up some additional
disk space and run the maintenance tool on the backup that it created during the upgrade.
• If the lost data originated from managed hosts (for example, status, alert, or report data), you
do not need to do anything and some of the data will be recovered at some stage.
• If the details for the warning indicate a loss of user data (for example, policies, host import
rules, or Active Directory rules), you can try running the maintenance tool on an earlier backup.
If this does not recover the lost data, the administrator needs to re-enter the data manually in
Policy Manager Console.
Database schema • There are very few known issues that prompt a warning for this step.
upgrade • One possible cause is an issue when moving the SMTP server credentials from the database to
secure storage.
• If any data is lost, you can try running the maintenance tool on an earlier backup once the setup
is complete. If this does not recover the lost data, the administrator needs to re-enter the data
manually in Policy Manager Console.
Chapter
5
Web Reporting
Topics: Web Reporting is a graphical reporting system included in Policy Manager Server.
• Generating and viewing reports The detailed graphical reports in Web Reporting allow you to identify computers
that are unprotected or vulnerable to virus outbreaks. With Web Reporting, you
• Maintaining Web Reporting
can quickly create graphical reports based on historical trend data using a
• Web Reporting error messages and web-based interface. You can produce a wide range of useful reports and queries
troubleshooting from Client Security alerts and status information sent by Management Agent to
Policy Manager Server. You can export the reports into HTML or PDF.
In order to view the reports generated by Web Reporting, your computer must
have an Internet browser, for example Internet Explorer or Mozilla Firefox.
52 | Web Reporting
Note: Virus Protection and Internet Shield information is not included in the reported statistics for Mac hosts.
3. In the Recipient emails field, enter the email addresses that should receive the reports.
Use semi-colons to separate multiple addresses.
4. Choose whether to send the reports daily, weekly or monthly.
a) If you want to send the reports on a weekly basis, select the weekday.
F-Secure Policy Manager | 53
If you choose to send the reports on a monthly basis, the reports for each month are automatically sent on the first
day of the following month.
5. Select which reports you want to send.
The listed recipients will receive the selected reports in HTML format according to your settings.
If you want to check that the report emails are delivered correctly, click Send reports now.
All Web Reporting data is stored in the H2 database used by Policy Manager Server, so whenever you back up that database,
the Web Reporting data is also backed up.
Your browser could not contact Policy Manager Server at all. The link you have might point to the wrong machine or
to the wrong port, Policy Manager Server is not installed on that machine, or the Policy Manager Server service is not
running. Check all of these in this order. A firewall may also prevent the connection.
• Error message: Web Reporting lost its database connection, this may require restarting the Policy Manager
Server service.
If Web Reporting cannot contact the database, you should restart the Policy Manager Server service. If this does not
help, you may wish to reinstall Policy Manager Server, keeping the existing database.
5.3.2 Troubleshooting
In general, if Web Reporting does not work, you should try the steps listed here.
Try these steps in the following order:
1. Reload the page.
2. If the problem is caused by all processes not having started yet, wait for a while, and then try to reload the page.
You can also reduce the startup time by deleting unnecessary alerts.
3. Restart the Web Reporting service.
4. Restart Policy Manager Server.
5. Restart the computer.
6. Re-install Policy Manager Server, keeping the existing configuration.
7. If all else fails, reset the Web Reporting database or restore it from a backup copy.
6.1 Overview
Policy Manager Proxy reduces the load on networks to solve bandwidth problems in distributed installations of Client
Security.
Policy Manager Proxy offloads heavy traffic from the master server to optimize costly, high-latency traffic. For example,
the proxy node gets the necessary installation packages for software updates from the master server, and the managed
hosts then retrieve the packages from the proxy node. This means that the master server no longer needs to handle the
distribution load.
Secure connections are used both between hosts and proxy, and proxy and master server. This means that the proxy
node certificates must be pre-configured. Managed hosts connect to the configured proxy nodes using the Policy Manager
Proxies table.
Note: Although the installation packages are distributed to hosts by the proxy node, Software Updater XML
databases are always downloaded from the master Policy Manager Server. This traffic always bypasses proxy
nodes.
Policy Manager Proxy can be configured to function as a reverse proxy. The proxy type defines if data requested by hosts,
such as anti-virus definitions and software updates, is retrieved directly from the internet or from the configured upstream
Policy Manager or other proxy. Forward proxy is used to decrease traffic between networks, for example a branch office
and headquarters. Reverse proxy is used in environments where the proxy has no direct connection to the internet, for
example. Reverse proxy is also used to decrease the load on the master server (or other forward proxy). By default the
proxy is installed in forward mode.
• Less network bandwidth consumption. In particular, you should use Policy Manager Proxy when you have a group of
workstations that are located far away from your Policy Manager Server.
• Quicker delivery of malware definition updates. This is especially true when you have a group of workstations separated
from your Policy Manager Server by a slow connection.
• Less load on Policy Manager Server. In large-scale networks, Policy Manager Proxy can take care of the majority of
requests from managed hosts.
In addition to the scenario outlined above, if you are using Policy Manager in a network environment where it has no
Internet connection, you can use Policy Manager Proxy to handle malware definition updates.
In forward mode, the proxy downloads database and Software Updater updates from the internet. In reverse mode,
the proxy downloads the updates from the Policy Manager Server.
You can check that the installation was successful by going to the Proxy welcome page
(https://proxy_name:<HTTPS_port>, where <HTTPS_port> is the HTTPS port that you entered during
installation) in your browser.
6. Specify the HTTP proxy configuration if the Policy Manager Proxy host does not have a direct internet connection.
Note: The HTTP proxy that you configure is only used when Policy Manager Proxy is installed in forward
proxy mode, and only for internet connections. Connections to Policy Manager (to communicate certificates,
policies, and status, for example) are made directly to the Policy Manager Server. In reverse proxy mode, all
connections are made directly to the Policy Manager Server.
Note: Policy Manager Proxy supports a single HTTP proxy configuration and there is no fallback to a direct
internet connection when an HTTP proxy is defined.
You can now configure endpoints to use the proxy by specifying the priority order of proxy nodes in the Policy Manager
Proxy table.
• Push installations The Installation tab has shortcuts to all the installation features.
• Policy-based installation
• Local installation and updates with
pre-configured packages
• Local installation and Policy Manager
• Upgrading managed software
60 | Software distribution
The only difference between the Autodiscover Windows hosts and the Push install to Windows hosts features is
how the target hosts are selected: Autodiscover browses Windows domains or fetches information from an Active Directory
server to allow the user to select the target hosts from a list, push install allows you to define the target hosts directly
with IP addresses or host names. After the target hosts are selected, both push installation operations proceed the same
way.
Note: Before you start to install F-Secure products on hosts, you should check that any firewalls do not block
access to the target computer. Policy Manager Console uses TCP port 135 for remote procedure call (RPC) access
and port 445 for network and file sharing access. The target computer and Policy Manager Console both use
Policy Manager Server's host port to report the installation result.
The push installation functionality is part of Policy Manager Console. This means that you can use push installations if you
have Policy Manager Server running on a Linux machine and Policy Manager Console installed on a Windows machine. If
you install Policy Manager Console on a Linux machine, push installation is not available.
Push installation works as follows:
1. Policy Manager Console uploads the installation package to the remote host's admin (ADMIN$) share. This requires
that file sharing is enabled on the remote host.
2. Policy Manager Console uses the remote procedure call (RPC) service to install and start the push installation service
on the target computer with the appropriate parameters. The purpose of this service is to start the installer and to
communicate the installation results to Policy Manager.
3. If the installation cannot start, this is communicated directly to Policy Manager Console.
4. When the installation is finished, the results are sent to Policy Manager Server via HTTP. Policy Manager Console polls
the server for the results and reports them.
3. Select NT Domains.
4. From the domain list, select one of the domains and click Refresh.
The host list is updated only when you click Refresh. Otherwise cached information is displayed for performance
reasons. Before clicking Refresh, you can change the following options:
• Hide already managed hosts. Select this check box to show only those hosts, which do not have F-Secure
applications installed.
• Resolve hosts with all details (slower). With this selection, all details about the hosts are shown, such as the
versions of the operating system and Management Agent.
• Resolve host names and comments only (quicker). If all hosts are not shown in the detailed view or it takes
too much time to retrieve the list, this selection can be used. Note, that sometimes it may take a while before
Master browser can see a new host recently installed in the network.
F-Secure Policy Manager | 61
3. Enter the target host names of those hosts to which you want to push install, and click Next to continue.
You can click Browse to check the Management Agent version(s) on the host(s).
62 | Software distribution
After you have selected your target hosts, you still need to push-install the applications to hosts.
When you select This account, you will use the security rights of the account currently logged on. Use this option in
the following cases:
• You are already logged in as domain administrator; or
• You are logged in as the local administrator with a password that matches the local administrator’s password on
the target host.
Another user: enter account and password. The administrator can enter any proper domain administrator account
and password to easily complete the remote installation on selected hosts.
• When completing the installation to the trusted and non-trusted domains with a domain account, make sure you
enter the account in the format DOMAIN\ACCOUNT.
• When using a local administrator account, use the format ACCOUNT. Do not enter the host name as part of the
account, otherwise the account is accepted only by the host in question.
Note: When installing, if the administrator machine has open network connections to the target machine
with another user account, the NT credential conflict error message 1219 appears. The solution in this case
is to close the active connections before using the Push installation feature.
For other installation operations, for example upgrades or uninstallation, you can use the links next to the product on
the Installed products summary table. These links will automatically appear whenever the installation packages necessary
for the corresponding action are available. The options are: hotfix, upgrade, repair and uninstall.
If the link for the operation you want to run is not shown on the Installed products summary table, you can click either
Install or Uninstall, depending on the operation you want to run, under the Policy-based installations table and check
if the required package is available there. However, if for example the product does not support remote uninstallation,
there will not be an option for uninstallation.
64 | Software distribution
When uninstalling Management Agent, no statistical information will be sent stating that the uninstallation was successful,
because Management Agent has been removed and is unable to send any information. For example, if uninstalling F-Secure
Anti-Virus and Management Agent:
1. Uninstall F-Secure Anti-Virus
2. Wait for Policy Manager Console to report the success or failure of the uninstallation.
3. If F-Secure Anti-Virus was uninstalled successfully, uninstall Management Agent.
4. If uninstallation of Management Agent is unsuccessful, Policy Manager Console will display a statistical report of the
failure. Success cannot be reported, but is evident from ceased communication, and the final report for Management
Agent will state in progress….
9. When you reach the last wizard page, click Finish to continue.
10. You can also install an exported JAR to the hosts by running the ilaunchr.exe tool.
The ilaunchr.exe tool is located in the Policy Manager Console installation directory under the
...\Administrator\Bin directory. To do this:
a) Copy ilaunchr.exe and the exported JAR to a location where the login script can access them.
b) Enter the command:ilaunchr <package name>.jar where <package name> is replaced by the
actual name of the JAR package being installed.
When the installation runs, the user will see a dialog displaying the installation progress. If a restart is required
after the installation, the user is prompted to restart the computer as defined when the installation package was
exported. If you want the installation to run in silent mode, enter the command in format:ilaunchr <package
name>.jar /Q. Also in this case the user may be prompted to restart the computer after the installation, and
if a fatal error occurs during the installation, a message is displayed.
ILAUNCHR has the following command line parameters:
/U — Unattended. No messages are displayed, even when a fatal error occurs.
F-Secure Policy Manager | 65
/F — Forced installation. Completes the installation even if Management Agent is already installed.
Enter ILAUNCHR /? on the command line to display complete help.
You can also use the following parameters:
• /user:domain\username (variation: /user:username) — Specifies the user account and the
domain name. The domain name can be optionally left out.
• /password:secret (variation: /password:"secret with spaces") — Specifies the password
of the user account.
The ilaunchr functionality stays the same if neither of these two parameters is given. If only one of the parameters
is given, ilaunchr returns an error code. If both parameters are given, Ilaunchr starts the Setup program. An
example of the command:
ILaunchr <jar file> /user:domain\user_name /password:secret_word
7.3.2 How to prepare MSI installation packages with Policy Manager for Linux
For version 14.x clients, you can prepare MSI packages for distributed installation within your managed network even if
you have both Policy Manager Server and Policy Manager Console running on Linux.
With the Linux version of Policy Manager, you cannot use the base MSI file extracted from the JAR installation package
to roll out F-Secure products to Windows hosts. However, you can use a command line tool to prepare the MSI file for
distributed installation.
Note: These instructions apply only to Client Security and Server Security versions 14.x.
1. Export the client installation JAR package from Policy Manager Console.
2. Extract the content of the JAR archive on a Windows host.
3. Run the following command:
• For Client Security: program\inst\one-launcher.exe --install --prepare_msi_only
--msi OneClientCS.msi
• For Server Security: program\inst\one-launcher.exe --install --prepare_msi_only
--msi OneClientSS.msi
The correct command is also given as the preparemsicommand property in the package.hdr file, which you
can find in the root folder of the extracted content.
This command updates the .msi file given as the parameter for the --msi option. You can use this prepared MSI
file to distribute the F-Secure product to Windows hosts in your network.
If the target MSI package is not updated, the log file may be useful for troubleshooting purposes. The location of the log
file depends on your access rights when running the preparation command:
• With administrator rights and user access elevation:
C:\ProgramData\F-Secure\Log\BusinessSuite\one-launcher.u.log
• Without user access elevation:
C:\Users\user\AppData\Local\F-Secure\Log\BusinessSuite\one-launcher.u.log
Processor:
• Intel Pentium 4 2 GHz or higher
Operating system:
• Windows 7, 32-bit and 64-bit
• Windows 8.1, 32-bit and 64-bit
• Windows 10, 32-bit and 64-bit
Note: You need to have the latest Service Pack installed for your operating
system.
Note: You need Windows Universal C Runtime installed before you install
the product.
Memory:
• 1 GB of RAM or more for 32-bit operating systems, 2 GB or more for 64-bit
operating systems
Disk space:
2 GB free hard disk space
9. When you reach the last wizard page, click Finish to continue.
10. Copy the installation package to the workstation where you want to install Client Security.
11. Run the installation package.
The computer restarts automatically. To restart immediately, select Restart now.
Note: End users can also add a Policy Manager Proxy to the list in the local user interface, and the host uses a
combination of these two lists when downloading virus and spyware definitions updates. A Policy Manager Proxy
added by an end user is tried before those added by the administrator.
To enable neighborcast:
1. Select the target domain.
2. Go to the Settings tab and select the Firewall page.
3. Add two new services (one for TCP, one for UDP):
a) Add the new service and enter a name for it.
b) Select the protocol (TCP/UDP).
c) Set the initiator port to >1023, or leave the field empty to use any port.
d) Set the responder port to 12110.
4. Select the firewall profile that you want to edit.
5. Click Add rule.
a) Enter a name for the rule and set the type to Allow.
b) Add two services (one incoming and one outgoing) for each of the created network services.
c) Specify the hosts or networks if necessary.
d) Specify the type of network interface if necessary.
6. Go to the Settings tab and select the Centralized management page.
a) To set hosts in the selected domain to download updates from other hosts, select Enable neighborcast client.
b) To set hosts in the selected domain to serve updates to other hosts, select Enable neighborcast server.
70 | Managing endpoint security
Note: Currently, the same host cannot function as both client and server for neighborcast. If both modes
are enabled, the host runs in server mode.
7. To change the port used for neighborcast, enter the new port number in Neighborcast port.
8. If you want to use neighborcast only within a specific network, enter that network mask in the Neighborcast discovery
address field.
For example, you can set neighborcast to work only within your office network, so that the feature is turned off
whenever a managed computer is outside the office. In practice, whenever the computer is outside the specified
network, the HTTP and UDP ports are not in listening mode and the client does not make any broadcast requests.
Note: We recommend using this network restriction, as it increases the security of managed hosts.
Note: The extensions should be added without the preceding . (dot). Separate multiple extensions with
spaces.
8. Select the task type by clicking the Task type cell and then clicking Edit.
9. From the drop-down list that opens select Scan local drives.
The scanning task is now ready for distribution.
10. Click the following icon to distribute the policy:
Note: If you do not define a weekday, weekly scheduled scans are run on each Monday by default. Monthly
scheduled scans are run on the first day of each month by default, if you have not defined a specific day.
If an application tries to perform a potentially dangerous action, it will be checked for trust. Safe applications are allowed
to operate, while actions by unsafe applications are blocked.
To turn on DeepGuard:
1. Go to the Settings tab and select the Real-time scanning page.
2. Select DeepGuard enabled.
3. Click the following icon to distribute the policy:
DataGuard
DataGuard is a feature that strengthens DeepGuard by monitoring specific folders to prevent untrusted applications from
modifying files on managed hosts.
DataGuard is especially useful against any new ransomware that is able to get past other security layers.
In Policy Manager, you can set the folders that DataGuard monitors and protects. There are predefined options for the
default folders for user content, such as Documents, Music, Pictures, etc. You can also set the trusted applications that
are allowed to access the protected folders and modify the files there. Applications that are not considered trusted are
stopped if they try to modify any protected files.
Setting up DataGuard
You can define the folders that DataGuard protects on managed computers, and add trusted applications that you do
not want DataGuard to block
When DataGuard is turned on, untrusted applications and malware (including ransomware) cannot modify files in folders
that you define as protected.
Note: Be careful in selecting the protected folders and trusted applications for DataGuard. Adding a wide range
of data (either lots of folders or, for example, C:\) can cause a lot of unnecessary interruptions. Also, adding a
very wide scope of locations to the trusted applications list may allow malware to modify protected files.
To use DataGuard:
1. Go to the Settings tab and select the DataGuard page.
2. Select Turn on DataGuard protection.
3. In the Protected data folders table, select the folders that you want to protect.
To add more protected folders:
a) Enter the folder path in the Folder field.
You can use environment variables in the path. User environment variables apply to the corresponding paths for
each Windows user account on the computer. The supported variables are: %UserProfile%, %HomeDrive%,
%HomePath%,%ProgramData%,%WinDir%,%SystemRoot%,%SystemDrive%,%ProgramFiles%,
and %ProgramFiles(x86)%.
b) Add a description for the new folder in the Comments field.
4. Select the applications that are allowed to modify files that are in protected folders.
5. Select Discover trusted applications automatically if you want to allow known, trusted system applications to
modify the protected folders.
6. Add more trusted applications in the table under Trusted applications allowed to modify data, if necessary.
• To add a single application, enter the full path to the executable including file name and extension.
• To add a folder that may contain several applications, enter the path to the folder.
Note: Some applications and standard Windows features may require adding more than one application file
to the list of trusted applications. For example, the print-to-PDF functionality in Windows uses the following
executable files: <Windows folder>\System32\spoolsv.exe and <Windows
folder>\System32\printfilterpipelinesvc.exe.
74 | Managing endpoint security
We recommend that you apply the common practices and tools for your organization when considering
the protected folders and trusted applications for DataGuard. It is also a good idea to apply specific
rules for separate policy domains where possible. For example, if your domain tree is structured
according to teams or departments, you can apply separate rules for developers and salespeople.
Malicious • URLs where the content contains script codes that download or install a malicious file
• URLs that belong to drive-by download sites
• URLs where the content exploits browser or system vulnerabilities
• URLs or content that contain XSS or SQL injections
• URLs where the content contains malicious iframes
• URLs that belong to phishing sites
• URLs that are linked to hacking and other malicious activities
• URLs that have been taken down due to malicious behavior
This section describes the web traffic scanning settings and also presents some practical configuration examples.
2. On the Included list, add the file types that you want to block.
Note: Web traffic scanning only blocks content for web sites that have an unknown safety rating.
76 | Managing endpoint security
3. On the Excluded list, add any file types that you want to allow even on unknown web sites.
Exclusion rules are required to make sure that the object will not be quarantined again in future. If the object is listed
as a virus or infected file:
a) Go to the Settings > Quarantine management page and copy the object's file path.
b) Go to the Settings > Real-time scanning page.
c) Right-click Enable excluded objects and select Show in advanced view from the context menu.
This will switch to Advanced view.
d) On the Policy tab, select Excluded Objects.
e) Click Add and enter the file path for the quarantined object.
f) Click Standard view and make sure that Enable excluded objects is selected on the Settings > Real-time
scanning page.
If the object is spyware or riskware:
a) Go to the Settings > Spyware control page.
b) Select the object you want to allow on the Spyware and riskware reported by hosts table and click Exclude
application.
A dialog asking you to confirm the action opens, after which the selected application will be moved to the
Applications excluded from spyware scanning table.
3. Go to the Settings tab and select the Quarantine management page.
4. Select the quarantined object you want to allow on the Quarantined objects table, and click Release.
The object is moved to the Actions to perform on quarantined objects table, with Release given as the Action for
the object.
5. Click the following icon to distribute the policy:
• When you are on one of the pages on the Settings tab in Standard view, you can set all the settings on the page
final at once by clicking Disallow user changes. This page-specific shortcut affects only the settings that have an
attached lock symbol and it operates all lock symbols on the page at once.
• If you want to make all settings for both virus protection and firewall final, go to the Settings tab and Centralized
management page in Standard view, and click Do not allow users to change any settings....
Direction Explanation
<=> The service will be allowed/denied to/from your
computer in both directions.
8. Click Next.
9. Specify the remote addresses that apply for the rule, then click Next.
10. Specify the scope for the rule, then click Finish.
The new rule is added to the Firewall rules table for the selected profile.
11. Click the following icon to distribute the policy:
Application control reduces the risks that malicious, illegal, and unauthorized software pose in the corporate environment.
It provides the following features:
• Security: Pre-configured security rules designed by F-Secure penetration testers cover attack vectors that are used
to breach into corporate environments.
F-Secure Policy Manager | 83
• Policy enforcement: Based on a simple rule editor, policy enforcement helps the administrator define which applications
are blocked, allowed, or monitored.
The following table lists the available event types and when they are triggered.
Event Description
Run application A combination of Start process and Load dynamic library. Triggers when an executable
file or script is launched and when a DLL is about to get loaded into a process.
Run installation Triggers when msiexec.exe is launched with some MSI package as a command line
parameter.
Load dynamic library Triggers when a DLL is about to get loaded into a process.
For example, if you select Run application as the event and Block as the action, the rule prevents applications from
running if they match the conditions for the rule.
7. Click Add condition.
You can add multiple conditions to the same rule to get the scope that you want.
Note the following when adding conditions to an exclusion rule:
• If you use attribute Target SHA1 or Parent SHA1 in the exclusion rule condition, you have to use Start
process as the event type.
• If a dynamic link library (.dll) is blocked and you want it to be whitelisted by Application Control, you have to use
the Load dynamic library event type in the exclusion rule. In a case like this, you cannot therefore use attribute
Target SHA1 nor Parent SHA1 in the exclusion rule.
• Attributes Target file names mismatch and Parent file names mismatch kick in when
the binary filename is different from the "Original filename" found under file Properties > Details.
Target Values of the actual application. For example, Target file name is the actual file that you
want to block.
Parent Values of the process that launches the application. For example, Parent file name is the
file that launches the application that you want to block.
For example, if you want to block Internet Explorer, iexplore.exe is the target and explorer.exe (Windows
Explorer) is the parent.
The following table explains how different operators work with the values that you enter.
Equals The value must be exactly the same as the target, for example, iexplore.exe.
Less, Greater, Less or These apply to numeric values, for example if you select Target product version as the
equals, Greater or equals attribute.
F-Secure Policy Manager | 85
Contains The selected attribute must contain the value, for example, explore.
Starts with The selected attribute must start with the value, for example, ie.
Ends with The selected attribute must end with the value, for example, explore.exe.
9. Click OK.
10. Change the order of the rules if necessary.
The rules listed for the profile are applied in priority order from the top down.
11. Click the following icon to distribute the policy:
When Connection control is turned on and a user opens a recognized banking site in their browser, a notification appears
at the top of their screen to indicate that the Connection control session has started. When they have completed their
ongoing transaction, the user can end the session to resume normal browsing.
Note: Connection control installs extensions (plug-in applications that provide extra features) on browsers on
the managed hosts. If the extensions are not in use, Connection control may not work properly.
Alcohol and tobacco Web sites that display or promote alcoholic beverages or smoking and tobacco products,
including manufacturers such as distilleries, vineyards, and breweries. For example, sites that
promote beer festivals and web sites of bars and night clubs.
Anonymizers Web sites that allow or instruct people how to bypass network filters, including web-based
translation sites that allow people to do so. For example, sites that provide lists of public proxies
that can be used to bypass possible network filters.
Auctions Web sites of online marketplaces where people can buy and sell their products or services. This
includes sites that provide lists of products or services even though the actual transaction may
happen somewhere else.
Banking Web sites of banks and other financial institutions, including savings and investment banks,
securities trading and foreign exchange trading sites.
Blogs Weblogs where people or institutions publish information and can share news, stories, videos,
and photos. Due to their individual nature, the themes addressed in blogs can vary widely and
they can include any topics.
Chat Online portals and messengers where people can chat with each other via text, audio, or video.
For example, web-based chat and instant messaging applications, and chat sites.
Dating Web sites that provide a portal for finding romantic or sexual partners. For example, matchmaking
sites or mail-order bride sites.
Drugs Web sites that promote drug use. For example, sites that provide information on purchasing,
growing, or selling any form of these substances.
Entertainment Web sites related to the entertainment industry, such as television shows, books, comics, movies
and theaters, and art galleries. For example, television and radio program guides and music, tv,
and movie review sites.
Gambling Web sites where people can bet online using real money or some form of credit. For example,
online gambling and lottery web sites, and blogs and forums that contain information about
gambling online or in real life.
Games Online gaming web sites and web sites where people can play, download, or buy games.
Hacking Web sites that promote seeking and exploiting weaknesses in computer systems or computer
networks for profit, challenge, or enjoyment. For example, sites that contain hacking guides
and hacking tools.
Hate Web sites that indicate prejudice against a certain religion, race, nationality, gender, age,
disability, or sexual orientation. For example, sites that promote damaging humans, animals or
institutions, or contain descriptions or images of physical assaults against any of them.
88 | Managing endpoint security
Job search Web sites of employment agencies and contractors, and where people can search and find new
jobs. For example, career search engines, career-networking groups and employment web
sites.
Payment service Web sites that process payments between shopping sites and banks or other financial services,
such as credit cards. These include sites that can be used for payments in general.
Scam Web sites that bait people by promising prizes after they fill in a survey, take a quiz, or perform
similar actions. For example, sites that are pretending to be affiliated with a reputable company
that is giving away prizes.
Shopping Web sites where people can purchase any products or services, including sites that contain
catalogs of items that facilitate online ordering and purchasing and sites that provide information
on ordering and buying items online.
Social networking Networking portals that connect people in general or with a certain group of people for
socialization, business interactions, and so on. For example, sites where you can create a member
profile to share your personal and professional interests. This includes social media sites such
as Twitter.
Illegal downloads Unauthorized file sharing or software piracy web sites. For example, sites that provide illegal or
questionable access to software, and sites that develop and distribute programs that may
compromise networks and systems.
Weapons Web sites that contain information, images, or videos of weapons or anything that can be used
as a weapon to inflict harm to a human or animal, including organizations that promote these
weapons, such as hunting and shooting clubs. This category includes toy weapons such as
paintball guns, airguns, and bb guns.
Webmail Web sites that allow people to create and access their email accounts through a web browser.
For example, this includes Yahoo! Mail and Gmail, and local, ISP-linked web mail services.
5. Set Access Level to Full access to allow the use of the device.
6. Set Active to Yes for the new rule.
Note: Policy Manager only downloads and updates the Software Updater databases if you have hosts that have
Software Updater installed.
5. Under Automatic installation, select the security update categories and schedule that you want to use.
6. Click the following icon to distribute the policy:
F-Secure Policy Manager | 91
Any updates for software matching the entered text, selected software name, or bulletin ID is now excluded from automatic
installation. You can click View in the Matching updates column under Exclude software from automatic installation
to see a list of the updates currently found for the entered software.
Tip: In Advanced view, you can turn off checking for missing service packs and updates that are not
security-related.
92 | Managing endpoint security
Once the caching proxy is up and running, it needs to be added to the Software Updater policy.
2. Configure the Software Updater policy in Advanced view:
a) Set F-Secure Software Updater > Settings > Communications > Use HTTP Proxy to User-defined
b) In F-Secure Software Updater > Settings > Communications > User-defined proxy, enter the address and port
for the proxy (http://<proxy_address>:<port_number>).
F-Secure Rapid Detection and Response is a leading context-level endpoint detection and response (EDR) solution for
companies.
Organizations can be breached in many ways. Increasingly, the attacks are fileless and do not require attackers to install
malware on desktops or laptops. Advanced Persistent Threats (APT) and cyber threats are an extremely costly problem
for companies. They are difficult to recognize just using traditional protection methods. Also, these attacks can be difficult
to analyze and respond to. Defending against these attacks requires both the latest technological solutions and the
expertise to analyze and understand the available data.
With its deep bi-directional intelligence and high level of automation, F-Secure Rapid Detection and Response protects
against advanced threats even before breaches happen. It detects incidents with lightweight sensors, which are installed
on monitored hosts in the organization. Sensors collect data on behavioral events, such as files being accessed, processes
or network connections being created, or something being written into the registry or system log. These events are then
further analyzed in the backend. The solution does not just to do real-time detections, but also makes detections based
on applying new rules to old data.
F-Secure Policy Manager | 93
Often targeted attacks could go unnoticed for months or even years. With F-Secure Rapid Detection and Response, you
can prevent the attack from breaching critical servers through the targeted hosts.
Chapter
9
Virus information
Topics: This section contains useful general information about viruses and virus handling.
The following classes can be retrieved from Client Security clients through the WMI interface:
• Product version
• Real-time scanning status
• Virus definition database information
• Firewall status
• Firewall security level (profile)
• Firewall versions
• Application Control status
• Time of last connection to Policy Manager
• Time of last policy update from Policy Manager
• Name of Policy Manager profile in use
• DeepGuard status
• Browsing protection status
• Email filtering status
• Software Updater status (status of automatic installation of security updates, counts for missing updates split by type;
critical, important, and other)
AvDefinition
Provides information on the Anti-Virus engine.
F-Secure Policy Manager | 99
AvScanResult
Result of the scan for viruses.
Profile
Provides information on the currently installed profile.
Component
Provides a summary for the product component.
100 | Windows Management Instrumentation
SimpleComponent : Component
Default implementation of the base class.
Enabled boolean
API
Provides basic information on the F-Secure WMI namespace API.
Product
Provides information on the currently installed security product.
AntiVirus
Provides information on anti-virus modules and allows running a full computer scan.
Firewall : Component
Provides information on F-Secure Firewall.
CentralManagement
Provides information on interaction with the protection service.
SoftwareUpdater : Component
Provides information on F-Secure Software Updater.
Internet
Provides information on Internet security components.
Where are the log files The log files are located in:
and configuration files
<F-Secure>\Management Server 5\logs
located for Policy
Manager Server? The configuration files are in:
<F-Secure>\Management Server 5\config
I have lost the admin If you have lost the password for the admin user, or if the account was accidentally deleted,
password. Can I retrieve you can reset the user account for Policy Manager on Windows with the following tool:
or reset the password?
<F-Secure>\bin\reset-admin-account.bat
For Policy Manager on Linux, use the following script to reset the user account:
/opt/f-secure/fspms/bin/fspms-reset-admin-account
Note: You need to stop Policy Manager Server manually before running the reset
tool.
How can the server role The Domain Controller server and Member/Standalone server use different types of
change stop Policy accounts: domain accounts on Domain Controller and local accounts on Member server.
Manager Server from Because Policy Manager Server uses its own account to run, this account becomes invalid
working? with the role change.
The easiest way to restore Policy Manager Server after a server role change is to re-install
Policy Manager Server with the Keep existing settings option selected. This will recreate
the Policy Manager Server account and reset all file access rights to the correct ones.
How can Windows Access rights restrictions, especially restrictions under the %SystemRoot% directory
security hardening stop (c:\windows or c:\winnt) can stop Policy Manager Server from starting, as its own
Policy Manager Server account (Local Service) needs to be able to read the network related DLL and SYS files.
from working?
You must allow the Local Service account to 'read' the following directories:
%SystemRoot%
F-Secure Policy Manager | 105
%SystemRoot%\system32
%SystemRoot%\system32\drivers
Some service restrictions can also prevent the Policy Manager Server service from starting.
For more information on these please consult the Microsoft Windows Server documentation.
Why does Policy Manager If Policy Manager Console is run on a separate computer from Policy Manager Server, then
Console lose the the connection may be affected by network problems. There have been numerous reports
connection to Policy where, for example, a network switch change caused loss-of-connection problems between
Manager Server? Policy Manager Console and Policy Manager Server. Usually these problems are fixed by
updating the network drivers to the latest version in the affected machines or by
reconfiguring the new switch and the network cards on the Policy Manager Console and
Policy Manager Server machines.
If Policy Manager Console is installed on the same computer as Policy Manager Server, then
there is a risk that Policy Manager Server could be under such a heavy network load that it
does not have any free network connections available. Policy Manager Console and all hosts
are competing for the same network resources.
Possible solutions are to increase the polling intervals of hosts, to change the Windows
networking timeouts shorter, or to increase the number of Windows networking ports.
Useful Windows networking settings are:
HKLM\SYSTEM\CurrentControlSet\Services
\Tcpip\Parameters\MaxUserPort (maximum number of network ports, default
= 5000)
HKLM\SYSTEM\CurrentControlSet\Services
\Tcpip\Parameters\TcpTimedWaitDelay (time to wait before closing inactive
network connection, default = 240 seconds).
The netstat -an command can be used to check whether there are too many
connection open to the server.
How can I change the By default, the Policy Manager Server admin module (the component that handles requests
ports where the server coming from Policy Manager Console) listens in port 8080, and the Policy Manager Server
listens for requests? host module (the component that handles requests from workstations) listens in port 80.
These can be changed during installation.
If you need to change the port numbers after installation:
1. Stop Policy Manager Server.
2. Open the HKEY_LOCAL_MACHINE\SOFTWARE\Data
Fellows\F-Secure\Management Server 5 registry key. On 64-bit
operating systems, the registry key path is
HKEY_LOCAL_MACHINE\Wow6432Node\SOFTWARE\Data
Fellows\F-Secure\Management Server 5.
3. Edit the AdminPortNum (admin module), HttpPortNum, and HttpsPortNum
(host module) values and enter the new port numbers.
Make sure Decimal is selected as the Base option when entering the new port number.
4. Start Policy Manager Server.
Caution: If you have workstations already configured to access Policy Manager
Server (through the Policy Manager Server host module) you should not change
the Policy Manager Server host port where agents communicate, since you might
reach a state where the workstations will not be able to contact the server.
106 | Troubleshooting
Question Answer
Where are the log files and You can list all files and their places by entering the following commands as a normal
configuration files located in the user:
Linux version?
• RPM-based distributions: rpm -ql f-secure-<component_name>.
• Debian-based distributions: dpkg -L f-secure-<component_name>.
You will find the log files in the following locations:
• Policy Manager Console:
/opt/f-secure/fspmc/lib/Administrator.error.log.
• Policy Manager Server: /var/opt/f-secure/fspms/logs.
You will find the configuration files in the following locations:
• Policy Manager Console:
/opt/f-secure/fspmc/lib/Administrator.properties.
• Policy Manager Server: /etc/opt/f-secure/fspms/fspms.conf.
Why are the files located so All files for Policy Manager have their own location according to the File Hierarchy
unusually? Standard. For more information on FHS, go to http://www.pathname.com/fhs/.
Why doesn't Policy Manager Server Make sure you have run the configuration script:
start? /opt/f-secure/fspms/bin/fspms-config.
You can also check that the ports configured for Policy Manager Server are active
by logging in as root and running the netstat -lnpt command.
How can I specify an HTTP proxy? The HTTP proxy configuration file is located in the server's data folder
/var/opt/f-secure/fspms/data/fspms.proxy.config.
Remember to restart Policy Manager Server in order to take the new settings into
use.
How can I change the default ports These ports are configured with the configuration script:
(80 and 8080) in which Policy /opt/f-secure/fspms/bin/fspms-config.
Manager Server listens for
requests?
How can I change the default port The Web Reporting port is configured with the Policy Manager Server configuration
(8081) in which Web Reporting script: /opt/f-secure/fspms/bin/fspms-config.
listens for requests?
Can I set up my own schedule for The server refreshes metadata for the latest F-Secure updates every 10 minutes by
updating F-Secure virus definitions? default. To modify the default interval for refreshing the updates metadata, use the
following additional Java argument: -DupdatePollingInterval=n, where
n is minutes, any integer value >= 1.
108 | Troubleshooting
Question Answer
How can I update F-Secure virus As of version 13.00, Policy Manager Server does not support manual polling as used
definitions manually? for Automatic Update Agent in previous versions. Restart Policy Manager Server to
force a virus definitions check or customize the polling interval as described in the
previous question.
How can I publish F-Secure virus As of version 13.00, Policy Manager Server does not support fsdbupdate.run
definitions manually from the latest as used for Automatic Update Agent in previous versions. For details on the new
fsdbupdate package? solution, see Updating malware definitions in isolated networks on page 44 .
How can I stop downloading some The server automatically stops downloading all 12.x updates when all clients are
or all 12.x updates? upgraded to newer versions. You can modify the subscription list manually in the
/opt/f-secure/fspms/config/channels.json configuration file.
Is there any diagnostic tool I can Yes. Please use fsdiag to collect information about your system and related
use? packages. When logged in as root, run:
/opt/f-secure/fspms/bin/fsdiag
All relevant information will be stored into the fsdiag.tar.gz archive located
in the current directory. You can then send that file to F-Secure Customer Support
by request.
How can I install software to You can export installation packages to JAR files and use the ilaunchr.exe
remote hosts from Policy Manager tool to install software on hosts, for example by using logon scripts. Please follow
Console on Linux? the process defined in the manual. You will find the ilaunchr.exe tool in the
/opt/f-secure/fspmc/bin directory.
How can I configure Policy • Increase the Host polling interval values to 30 - 60 minutes in Policy
Manager for use in large Manager Console.
environments? • Use Policy Manager Proxy installation(s) to minimize the load on Policy Manager
Server caused by serving policies, database updates, software updates, and
installation packages to clients.
Chapter
A
Configuring older versions of Client Security
Topics: This section contains information on settings that only apply to F-Secure Client
Security versions 13 and older.
• Configuring spyware scanning
• Firewall settings for Client Security 13
and older
• Configuring Network access control
• Advanced features: firewall
110 | Configuring older versions of Client Security
In centrally managed mode, spyware scanning can be set, for example, to report the spyware items found on hosts to
the administrator or to quarantine all found spyware items automatically. It is also possible to allow the use of certain
spyware applications by specifying them as allowed spyware on the Spyware Control page.
3. If you want to make sure that users cannot allow any spyware or riskware to run on their computers, set Allow users
to define the allowed spyware items is set to Not allowed.
4. Check that the manual scanning settings are valid for the managed domain.
5. Click the following icon to distribute the policy:
You can verify that the new security level change has become effective by going to the Status tab and selecting the
Overall protection page.
Note: If the selected security level cannot be used for some reason, the default security level is used instead.
d) On the Services page select Both in the Direction column to apply the rule to inbound and outbound connections.
e) On the Advanced settings page you can accept the default values.
f) Verify the new rule on the Summary page.
You can also add a descriptive comment for the rule. For example, Deny rest.
g) Click Finish.
Direction Explanation
<=> The service will be allowed/denied to/from your computer
in both directions.
Your new rule will be added to the top of the list in the active set of rules on the Firewall rules page.
• You can also enter a comment for the alert in the Alert comment field.
8. On the Summary page you can verify that the rule is correct and enter a descriptive comment for the rule.
9. Click the following icon to distribute the policy:
10. You can now test the rule by pinging one of the managed hosts and checking that an alert is created and displayed
on the Alerts tab.
Note: Network access control was named Application control in previous versions of Policy Manager.
118 | Configuring older versions of Client Security
Network access control is also an excellent tool for fighting trojans and other network malware as it does not allow them
to send any information to the network.
Network access control rules can be used to define more specific restrictions to network traffic, on top of the restrictions
defined in firewall rules. The application permissions cannot be used to allow traffic that has been denied by static firewall
rules. However, if you have allowed some network traffic in the static rules, you can use Network access control to decide
whether an application can be allowed to take advantage of the rules or not. In other words, you can create a rule that
allows traffic and limit the use of that rule with Network access control.
When Network access control is centrally managed, the administrator can decide which programs that access the network
can be used in the workstations. In this way it is possible to prevent the use of programs that are against the company
security policy, and to monitor which programs the end users really are using.
The basic idea when configuring Network access control is to allow the necessary applications and deny the rest.
3. When creating any rules with the Network access control rule wizard, select:
• Either Allow or Deny as the action on incoming and outgoing connection attempts in the Application rule type
dialog box.
• No message in the Message shown to users dialog box.
To later undo this change, select Allow user changes and distribute the new policy.
Note: Use this with caution, as for example setting the variable to Enabled for the whole domain would start a
logging session on every affected host.
7. Next you should check whether something in the centrally managed domain has been changed; is there a new policy
in use and does this policy contain some settings that might cause these problems?
• Check from firewall rules that outbound HTTP connections are allowed.
• Check from the local application control that the IP address the user tries to connect to has not accidentally been
added to the list of denied addresses.
8. If nothing else helps, unload F-Secure products or set the firewall to allow all mode.
If even this does not help, it is likely that the problem is in routing or in some other component in the computer the user
is trying to connect to.
It contains the most commonly used protocols (TCP, UDP, ICMP). If your service uses any other protocol, refer to
the table below and enter the respective number.
In this example, select TCP (6) from the IP-protocol number: drop-down list.
9. Select whether any extra filtering is to be applied for the traffic allowed by the service you are creating, in addition to
the normal packet and stateful filtering.
In this example you can accept the default, Disabled.
Note: When the service uses TCP protocol, and you do not have application control enabled, you can select
Active mode FTP from the Extra filtering drop-down menu. Active mode FTP requires special handling
from the firewall, as the information about the port that should be opened for the connection is included in
the transferred data.
Chapter
B
Using Policy Manager with a MySQL database
Topics: As of version 12.30, you can use a MySQL database to store Policy Manager's data
instead of the standard H2 database.
• Migrating H2 data to MySQL using
the command line If you want to use MySQL with Policy Manager, you need to have MySQL installed
either on the same machine as Policy Manager or on a different node that it can
access.
You can migrate your Policy Manager database from H2 to MySQL by running
the migration tool, which guides you through the required steps:
• On Windows, run C:\Program Files
(x86)\F-Secure\Management Server
5\bin\fspms-db-migrate-to-mysql.exe
• On Linux, run
/opt/f-secure/fspms/bin/fspms-db-migrate-to-mysql
Alternatively, you can follow the steps given under Migrating H2 data to MySQL
using the command line on page 127 to run the migration from the command
line.
Policy Manager supports Oracle MySQL 5.5, 5.6, 5.7, 8.
Note: If you are using MySQL version 8, you need to select Use Legacy
Authentication Method on the Authentication Method page of the
MySQL installer wizard.
Note: Depending on the amount of data stored in the database, the migration process can take only a few
minutes or up to an hour.
active.db=mysql
mysql.type=mysql
mysql.host=<MySQL server address>
mysql.port=<MySQL server port>
128 | Using Policy Manager with a MySQL database
mysql.schema=<schema>
mysql.init.user=<pm_all>
mysql.init.password=<all_password>
mysql.user=<pm_rw>
mysql.password=<rw_password>
If your MySQL setup supports replication and you want to take it into use, you need to grant additional permissions for
the Policy Manager database users by running the following commands in the MySQL Command Line Client:
• GRANT REPLICATION CLIENT, SUPER ON *.* TO <pm_all>@'%';
• GRANT REPLICATION CLIENT ON *.* TO <pm_rw>@'%';
The SUPER privilege is required for the user changing the schema in order to replicate the stored routines.
Note: If binlog is enabled, only row-level replication is supported.