bin/init: add "obfs-random-padding" to presets by default

This commit is contained in:
Micooz 2017-12-13 11:50:44 +08:00
parent 1d2e9b7c24
commit 5c7cc9d7e1
No known key found for this signature in database
GPG Key ID: B100C9A159B1EBA0

@ -39,7 +39,8 @@ module.exports = function init({isMinimal, isOverwrite}) {
'key': key,
'presets': [
{'name': 'ss-base'},
{'name': 'ss-aead-cipher', 'params': {'method': 'aes-256-gcm'}}
{'name': 'obfs-random-padding'},
{'name': 'ss-stream-cipher', 'params': {'method': 'aes-128-ctr'}}
],
'tls_cert': 'cert.pem'
}
@ -69,7 +70,8 @@ module.exports = function init({isMinimal, isOverwrite}) {
'key': key,
'presets': [
{'name': 'ss-base'},
{'name': 'ss-aead-cipher', 'params': {'method': 'aes-256-gcm'}}
{'name': 'obfs-random-padding'},
{'name': 'ss-stream-cipher', 'params': {'method': 'aes-128-ctr'}}
],
'tls_key': 'key.pem',
'tls_cert': 'cert.pem',