From eb30e6097b1797817c88de9ade6766a8a0ee977c Mon Sep 17 00:00:00 2001 From: Bluesaxorcist Date: Mon, 7 Oct 2019 19:56:45 -0500 Subject: commented out replicant on tcp side until code is fixed --- modes/transparent_tcp/transparent_tcp.go | 35 ++++++++++++++++---------------- 1 file changed, 17 insertions(+), 18 deletions(-) (limited to 'modes') diff --git a/modes/transparent_tcp/transparent_tcp.go b/modes/transparent_tcp/transparent_tcp.go index 51ec43b..8fc2f08 100644 --- a/modes/transparent_tcp/transparent_tcp.go +++ b/modes/transparent_tcp/transparent_tcp.go @@ -33,9 +33,7 @@ import ( options2 "github.com/OperatorFoundation/shapeshifter-dispatcher/common" "github.com/OperatorFoundation/shapeshifter-dispatcher/common/pt_extras" - "github.com/OperatorFoundation/shapeshifter-dispatcher/transports" "github.com/OperatorFoundation/shapeshifter-transports/transports/Dust" - replicant "github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant" "github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite" "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs2" "io" @@ -167,22 +165,23 @@ func ServerSetup(termMon *termmon.TermMonitor, bindaddrString string, ptServerIn case "obfs4": transport := obfs4.NewObfs4Server(statedir) listen = transport.Listen - case "Replicant": - shargs, aok := args["Replicant"] - if !aok { - return false, nil - } - - configString, ok := shargs.Get("config") - if !ok { - return false, nil - } - config, err := transports.ParseReplicantConfig(configString) - if err != nil { - return false, nil - } - transport := replicant.New(config) - listen = transport.Listen + //FIXME make replicant case work for server side + //case "Replicant": + // shargs, aok := args["Replicant"] + // if !aok { + // return false, nil + // } + // + // configString, ok := shargs.Get("config") + // if !ok { + // return false, nil + // } + // config, err := transports.ParseReplicantConfig(configString) + // if err != nil { + // return false, nil + // } + // transport := replicant.New(config) + // listen = transport.Listen case "Dust": shargs, aok := args["Dust"] if !aok { -- cgit v1.2.3