fix: turn off sniffing for http and socks5 inbounds #448

This commit is contained in:
mzz2017 committed 2022-04-20 12:59:54 +08:00
1 parent 824ae5c928
commit f02554dcba
2 files changed
+5 -5

No files matched your search

+4 -4
View File
@@ -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"
+1 -1
View File
@@ -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{