F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Attack Protection Command Reference-6PW100
89
Parameters
keyword-entry-name: Specifies the name of the keyword filtering entry, a case-sensitive string of 1 to 32
characters. The keyword filtering entry must already exist.
Usage guidelines
You can specify multiple keyword filtering entries for HTTP header filtering.
Examples
# Create a keyword filtering entry HttpChunked and add a keyword chunked to the entry.
<Sysname> system-view
[Sysname] content-filtering keyword-entry HttpChunked
[Sysname-contflt-keyword-HttpChunked] keyword fix-string chunked
[Sysname-contflt-keyword-HttpChunked] quit
# Apply the keyword filtering entry HttpChunked for HTTP header filtering in the HTTP filtering policy
HTTPBanned.
[Sysname] content-filtering http-policy HTTPBanned
[Sysname-contflt-http-policy-HTTPBanned] head-filtering keyword-entry HttpChunked
Related commands
content-filtering keyword-entry
http-policy
Use http-policy to apply an HTTP filtering policy to a content filtering policy template.
Use undo http-policy to remove the application of an HTTP filtering policy.
Syntax
http-policy policy-name
undo http-policy policy-name
Default
No HTTP filtering policy is applied to a content filtering policy template.
Views
Content filtering policy template view
Default command level
2: System level
Parameters
policy-name: Specifies the name of the HTTP filtering policy, a case-sensitive string of 1 to 32 characters.
The HTTP filtering policy must already exist.
Usage guidelines
This command enables HTTP content filtering based on the HTTP filtering policy.
Examples
# Apply an HTTP filtering policy HTTPBanned to the content filtering policy template StrictRule.
<Sysname> system-view
[Sysname] content-filtering policy-template StrictRule
[Sysname-contflt-policy-template-StrictRule] http-policy HTTPBanned