Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:dpi:dpi_options:opt_priority:priority_config:start [2020/05/12 14:04] – [3 Assigning priorities according to the protocols] edrudichgmailcom | en:dpi:dpi_options:opt_priority:priority_config:start [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== 3 Assigning priorities according to the protocols ====== | ||
| - | {{indexmenu_n> | ||
| - | The protocol priorities (assigned by system administrator) are loaded by DPI from the file **/ | ||
| - | This file is created in two steps: first one creates a text file with the list of protocols and their priorities. Second, it is converted into an internal format by a special utility. | ||
| - | |||
| - | To apply the changes you need to the DPI configuration with the following command: | ||
| - | < | ||
| - | ===== The file format of protocols and priorities list: ===== | ||
| - | |||
| - | Each line contains the protocol name, then space, then dscp value. **For example:** | ||
| - | < | ||
| - | dns 0x3F | ||
| - | skype drop | ||
| - | compressnet 010 | ||
| - | ftp keep | ||
| - | http cs0 | ||
| - | default | ||
| - | </ | ||
| - | <note important> | ||
| - | DSCP value is specified as [[en: | ||
| - | |||
| - | Keywords meaning: | ||
| - | * drop - indicates that packets must not be transmitted further. They must be dropped. | ||
| - | * keep - shows that priority must keep its current value (typically 0). | ||
| - | * default - means "for all remaining protocols" | ||
| - | |||
| - | ===== To convert into an internal format: ===== | ||
| - | < | ||
| - | |||
| - | To move the settings into the work directory: | ||
| - | < | ||
| - | |||
| - | <note warning> | ||