Browse Source

Freedom outbound: Update noises (#579)

* add noises array

* add description for noises values
pull/580/head
dragonbreath2000 2 months ago committed by GitHub
parent
commit
ee405ff6b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 40
      docs/en/config/outbounds/freedom.md

40
docs/en/config/outbounds/freedom.md

@ -14,10 +14,23 @@ Freedom is an outbound protocol that can be used to send (normal) TCP or UDP dat
"length": "100-200", "length": "100-200",
"interval": "10-20" // ms "interval": "10-20" // ms
}, },
"noise": { "noises":[
"packet": "rand:5-10", {
"delay": "10-20" // ms "type":"base64",
"packet":"7nQBAAABAAAAAAAABnQtcmluZwZtc2VkZ2UDbmV0AAABAAE=",
"delay":"10-16"
}, },
{
"type":"rand",
"packet":"10-20",
"delay":"10-16"
},
{
"type":"str",
"packet":"hiGFW",
"delay":"10-16"
}
],
"proxyProtocol": 0 "proxyProtocol": 0
} }
``` ```
@ -61,13 +74,26 @@ A key-value map used to control TCP fragmentation,under some circumstances it
`"interval"`: time between fragments(ms) `"interval"`: time between fragments(ms)
> `noise`: map ::: warning
"noise":{} is deptecated,only "noises":[{}] is supported in 24.9.16 and later
:::
> `noises`: [ noiseObject ]
A Array used to control UDP noise,under some circumstances it can bypass some udp based protocol restrictions.
xray will loop through this array and send each noise packet one by one
`"type"`:Three types are supported. "rand" generates a random byte , "str" uses a user input string, "base64" uses a user input base64 encoded string
`"packet"`:If type is set to "rand" this field will take a range "50-100" or a single value "50"
if type is set to "str" this field will take a string
A key-value map used to control UDP noise,under some circumstances it can bypass some udp based protocol restrictions. if type is set to "base64" this field will take a base64 encoded string
`"packet"`:support two different methods."rand:min-max" generates random bytes with min and max length provided for noise."str:Customstring" will use user input string as noise. `"delay"`:delay before sending real data (ms). can be a string range like "10-20" or a single integer
`"delay"`:delay before sending real data (ms).If not specified, the default value is 0. If not specified, the default value is 0.
> `proxyProtocol`: number > `proxyProtocol`: number

Loading…
Cancel
Save