Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| en:dpi:dpi_options:opt_priority:priority_config [2020/02/05 17:30] – ↷ Page moved from en:dpi:dpi_options:base_functionality:opt_priority:priority_config to en:dpi:dpi_options:opt_priority:priority_config lexx26 | en:dpi:dpi_options:opt_priority:priority_config [2024/09/26 15:29] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| + | {{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> | ||