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 blacklist

http x-online-host blacklist

Function

The http x-online-host blacklist command configures a blacklist used to detect the X-Online-Host field.

The undo http x-online-host blacklist command deletes an existing blacklist.

Format

http x-online-host blacklist blacklist

undo http x-online-host blacklist { all | blacklist }

Parameters

Parameter Description Value
blacklist Specifies a domain name or IP address. The value is a string of 4 to 127 characters.
all Deletes all blacklists. -

Views

Intrusion prevention profile view

Default Level

2: Configuration level

Usage Guidelines

To use the http x-online-host check command to enable the detection of whether the domain name or IP address in the X-Online-Host field matches a blacklist, you need also to use the http x-online-host blacklist command to configure such a blacklist. If a domain name or IP address in the X-Online-Host field matches the blacklist, an anomaly is detected.

You can configure a maximum of 32 domain names or IP addresses in a blacklist.

Example

# In IPS profile profile1, configure a blacklist used to detect the X-Online-Host field and set the domain name to www.example.com.

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

Document ID: EDOC1100064352

Views: 195094

Downloads: 118

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