From e0f4ef87d6a6ef5518a40468c868164708788170 Mon Sep 17 00:00:00 2001 From: Bluesaxorcist Date: Mon, 16 Sep 2019 18:58:22 -0500 Subject: fixed transports to use configs --- Examples/OptimizerConfig.json | 21 +++++++++++++++++++++ Examples/obfs4Config.json | 4 ++++ Examples/shadowConfig.json | 4 ++++ 3 files changed, 29 insertions(+) create mode 100644 Examples/OptimizerConfig.json create mode 100644 Examples/obfs4Config.json create mode 100644 Examples/shadowConfig.json (limited to 'Examples') 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 -- cgit v1.2.3