mirror of
https://github.com/bytedance/g3.git
synced 2026-05-05 07:10:51 +00:00
fix panic when data0 inspection timeout
This commit is contained in:
parent
6ea8e6d3a4
commit
1785c60f76
9 changed files with 86 additions and 7 deletions
|
|
@ -28,6 +28,19 @@ Whether unknown protocol will be prohibited when protocol inspection is enabled.
|
|||
|
||||
**default**: false
|
||||
|
||||
prohibit_timeout_protocol
|
||||
-------------------------
|
||||
|
||||
**optional**, **type**: bool
|
||||
|
||||
We need to read the initial data to check the protocol type, and we can set the timeout value via the
|
||||
:ref:`data0_read_timeout <conf_value_dpi_protocol_inspection_data0_read_timeout>` config option in
|
||||
auditor :ref:`protocol inspection <conf_auditor_protocol_inspection>` config.
|
||||
|
||||
This config option will set if we should prohibit the protocol if the inspection process is timed out.
|
||||
|
||||
**default**: true
|
||||
|
||||
task_audit_ratio
|
||||
----------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue