File format with a list of URLs to block: [Документация VAS Experts]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:making_dictionary [2015/04/04 22:21] – created translator1en:making_dictionary [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-The dictionary that holds a list of resources to block takes two steps. First, one creates a text file with a list of resources. Second, one converts this file into an internal format by means of a special utility. 
- 
-=== File format with a list of URLs to block: === 
- 
-Each line contains one URL (with no <nowiki>http://</nowiki> prefix). For example: 
-<code>1magehut.com/users.php?act=gallery&gal=81&page=4 
-3dmx.net</code> 
- 
-To convert into the internal format((Old versions of the converter place empty lines in this file into the list to block. This leads to blocking of all sites. [[errata_2|Update utilities!]])): 
- 
-<code>cat my_url_list.txt|url2dic my_url_list.dic</code> 
- 
-=== File format with a list of names to block in SSL certificates: === 
- 
-Each line contains one [[cn_info|name]]. For example: 
-<code>*.facebook.com 
-www.vasexperts.ru</code> 
- 
-To convert into the internal format(([[Errata|Corrections]])): 
-<code>cat my_cn_list.txt|url2dic my_cn_list.dic</code> 
- 
-=== File format with a list of IP addresses to block: === 
-  
-Each line contains one IP then space then the port's number: 
-<code>78.47.115.34 443 
-95.211.6.92 443</code> 
- 
-To convert into the internal format: 
-<code>cat my_ip_list.txt|ip2bin my_ip_list.bin</code>