< Home

http multi-host check

Function

The http multi-host check command enables detection of HTTP packets with multiple Host fields.

The undo http multi-host check command disables detection of HTTP packets with multiple Host fields.

Format

http multi-host check action { alert | block }

undo http multi-host check

Parameters

Parameter Description Value

action

Specifies the action.

-

alert

When an HTTP packet contains multiple Host fields, the packet is permitted, and a log is recorded.

-

block

When an HTTP packet contains multiple Host fields, the packet is blocked, and a log is recorded.

-

Views

Intrusion prevention profile view

Default Level

2: Configuration level

Usage Guidelines

By default, this function is disabled.

Example

# In IPS profile profile1, enable detection of HTTP packets with multiple Host fields and set the action to block.

<sysname> system-view
[sysname] profile type ips name profile1
[sysname-profile-ips-profile1] http multi-host check action block
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >