mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-04-29 16:58:34 +00:00
Add routeOnly sniffing option
This commit is contained in:
parent
6c9e57d624
commit
a3023e43ef
8 changed files with 121 additions and 89 deletions
|
@ -53,7 +53,8 @@ type Inbound struct {
|
|||
// Outbound is the metadata of an outbound connection.
|
||||
type Outbound struct {
|
||||
// Target address of the outbound connection.
|
||||
Target net.Destination
|
||||
Target net.Destination
|
||||
RouteTarget net.Destination
|
||||
// Gateway address
|
||||
Gateway net.Address
|
||||
}
|
||||
|
@ -64,6 +65,7 @@ type SniffingRequest struct {
|
|||
OverrideDestinationForProtocol []string
|
||||
Enabled bool
|
||||
MetadataOnly bool
|
||||
RouteOnly bool
|
||||
}
|
||||
|
||||
// Content is the metadata of the connection content.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue