The file format of the "white" resources' URLs: [Документация VAS Experts]

Differences

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

Link to this comparison view

en:capt_make [2015/04/01 09:19] – created translator1en:capt_make [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-The "white resources" list is created in two steps: first, a text file with the list of resources is created. Second, this file is converted into internal dictionary's format by the special utility. 
- 
-=== The file format of the "white" resources' URLs: === 
- 
-Each line contains one URL (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(([[Errata|Correction]])): 
-<code>cat my_url_list.txt|url2dic my_url_list.dic</code> 
- 
-=== The file format of the "white" names in SSL certificates: === 
- 
-Each line contains one [[cn_info|имя]]. For example: 
-<code>*.facebook.com 
-www.vasexperts.ru</code> 
- 
-To convert into the internal format(([[Errata|Correction]])): 
-<code>cat my_cn_list.txt|url2dic my_cn_list.dic</code> 
- 
- 
-=== The file format of the "white" ip addresses: === 
-  
-Each line contains one ip <space> port's number (443): 
-<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> 
- 
-To place the lists into DPI configuration directory: 
-<code> 
-mv my_url_list.dic /var/lib/dpi/whlist.bin 
-mv my_cn_list.dic /var/lib/dpi/whlistcn.bin 
-mv my_ip_list.bin  /var/lib/dpi/whlistip.bin 
-</code>