diff options
author | Bluesaxorcist <joshua@operatorfoundation.org> | 2019-09-16 18:58:22 -0500 |
---|---|---|
committer | Bluesaxorcist <joshua@operatorfoundation.org> | 2019-09-16 18:58:22 -0500 |
commit | e0f4ef87d6a6ef5518a40468c868164708788170 (patch) | |
tree | fb69815a22352cb4448286712df4293a5dd2a8d8 /Examples | |
parent | 43d0e72c72600a1bc75518a8dfe31c279b4a9400 (diff) |
fixed transports to use configs
Diffstat (limited to 'Examples')
-rw-r--r-- | Examples/OptimizerConfig.json | 21 | ||||
-rw-r--r-- | Examples/obfs4Config.json | 4 | ||||
-rw-r--r-- | Examples/shadowConfig.json | 4 |
3 files changed, 29 insertions, 0 deletions
diff --git a/Examples/OptimizerConfig.json b/Examples/OptimizerConfig.json new file mode 100644 index 0000000..2634491 --- /dev/null +++ b/Examples/OptimizerConfig.json @@ -0,0 +1,21 @@ +{ + "strategy": "first", + "transports": [ + { + "name": "shadow", + "address": "127.0.0.1:1234", + "config": { + "password": "orange", + "cipherName": "aes-128-ctr" + } + }, + { + "name": "obfs4", + "address": "77.81.104.251:443", + "config": { + "cert": "a1cc6eI5H+1kTzXhbuwMR9w3ZkLeZuReniier8DYSlAg4ed9yTbnyDiWc1vF1WFWKFRYHQ", + "iatMode": "0" + } + } + ] +}
\ No newline at end of file diff --git a/Examples/obfs4Config.json b/Examples/obfs4Config.json new file mode 100644 index 0000000..4138172 --- /dev/null +++ b/Examples/obfs4Config.json @@ -0,0 +1,4 @@ +{ + "cert": "a1cc6eI5H+1kTzXhbuwMR9w3ZkLeZuReniier8DYSlAg4ed9yTbnyDiWc1vF1WFWKFRYHQ", + "iatMode": "0" +}
\ No newline at end of file diff --git a/Examples/shadowConfig.json b/Examples/shadowConfig.json new file mode 100644 index 0000000..9a9862b --- /dev/null +++ b/Examples/shadowConfig.json @@ -0,0 +1,4 @@ +{ + "password": "orange", + "cipherName": "aes-128-ctr" +}
\ No newline at end of file |