This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong.
xxxxxxxxxx
====== Preparing dictionaries that list resources to block ======
{{indexmenu_n>4}}
Preparing a dictionary with a list of resources to block takes two steps. Firstly, one creates a text file with a list of resources. Secondly, one converts this file into an internal format by means of a special utility.
<note>The conversion is carried out with two utilities:
* ''url2dic'' - for URL, SNI CN
* ''ip2bin'' - for IP
Blacklist Checker Utility - ''[[dpi:dpi_components:utilities:management_utilities|checklock]]''.</note>
===== File format with a list of URLs to block (HTTP domains): =====
Each line contains one URL (without <nowiki>http://</nowiki> prefix). For example:
<code>httpforever.com/index
*forever.com/index (included 123forever.com/index, www.forever.com/index, biglikeforever.com/index etc)
3dmx.net
*.3dmx.net (included wwww.3dmx.net, map.3dmx.net etc)
</code>
To convert into the internal format
<code>cat my_url_list.txt|url2dic my_url_list.dic</code>
To convert into the internal format with automatic conversion of domains and URL-letters written in the national alphabet in utf-8 encoding:
<code>cat my_url_list.txt|url2norm|url2dic my_url_list.dic</code>
===== File format with a list of names to block in SSL certificates (QUIC/HTTPS domains): =====
Each line contains one [[dpi:dpi_options:opt_filtration:making_dictionary:cn_info|name]]. For example: