summaryrefslogtreecommitdiff
path: root/Examples
diff options
context:
space:
mode:
authorBluesaxorcist <joshua@operatorfoundation.org>2019-09-16 18:58:22 -0500
committerBluesaxorcist <joshua@operatorfoundation.org>2019-09-16 18:58:22 -0500
commite0f4ef87d6a6ef5518a40468c868164708788170 (patch)
treefb69815a22352cb4448286712df4293a5dd2a8d8 /Examples
parent43d0e72c72600a1bc75518a8dfe31c279b4a9400 (diff)
fixed transports to use configs
Diffstat (limited to 'Examples')
-rw-r--r--Examples/OptimizerConfig.json21
-rw-r--r--Examples/obfs4Config.json4
-rw-r--r--Examples/shadowConfig.json4
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