
ESR service routers. ESR-Series. Functionality description. Version 1.12.0
305
esr(config-ips-category-rule)# threshold count
23040
esr(config-ips-category-rule)# threshold second
60
esr(config-ips-category-rule)# threshold track by-dst
esr(config-ips-category-rule)# threshold type both
7.7.7 Extended user rules configuration algorithm
Step
Description
Command
Keys
1
Specify a name and enter the
configuration mode of the set of
user rules.
esr(config)# security
ips-category user-
defined <WORD>
<WORD> – user rule set name, set
by the string of up to 32 characters.
2
Define a description of a set of
user rules
(optional).
esr(config-ips-
category)# description
<DESCRIPTION>
<DESCRIPTION> – description, set
by the string of up to 255
characters.
3
Create extended rule and switch
to its configuration mode.
esr(config-ips-
category)# rule-advanced
<SID>
<SID> – rule number, takes values of
[1..4294967295].
4
Specify the rule description
(optional).
esr(config-ips-category-
rule-advanced)#
description
<DESCRIPTION>
<DESCRIPTION> – description, set
by the string of up to 255
characters.
5
Specify the given rule force.
esr(config-ips-category-
rule-advanced)# rule-
text <LINE>
<CONTENT> – text message in
SNORT 2.X/Suricata 4.X format,
specified by a string of up to 1024
characters.
When writing rules, the symbol ''
needs to be replaced with the symbol
'
6
Activate a rule.
esr(config-ips-category-
rule-advanced)# enable
7.7.8 Extended user rules configuration example
Objective:
Write a rule detecting attack like Slowloris.
Solution:
Create a set of user rules:
esr(config)# security ips-category user-defined ADV