summaryrefslogtreecommitdiff
path: root/modes/transparent_udp/transparent_udp.go
diff options
context:
space:
mode:
Diffstat (limited to 'modes/transparent_udp/transparent_udp.go')
-rw-r--r--modes/transparent_udp/transparent_udp.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/modes/transparent_udp/transparent_udp.go b/modes/transparent_udp/transparent_udp.go
index f32397f..eeb8f35 100644
--- a/modes/transparent_udp/transparent_udp.go
+++ b/modes/transparent_udp/transparent_udp.go
@@ -34,6 +34,7 @@ import (
"encoding/binary"
"fmt"
"github.com/OperatorFoundation/shapeshifter-dispatcher/common/pt_extras"
+ "github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite"
"github.com/OperatorFoundation/shapeshifter-transports/transports/shadow"
"io"
golog "log"
@@ -240,6 +241,19 @@ func ServerSetup(termMon *termmon.TermMonitor, bindaddrString string, ptServerIn
log.Errorf("obfs4 transport missing cert argument: %s", args)
return
}
+ case "meeklite":
+ Url, ok := args.Get("Url")
+ if !ok {
+ return false, nil
+ }
+
+ Front, ok2 := args.Get("Front")
+ if !ok2 {
+ return false, nil
+ }
+
+ transport := meeklite.NewMeekTransportWithFront(Url, Front)
+ listen = transport.Listen
case "shadow":
password, ok := args.Get("password")
if !ok {