Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:dpi:dpi_bestpractice:categor_lists [2020/02/14 14:48] – edrudichgmailcom | en:dpi:dpi_bestpractice:categor_lists [2023/08/28 14:54] (current) – removed elena.krasnobryzh | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | <note important> | ||
| - | ====== 9 Categorized lists ====== | ||
| - | {{indexmenu_n> | ||
| - | Service provider' | ||
| - | |||
| - | ====== Getting a list and making a sublist to use ====== | ||
| - | Downloading: | ||
| - | < | ||
| - | wget https:// | ||
| - | wget https:// | ||
| - | gzip -d outcat.lst* | ||
| - | </ | ||
| - | |||
| - | Contents: | ||
| - | < | ||
| - | outcat.lst.dic - categories description | ||
| - | outcat.lst - domain lists by categories | ||
| - | </ | ||
| - | |||
| - | Example: getting a combined list of 4,5 categories: | ||
| - | < | ||
| - | |||
| - | ====== Examples of list activation ====== | ||
| - | ===== Blocking social networks and video hostings for corporate clients ===== | ||
| - | The task is to block social networks and other resources not required for work in the organization. | ||
| - | < | ||
| - | the list of categories to be blocked: | ||
| - | 9 | ||
| - | 12 music_sites | ||
| - | 13 game_sites | ||
| - | 16 social_networks | ||
| - | 27 miners_pools_curs_etc | ||
| - | 38 forex | ||
| - | 43 gambling | ||
| - | |||
| - | form the list of received files: | ||
| - | mkdir /home/lst; cd /home/lst | ||
| - | grep -E ' | ||
| - | |||
| - | create a profile: | ||
| - | fdpi_ctrl load profile --service 4 --profile.name 1_black --profile.json '{ " | ||
| - | here, | ||
| - | http:// | ||
| - | |||
| - | Assign to subscriber: | ||
| - | fdpi_ctrl load --service 4 --profile_name 1_black --ip 192.168.0.1 | ||
| - | </ | ||
| - | ===== Providing access only to certain sites categories ===== | ||
| - | The task is to limit subscriber access by only certain categories of sites. | ||
| - | < | ||
| - | the list of categories to which the access will be provided: | ||
| - | 4 | ||
| - | 19 goverment | ||
| - | 25 museum | ||
| - | 26 medicina_hostitals | ||
| - | 32 child_sites | ||
| - | |||
| - | Form the list of the received files: | ||
| - | mkdir / | ||
| - | grep -E ' | ||
| - | |||
| - | Create profile: | ||
| - | fdpi_ctrl load profile --service 5 --profile.name 1_white --profile.json '{ " | ||
| - | here, | ||
| - | http:// | ||
| - | |||
| - | Assign to subscriber: | ||
| - | fdpi_ctrl load --service 5 --profile.name 1_white --ip 192.168.0.1 | ||
| - | </ | ||
| - | |||
| - | ====== Questions ====== | ||
| - | * How often is the list updated? - Once a day. We plan to reduce the update period. | ||