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_as [2020/02/05 17:30] – ↷ Page moved from en:dpi:dpi_options:base_functionality:opt_priority:priority_config_as to en:dpi:dpi_options:opt_priority:priority_config_as lexx26 | en:dpi:dpi_options:opt_priority:priority_config_as [2025/01/16 10:39] (current) – [Priority assignment depending on the directions] elena.krasnobryzh | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| + | {{indexmenu_n> | ||
| + | The direction is defined by a number of an autonomous system that sends or receives the traffic. | ||
| + | :!: The direction priority specified for autonomous system (if defined) overrides the priority specified by protocol. | ||
| + | :!: The direction priority specified for the traffic' | ||
| + | <note important> | ||
| + | |||
| + | The direction dependent priorities assigned by the system' | ||
| + | |||
| + | <note warning> | ||
| + | |||
| + | This file is created in two steps. First, the text file with a list of autonomous systems and their assigned priorities is created. Next, this file is converted into an internal format by a dedicated utility. | ||
| + | |||
| + | <note tip>'' | ||
| + | ===== File format of autonomous systems' | ||
| + | |||
| + | Each line of the file contains: AS_number < | ||
| + | < | ||
| + | 64512 cs0 | ||
| + | 64512 local | ||
| + | 64513 drop | ||
| + | 64514 pass | ||
| + | 64514 peer | ||
| + | </ | ||
| + | * Here cs0 - is [[en: | ||
| + | |||
| + | Keywords meaning: | ||
| + | * drop – means that packets have not to be transmitted: | ||
| + | * pass – the traffic of this autonomous system must go through DPI with no analysis and processing. | ||
| + | * local – the traffic of this system is treated as a local operator' | ||
| + | * peer – the operator is in peering state with this system; used only for [[en: | ||
| + | * term – termination is allowed for this AS; see [[en: | ||
| + | * mark1 – Prioritize SNI detection in custom signatures for autonomous systems.\\ Control from the cloud. | ||
| + | * mark2 – QUIC traffic without SNI from this AS will be marked as QUIC_UNKNOWN_MARKED\\ Example: | ||
| + | * in asnum.dscp ASN 15169 mark as mark2 | ||
| + | * in protocols.dscp mark QUIC_UNKNOWN_MARKED drop | ||
| + | * mark3 — reserved | ||
| + | |||
| + | <note important> | ||
| + | |||
| + | ===== File convertation ===== | ||
| + | |||
| + | To convert this file into the internal format and to place it into the working directory for DPI usage: | ||
| + | < | ||
| + | service fastdpi reload | ||
| + | </ | ||
| + | <note important> | ||
| + | < | ||
| + | |||
| + | ===== Configuration for local traffic ===== | ||
| + | To allow the transit of local operator traffic through the DPI without analysing and processing: | ||
| + | < | ||
| + | |||
| + | To place the local operator traffic in a separate class: | ||
| + | < | ||
| + | dscp is set in a numerical form, the [[en: | ||
| + | |||
| + | <note important> | ||
| + | |||
| + | Autonomous system traffic within its class [[en: | ||