fix panic when data0 inspection timeout

This commit is contained in:
Zhang Jingqiang 2024-05-10 10:45:18 +08:00 committed by Zhang Jingqiang
parent 6ea8e6d3a4
commit 1785c60f76
9 changed files with 86 additions and 7 deletions

View file

@ -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
----------------