HP Network Protector SDN Application Administrator Guide
6. Select one of the options from Action menu:
• Drop: The application drops the packet when the user accesses the host name that you
have configured in the blacklist.
• Notify: The application sends a mail notification to the administrator that a host name
listed in the blacklist was accessed. application does not drop the packet and the user
can continue to access the host name.
• Drop and Notify: The application drops the packet and notifies the administrator that the
packet is dropped as the host name matches an entry in the blacklist.
7. Click Create.
The domain name is added to the Custom Blacklist.
Adding entries to a blacklist from a file
You can create a list of custom blacklist entries in a .csv file format and upload the list into the
application. Creating a blacklist file is useful when you are migrating an existing list of host names
that you want to restrict access.
Blacklist file format rules
Follow these rules when you prepare the external blacklist:
• The host name address must contain at least two levels and you can enter wild cards at third
or more levels.
• Enter the web addresses in the {web address},{action},{time range} format.
• Enter the time range in the [hh:mm-hh:mm;day(,hh:mm-hh:mm;day)] format. Enter the time
range in the 24 hour format and enter one of the enumerated values, such as weekends,
weekdays, sundays, mondays, tuesdays, wednesdays, thursdays, fridays, and
saturdays for the day value.
• Enter one of the enumerated values for the action, such as drop, notify, and dropAndNotify.
• Use wildcards
Example 2 Correct way to construct the custom blacklist
www.example.com,drop,[09:00–17:00;weekdays]
*.example.com,drop,[09:00–17:00;sundays]
You cannot use wild cards as a fuzzy match in the third and higher levels as shown:
• *er.example.com
• a*e.example.com
• re*.example.com
Loading the custom blacklist file
1. Select Databases →Custom Blacklist.
The Custom Blacklist page appears.
2. Click Upload.
The Upload page appears.
3. Click Browse and navigate to the blacklist you want to upload and click Open.
The addresses from the list are added to the Custom Blacklist.
Adding entries to a blacklist from a file 45