mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-11-20 23:02:25 +03:00
fix: turn off sniffing for http and socks5 inbounds #448
This commit is contained in:
1 parent
824ae5c928
commit
f02554dcba
2 files changed
+5
-5
No files matched your search
@@ -8,7 +8,7 @@ const TemplateJson = `
|
||||
"listen": "0.0.0.0",
|
||||
"protocol": "socks",
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"enabled": false,
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls"
|
||||
@@ -28,7 +28,7 @@ const TemplateJson = `
|
||||
"listen": "0.0.0.0",
|
||||
"protocol": "http",
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"enabled": false,
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls"
|
||||
@@ -41,7 +41,7 @@ const TemplateJson = `
|
||||
"listen": "0.0.0.0",
|
||||
"protocol": "socks",
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"enabled": false,
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls"
|
||||
@@ -61,7 +61,7 @@ const TemplateJson = `
|
||||
"listen": "0.0.0.0",
|
||||
"protocol": "http",
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"enabled": false,
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls"
|
||||
|
||||
@@ -1759,7 +1759,7 @@ func (t *Template) InsertMappingOutbound(o serverObj.ServerObj, inboundPort stri
|
||||
Protocol: protocol,
|
||||
Listen: "0.0.0.0",
|
||||
Sniffing: coreObj.Sniffing{
|
||||
Enabled: true,
|
||||
Enabled: false,
|
||||
DestOverride: []string{"http", "tls"},
|
||||
},
|
||||
Settings: &coreObj.InboundSettings{
|
||||
|
||||
Reference in new issue
Block a user