From 2f6dce930e34f4374287025f48fadeb448776412 Mon Sep 17 00:00:00 2001 From: cyberta <cyberta@riseup.net> Date: Fri, 5 Feb 2021 11:48:29 -0800 Subject: [PATCH] Merge protocols and ports into one field in eip-service.json. It allows us to restrict the number of valid protocol/network combinations. --- api_specs/v4/eip-service.json | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/api_specs/v4/eip-service.json b/api_specs/v4/eip-service.json index f9d6f26..834621b 100644 --- a/api_specs/v4/eip-service.json +++ b/api_specs/v4/eip-service.json @@ -5,11 +5,8 @@ "transport":[ { "type":"obfs4", - "protocols":[ - "tcp" - ], "ports":[ - "23042" + "tcp:23042" ], "options": { "cert": "/ntRNI6JYP7R6kGKldibKWj0aCsv96Hdu/jSGncPy+rcverCLI7Emod+vRkz61hM7F/udA", @@ -18,11 +15,10 @@ }, { "type":"openvpn", - "protocols":[ - "tcp" - ], "ports":[ - "443" + "udp:1194", + "udp:53", + "tcp:443" ] } ], -- GitLab