HP VPN Firewall Appliances Attack Protection Command Reference
87
Usage guidelines
You can add up to 16 filenames to a filename filtering entry.
A filename keyword can be in either of the following formats:
• filename. extension, used for exact matching. You can use a wildcard asterisk (*) as the filename
or extension, or use it to replace a string of less than six characters in the filename or extension.
Only one asterisk (*) can be used in the filename or the extension part. If a filename keyword has
multiple dots (.), the last dot (.) marks the boundary between the filename and extension.
• A character string not containing the dot (.), used for fuzzy matching. You can use a wildcard
asterisk (*) to replace a string of less than six characters. Each filename keyword can have only one
wildcard asterisk (*).
Examples
# Add a filename exef to the filename filtering entry ExeFile.
<Sysname> system-view
[Sysname] content-filtering filename-entry ExeFile
[Sysname-contflt-filename-ExeFile] filename exef
ftp-policy
Use ftp-policy to apply an FTP filtering policy to a content filtering policy template.
Use undo ftp-policy to remove the application of an FTP filtering policy.
Syntax
ftp-policy policy-name
undo ftp-policy policy-name
Default
No FTP 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 FTP filtering policy, a case-sensitive string of 1 to 32 characters.
The FTP filtering policy must already exist.
Usage guidelines
This command enables FTP content filtering based on the FTP filtering policy.
Examples
# Apply an FTP filtering policy FTPBanned to the content filtering policy template StrictRule.
<Sysname> system-view
[Sysname] content-filtering policy-template StrictRule
[Sysname-contflt-policy-template-StrictRule] ftp-policy FTPBanned
Related commands
content-filtering ftp-policy