Prod Endpoint Security v10 7 X Cat Reference
Prod Endpoint Security v10 7 X Cat Reference
NAME
mfefwcli - Trellix Endpoint Security (ENS) for Linux - Firewall command line tool
SYNOPSIS
mfefwcli --version
mfefwcli --fw-rules-list
mfefwcli --fw-rule-add
--log
[ --proto protocol-name ]
--icmp-type [value]
[ --schedule-status [ on | off ]]
[ --schedule-offhour-action ]
mfefwcli --showlogsettings
Description:
by the Trellix ePO - On-prem policy enforcement. Firewall rules created with
mfefwcli will be retained when the retain client side rules option is configured in
Trellix ePO - On-prem policy.
Options:
--version
Prints the following information:
License information.
Copyright information
Log Level Shows the log level set for the product
--xml
--fw-rule-add Adds a rule to the client side group. By specifying the rule
number, it is possible to insert a rule at a particular index.
--log Enables logging for the specified rule when a new packet
matches the rule. Subsequent packets within the same connection will not be
logged.
--state Specify the value either enable or disable. The default value
is enable.
Option to delete firewall rule. Use this option to delete a specific rule
group. In regular mode it is possible to delete a rule from the adaptive group,
by specifying the --adaptive parameter.
--index Specify the number that corresponds to the rule while running
the --fw-rules-list command.
--force Force-delete this rule by using this option. If this option is not
provided, the user will be prompted to confirm the delete action.
part of the address being specified and the type of address is a single IPv4
address. If no options are specified that signifies Local and/or Remote addresses,
the Default
ple: 10.1.10.0-10.1.10.20
bit, then 10.1.10.0/24 is used by the rule. This will be determined while
loading the rules.
by comma.
rated by comma.
3 Destination Unreachable
4 Source Quench
5 Redirect
8 Echo Request
9 Router Advertisement
10 Router Selection
11 Time Exceeded
12 Parameter Problem
13 Timestamp
14 Timestamp reply
15 Information Request
16 Information Reply
30 Traceroute
34 IPv6 - I am her
39 SKIP
40 Photuris
--schedule-status This option allows you to enable scheduler in the rule.
Default value is off. To turn on the scheduler specify the value as on.
the rule is not effective. To reverse the rule action, specify the value as
reverse.
--fw-inspect-ftp-traffic [ on | off ]
This option is used to inspect FTP traffic and automatically allow FTP data
transfer.
off FTP traffic inspection is not done when this option is used. In such
a scenario, specific rules have to be added so that FTP data transfer can succeed.
This option allows you to define the list of trusted networks in standalone
mode. If this option is used when running in managed mode, the list will be
replaced by the Trellix
ePO policy after policy enforcement. Trusted networks list allows you
create a list of hosts and networks that can be used in the local and/or remote part
of the network
--range Specify an IP address range, which gets added to the list. For
example: 10.1.0.10-10.1.0.20
--cidr Specify a network address, which gets added to the list. For
example: 10.1.0.0/24
--include-local [on | off ] This option adds the local subnet(s) of the
machine to the list. This option is enabled by default. Use no to disable this option.
mfefwcli --showlogsettings
This option configures the maximum product log file size where n is an integer
in megabytes. 'n' is a number between 1 and 999 and default value is 10.
This enables or disables product logging. Allowed values are enable or disable.
This enables or disables debug logging. Allowed values are enable or disable
This enables or disables logging using syslog on the system. Allowed values
are enable or disable
mfefwcli --log-allowed-traffic [enable | disable]
This enables or disables logging of all allowed traffic using syslog on the
system. Allowed values are enable or disable
This enables or disables logging of all blocked traffic using syslog on the
system. Allowed values are enable or disable
EXAMPLES
Status: Enabled
Mode: Regular
mfefwcli --showlogsettings
mfefwcli --fw on
mfefwcli --fw-rules-list
- Logging is enabled
- Direction is inbound
- Protocol is TCP
- Schedule for this rule is enabled for Sunday and Monday of the week from
00:00 hours to 23:59 hours.
mfefwcli --setmaxproductlogsize 10
This option configures the maximum product log file size to 10 MB.
EXIT CODES
101 Failed to execute the command as the option specified, or one of the
values provided is invalid.
103 Failed to execute the command. This can be due to a communication error
in ESP, if the options provided are invalid or Trellix Firewall for Linux service is not
running.
104 Failed to register with ESP. This can be due to ESP service not running.
105 Failed to execute the command due to the user not having sudo or root
privileges.
COPYRIGHT
Copyright (C) 2016-2022 Musarubra US LLC. All Rights Reserved. May 2020.