No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
http x-online-host check

http x-online-host check

Function

The http x-online-host check command enables detection of the X-Online-Host field in HTTP packets.

The undo http x-online-host check command disables detection of the X-Online-Host field in HTTP packets.

Format

http x-online-host check { any | blacklist | multiple } action { alert | block }

undo http x-online-host check

Parameters

Parameter Description Value
any When an HTTP packet contains the X-Online-Host field, an anomaly is detected. -
blacklist Detects whether the domain name or IP address in an X-Online-Host field matches the blacklist. If yes, an anomaly is detected. -
multiple When an HTTP packet contains two or more X-Online-Host fields, an anomaly is detected. -
action

Specifies the action.

-
alert When the X-Online-Host field in an HTTP packet is abnormal, the packet is permitted, and a log is recorded. -
block When the X-Online-Host field in an HTTP packet is abnormal, the packet is blocked, and a log is recorded. -

Views

Intrusion prevention profile view

Default Level

2: Configuration level

Usage Guidelines

If you have configured the detection of whether the domain name or IP address in the X-Online-Host field matches a blacklist (blacklist), you need also to run the http x-online-host blacklist command to configure such a blacklist.

By default, this function is disabled.

Example

# In IPS profile profile1, enable detection of the X-Online-Host field in HTTP packets and set the action to block if the packets contain such a field.

<Huawei> system-view
[Huawei] profile type ips name profile1
[Huawei-profile-ips-profile1] http x-online-host check any action block
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 204078

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next