mirror of
https://github.com/bytedance/g3.git
synced 2026-05-03 14:10:39 +00:00
g3proxy: add protocol inspect policy to h2 and smtp (#207)
This commit is contained in:
parent
976fea0293
commit
2f70ebdac8
16 changed files with 296 additions and 33 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue