TopSec Firewall
To add a TopSec firewall, complete the following steps.
Step 1: Configure the Device
FireMon strives to provide up-to-date product information, however we are not always aware when vendors change their device UI. If any Configure the Device procedure differs from your device version (UI location of fields, not information needed), please consult your device's user guide.
-
Create an administrator account for the TopSec device.
-
Configure syslog from the CLI with these commands:
Copylog log set ipaddr x.x.x.x logtype syslog trans enable trans_gather no
log log level_ser 6
log log type_set add mgmt
log log type_set add system
log log type_set add pf
log log type_set add conn
log log type_set add ac
log log type_set add secure
log log type_set add stat
log log type_set add user_auth
log log type_set add ips
log log type_set add dpi
- Verify logging is setup correctly, run the command:
log log type_set show
If the data collector is receiving syslog messages from the firewall, but change detection and rule usage is not working, it may be because the TopSec firewall is not sending the priority byte of the syslog message. In order for this to work, you must change a setting in the /etc/firemon/dc.conf file and then restart the data collector.
Step 2: Onboard the Device in the Administration Module
- On the toolbar, click Device > Devices.
- Click Create, and then click TopSec > TopSec Firewall.
- General Properties section.
To prevent errors in device group-level device maps and incorrect reporting data, all devices added in Administration must have unique IP addresses. If devices with duplicate IP addresses must be added within a domain, it is strongly recommended that those devices be separated into discrete device groups, where no duplicate IP addresses are included in the same device group. Devices with duplicate IP addresses will cause errors in the All Devices device map, and may cause incorrect data in reports, even if they are in discrete device groups.
- In the Name box, type the name of the device as you want to see it in SIP.
- In the Description box, type an optional description of the device being added.
- In the Management IP Address box, type the IP address of the device.
- In the Data Collector Group box, select the IP address of the data collector group that will collect data from this device.
- In the Central Syslog Server box, select the syslog server from the list (optional).
Syslog fields are optional if the device uses the same IP for syslog and management.
A central syslog server is required only if syslog messages come from a different IP. A central syslog server must be created before it can be assigned to a device. To track usage via syslog, the device must support Level 3+.
- In the Syslog Match Names box, type the syslog match name (optional). You can enter multiple comma-separated names.
- By default, the Automatically Retrieve Configuration check box is selected.
- In the External ID box, type a unique identifier to be used when the device identifier is different than what is displayed in SIP.
- Collection Configuration is enabled on the management station or by duplicating and then editing the default configuration (Device > Collection Configuration). Default is what is set on the installed device pack.
- Device Settings section.
- Credentials
- In the User Name box, type the user name used for the administrator account.
- In the Password box, type the password used for the administrator account.
- In the Re-enter Password box, retype the password entered above.
Retrieval
- By default, the Protocol is SSH and the Port is 22.
- Monitoring section.
Log Monitoring
Select the Enable Log Monitoring check box to use for Rule Usage Analysis.
- Track Usage Via is set to Syslog.
- Log Update Interval is set to 10 (minutes); this number determines how often usage data is sent to the application server.
Change Monitoring
Select the Enable Check for Change check box to enable checking for configuration changes after the specified interval, and perform a retrieval is changes are detected.
- Enter an optional Alternate Syslog Source IP.
- Retrieval section.
Scheduled Retrieval
Select the Enable Scheduled Retrieval check box to perform a retrieval at a set time regardless of change detection. This will activate additional fields to complete.
Set the Scheduled Retrieval Time to fit your requirements.
Select the Scheduled Retrieval Time Zone from the list.
Check for Change Retrieval
Select the Enable Check for Change check box to check for configuration changes after the specified interval and perform a retrieval if changes are detected. This will activate an additional field to complete.
The default Check for Change Interval time is 1440 minutes (every 24 hours). You can change the check interval time to best fit your requirements. The minimum required interval is 60 minutes (1 hour).
- Advanced section.
- Select the Device Charset Encoding from the list.
- Select the Enable Deprecated Ciphers and Algorithms check box to allow the use of weak SSH keys to extend the OpenSSH options with deprecated ciphers and algorithms for devices that cannot update the OS to a supported OpenSSH version.
- Select the Automatically Update SSH Keys check box if you want the data collector to automatically update the SSH key for a device when a conflict occurs.
- Enforcement section.
Select one of the available enforcement options:
Allow All: All automation is allowed (enforcement, change, manual).
Manual Only: When selected all changes must be manually pushed for this device.
Prevent All: No automation is allowed.
Window Only: Automation can only take place in the assigned enforcement window.
If this device is assigned to an enforcement or change window, it will be listed. If no assignment, changes must be manually pushed for this device.
- Supplemental Routes section.
Supplemental routes cannot be added until after a retrieval normalizes successfully. You can perform a manual retrieval before continuing.
Click Add.
Complete fields in the Add Supplemental Routes dialog box:
- Select an Interface.
If you select an Interface, you will not need to select a virtual router and next virtual router. If no interface is selected, you will need to select a Virtual Router and Next Virtual Router.
- Type the Destination IP address.
- Type the Gateway IP address.
- Select a Virtual Router.
- Select a Next Virtual Router.
- Switch the Drop toggle to enable (disabled = Accept).
- Click Add.
- Click Save.
- You will need to manually enable the TopSec device to allow for Level 3 support. To do this, complete the following steps.
- Log in as the user created during setup to the Data Collector that is monitoring the device.
- At the command prompt enter: cd /etc/firemon
- Using a text editor, such as Vi or Nano, edit the dc.conf file.
- Set DataCollector.SyslogServer.IgnorePrivFieldCheck to "true"
- Restart the data collector by entering the command: fmos restart dc
Step 3: Verify Communication
Because automatically retrieving a configuration is enabled by default, there is nothing for you to do. Security Manager will automatically attempt to retrieve a device configuration.
To do a manual retrieval, select the device row, click the Menu icon and then click Retrieve Configuration.
It may take up to 15 minutes to see the status result of the retrieval.