
22-28
Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Configuration Guide using ASDM
OL-20748-01
Chapter 22 Applying Application Layer Protocol Inspection
ESMTP Inspection
Where the
drop-connection
action closes the connection. The
log
action sends a system log
message when this policy map matches traffic.
c.
To enforce banner obfuscation, enter the following command:
hostname(config-pmap-p)#
mask-banner
d.
(Optional) To detect special characters in sender or receiver email addresses, enter the following
command:
hostname(config-pmap-p)#
special
-
character
action
[
drop
-
connection
|
log
]]
Using this command detects pipe (|), backquote (`) and null characters.
e.
(Optional) To match the body length or body line length, enter the following command:
hostname(config-pmap-p)#
match body
[
line
]
length gt
length
Where
length
is the length of the message body or the length of a line in the message body.
f.
(Optional) To match an ESMTP command verb, enter the following command:
hostname(config-pmap-p)#
match cmd verb
verb
Where
verb
is any of the following ESMTP commands:
AUTH|DATA|EHLO|ETRN||HELO|HELP|MAIL|NOOP|QUIT|RCPT|RSET|SAML|SOML|VRFY
g.
(Optional) To match the number of recipient addresses, enter the following command:
hostname(config-pmap-p)#
match cmd RCPT count gt
count
Where
count
is the number of recipient addresses.
h.
(Optional) To match the command line length, enter the following command:
hostname(config-pmap-p)#
match cmd line length gt
length
Where
length
is the command line length.
i.
(Optional) To match the ehlo-reply-parameters, enter the following command:
hostname(config-pmap-p)#
match ehlo-reply-parameter
extensions
Where
extensions
are the ESMTP service extensions sent by the server in response to the EHLO
message from the client. These extensions are implemented as a new command or as parameters to
an existing command.
extensions
can be any of the following.
8bitmime|binarymime|checkpoint|dsn|ecode|etrn|others|pipelining|size|vrfy
j.
(Optional) To match the header length or header line length, enter the following command:
hostname(config-pmap-p)#
match header [line] length gt
length
Where
length
is the number of characters in the header or line.
k.
(Optional) To match the header to-fields count, enter the following command:
hostname(config-pmap-p)#
match header to-fields count gt
count
Where
count
is the number of recipients in the to-field of the header.
l.
(Optional) To match the number of invalid recipients, enter the following command:
hostname(config-pmap-p)#
match invalid-recipients count gt
count
Where
count
is the number of invalid recipients.
Summary of Contents for 6500 - Catalyst Series 10 Gigabit EN Interface Module Expansion
Page 35: ...P A R T 1 Getting Started and General Information ...
Page 36: ......
Page 297: ...P A R T 2 Configuring the Security Policy ...
Page 298: ......
Page 521: ...P A R T 3 System Administration ...
Page 522: ......
Page 613: ...P A R T 4 Reference ...
Page 614: ......