g3proxy: add protocol inspect policy to h2 and smtp (#207)

This commit is contained in:
Zhang Jingqiang 2024-04-16 18:37:45 +08:00 committed by GitHub
parent 976fea0293
commit 2f70ebdac8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 296 additions and 33 deletions

View file

@ -63,6 +63,31 @@ The keys ars:
.. deprecated:: 1.9.0 not used anymore, the max SMTP reply line length should be 512
.. _conf_value_dpi_protocol_inspect_policy:
protocol inspect policy
-----------------------
**type**: string
Set what we should do to a specific application protocol.
The possible value are:
- intercept
Intercept the traffic. This is the default value.
- bypass
Bypass the interception. The traffic will be transferred transparently.
- block
Block the traffic. And we will try to send application level error code to the client.
.. versionadded:: 1.9.0
.. _conf_value_dpi_protocol_inspection:
protocol inspection