convert dokodemo scenario test to protobuf based

This commit is contained in:
Darien Raymond committed 2017-01-05 11:20:04 +01:00
1 parent f7721029c7
commit a704d7b6b6
6 files changed
+88 -78

No files matched your search

-39
View File
@@ -1,39 +0,0 @@
{
"port": 50010,
"inbound": {
"listen": "127.0.0.1",
"protocol": "socks",
"settings": {
"auth": "noauth",
"udp": false,
"ip": "127.0.0.1"
}
},
"outbound": {
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "127.0.0.1",
"port": 50017,
"users": [
{"id": "d17a1af7-efa5-42ca-b7e9-6a35282d737f"}
]
}
]
}
},
"inboundDetour": [
{
"protocol": "dokodemo-door",
"listen": "127.0.0.1",
"port": "50011-50015",
"settings": {
"address": "127.0.0.1",
"port": 50016,
"network": "tcp",
"timeout": 0
}
}
]
}
-22
View File
@@ -1,22 +0,0 @@
{
"port": 50017,
"log": {
"loglevel": "none"
},
"inbound": {
"listen": "127.0.0.1",
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "d17a1af7-efa5-42ca-b7e9-6a35282d737f",
"level": 1
}
]
}
},
"outbound": {
"protocol": "freedom",
"settings": {}
}
}