14-19
User
Guide

for

the

Cisco

Application

Networking

Manager

5.2
OL-26572-01
Chapter
14






Configuring

Traffic

Policies
Setting
Match

Conditions

for

Class

Maps
Header
Name
and

value

in

an

HTTP

header

that

are

to

be

used

for

protocol

inspection

decisions.
Do
the

following:
a.
In
the

Header

field,
choose

one

of

the

predefined

HTTP

headers

to

be

matched,

or

choose

HTTP
Header
to

specify

a

different

HTTP

header.
b.
If
you

chose

HTTP

Header,

in

the

Header

Name

field,
enter

the

name

of

the

HTTP

header

to

match.
Valid
entries

are

unquoted

text

strings

with

no

spa

ces

and

a

maximum

of

64

a

lphanumeric
characters.
c.
In
the

Header

Value

(Bytes)

field,

enter

the

header

value

expression

string
to

compare

against

the
value
in

the

specified

field

in

the

HTTP

header.

Valid

entries

are

text

strings

with

a

maximum

of
255
alphanumeric

characters.

The

ACE

supports

regul

ar

expressions

for


matching.

If

t

he

string
includes
spaces,

enclose

the

string

with

quotes.

All

headers

in

the

header

map

must

be

matched.
See
Ta

b

l

e


14-33

for

a

list

of

the

supported

characters

that

you

can

use

in

regular

expressions.
Header
Length
Length
of


the

header

i

n

the

HTTP

message

that

is

t

o

be

use

d

for

protocol

inspection

decisions.
Do
the

following:
a.
In
the

Header

Length

Type

field,

specify

whether

HTTP

header

request

or

response

messages

are
to
be

used

for

protocol

inspection

decisions

as

follows:


Request—HTTP

header

request

messages

are

to

be

checked

for

header

length.


Response—HTTP

header

response

messages

are

to

be

checked

for

header

length.
b.
In
the

Header

Length
Operator
field,

choose

the

operand

t

o

use

to

compare

header

length:


Equal

To—The

header

length

must

equal

the

number

in

the

Header

Length

Value

(Bytes)
fi
el

d.


Greater

Than—The

header

length

must

be

greater

than

the

number

in

the

Header

Length
Value
(Bytes)

field.


Less

Than—The

header

length

must

be

less

than

the

number

in

the

Header

Length

Value
(Bytes)
field.


Range—The

header

length

must

be

within

the

range

specified

in

the

Header

Length

Lower
Value
(Bytes)

field

and

the

Header

Length

Higher

Value

(Bytes)

field.
c.
Enter
values
to
apply

for

header

length

comparison
as
follows:


If

you

chose

Equal

To,

Greater

Than,

or

Le

ss

Than

i

n

the

Header

Length

Operator

field,

the
Header
Length

Value

(Bytes)

field

appears.

In

the

Header

Length

Value

(Bytes)

field,

enter
the
number

of

bytes

for

comparison.

Valid

entries

are

from

0

to

255.


If

you


chose

Range

in

t

he

Header

Length

Op

erator

field,

t

he

Header

Length

Lower

Value
(Bytes)
and

the

Header

Length

Higher

Value

(Byt

es)

fields

appear.

Do

t

he

following:
1.
In

the

Header

Length

Lower

Value

(Bytes)

field,

enter

the

lowest

number

of

bytes

to

be

used
for
this

match

condition.

Valid

entries

are

from

0

to

255.

The

number

in

this

field

must

be

less
than
the

number

entered

in

the

Header

Length

Higher

Value

(Bytes)

field.
2.
In

t

he

Header

Length

Hi

gher

Value

(Bytes)

field,

en

ter

t

he

highest

nu

mber

of


bytes

to

be
used
for

t

his

match

condition.

Valid

entries

are

from

1

to

255.

The

number

i

n

this

field

must
be
greater

than

the

number

entered

in

the

Header

Length

Lower

Value

(Bytes)

field.
Table
14-7
Layer
7

HTTP

Deep

Packet

Inspection

Class

Map

Match

Conditions

(continued)
Match
Condition
Description