summaryrefslogtreecommitdiff
path: root/pkg/vpn/main.go
diff options
context:
space:
mode:
authorSam Whited <sam@samwhited.com>2022-03-11 09:57:09 -0500
committerSam Whited <sam@samwhited.com>2022-04-19 12:17:00 -0400
commite58d4ca5f07da6a562dec3b62df214170fe2ddf6 (patch)
tree66767d1e925dd037f6e0329fc207cd0ec12d2ec5 /pkg/vpn/main.go
parent6a359b11021ef270fda8ab2b4cb5331c15fa8cf0 (diff)
pkg/vpn: use new shapeshifter replacementupstream_obfs4
Signed-off-by: Sam Whited <sam@samwhited.com>
Diffstat (limited to 'pkg/vpn/main.go')
-rw-r--r--pkg/vpn/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/vpn/main.go b/pkg/vpn/main.go
index cd21b1b..3db2f15 100644
--- a/pkg/vpn/main.go
+++ b/pkg/vpn/main.go
@@ -19,6 +19,7 @@ import (
"encoding/json"
"io/ioutil"
"log"
+ "net"
"os"
"time"
@@ -27,7 +28,6 @@ import (
"0xacab.org/leap/bitmask-vpn/pkg/motd"
"0xacab.org/leap/bitmask-vpn/pkg/snowflake"
"0xacab.org/leap/bitmask-vpn/pkg/vpn/bonafide"
- "0xacab.org/leap/shapeshifter"
"github.com/apparentlymart/go-openvpn-mgmt/openvpn"
)
@@ -41,7 +41,7 @@ type Bitmask struct {
bonafide *bonafide.Bonafide
launch *launcher
transport string
- shapes *shapeshifter.ShapeShifter
+ listener net.Listener
certPemPath string
openvpnArgs []string
udp bool