HP VPN Firewall Appliances Attack Protection Command Reference
68
Default
No filename filtering entry is specified for attachment name filtering.
Views
POP3 filtering policy view, SMTP filtering policy view
Default command level
2: System level
Parameters
filename-entry-name: Specifies the name of the filename filtering entry, a case-sensitive string of 1 to 32
characters. The filename filtering entry must already exist.
Usage guidelines
You can specify multiple filename filtering entries for attachment content filtering.
Examples
# Create a filename filtering entry ExeFile and add a filename exef to the entry.
<Sysname> system-view
[Sysname] content-filtering filename-entry ExeFile
[Sysname-contflt-filename-ExeFile] filename exef
[Sysname-contflt-filename-ExeFile] quit
# Apply the filename filtering entry ExeFile for attachment name filtering in the SMTP filtering policy
SMTPBanned.
[Sysname] content-filtering smtp-policy SMTPBanned
[Sysname-contflt-smtp-policy-SMTPBanned] attachment-name-filtering filename-entry
ExeFile
[Sysname-contflt-smtp-policy-SMTPBanned] quit
# Apply the filename filtering entry ExeFile for attachment name filtering in the POP3 filtering policy
POP3Banned.
[Sysname] content-filtering pop3-policy POP3Banned
[Sysname-contflt-pop3-policy-POP3Banned] attachment-name-filtering filename-entry
ExeFile
Related commands
• content-filtering filename-entry
• content-filtering smtp-policy
• content-filtering pop3-policy
body-filtering keyword-entry
Use body-filtering keyword-entry to specify a keyword filtering entry for body filtering.
Use undo body-filtering keyword-entry to remove a keyword filtering entry from a content filtering policy.
Syntax
body-filtering keyword-entry keyword-entry-name
undo body-filtering keyword-entry keyword-entry-name