F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Attack Protection Command Reference-6PW100

100
url-hostname fix-string
Use url-hostname fix-string to add a URL hostname to a URL hostname filtering entry.
Use undo url-hostname fix-string to remove a URL hostname from a URL hostname filtering entry.
Syntax
url-hostname fix-string url-hostname
undo url-hostname fix-string url-hostname
Default
A URL hostname filtering entry does not have any URL hostname.
Views
URL hostname filtering entry view
Default command level
2: System level
Parameters
url-hostname: Specifies the URL hostname, a case-insensitive string of 1 to 80 characters. The argument
supports the wildcards caret (^), asterisk (*), ampersand (&), and dollar sign ($).
Usage guidelines
You can add up to 16 hostnames to a URL hostname filtering entry.
Follow these wildcard usage rules to configure URL hostnames:
The caret (^) identifies the beginning of a hostname. Make sure that the caret (^) is the first
character of a hostname.
The dollar sign ($) identifies the end of a hostname. Make sure that the dollar sign ($) is the last
character of a hostname.
The ampersand (&) stands for a character except for a space and a dot (.). It can be present
multiple times at any position of a hostname, consecutively or inconsecutively, but cannot be used
with asterisk (*).
The asterisk (*) stands for any characters except for a dot (.). Make sure that the asterisk (*) is at the
beginning or in the middle of a hostname, but not at the end of a hostname or next to caret (^) or
($).
A hostname with caret (^) at the beginning or dollar sign ($) at the end denotes exact matching. For
example, hostname ^webfilter matches websites starting with webfilter (such as webfilter.com.cn)
or websites such as cmm.webfilter-any.com. Hostname ^webfilter$ matches websites containing
standalone webfilter like www.webfilter.com but does not match websites like
www.webfilter-abc.com.
A hostname with neither caret (^) at the beginning nor dollar sign ($) at the end denotes fuzzy
matching, and matches websites containing the hostname.
If asterisk (*) is at the beginning of a filtering entry, it must be in the format of *.xxx, where xxx
represents a keyword, for example, *.com or *.webfilter.com.
A hostname with only numerals is invalid. To filter a website like www.123.com, you can define a
hostname like ^123$, www.123.com, or 123. co m , instead of 123 . HP recommends that you use
exact matching to filter numeral websites.