HP VPN Firewall Appliances Attack Protection Command Reference

88
head-filtering keyword-entry
Use head-filtering keyword-entry to specify a keyword filtering entry for HTTP header filtering.
Use undo head-filtering keyword-entry to remove a keyword filtering entry for HTTP header filtering.
Syntax
head-filtering keyword-entry keyword-entry-name
undo head-filtering keyword-entry keyword-entry-name
Default
No keyword filtering entry is specified for HTTP header filtering.
Views
HTTP filtering policy view
Default command level
2: System level
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