+transwarp. A couple of scaffolds for the plumbing work.

This commit is contained in:
Michael Quigley
2020-03-17 22:26:28 -04:00
parent fa7f89d4b3
commit 2a91586124
4 changed files with 8 additions and 4 deletions
+2 -2
View File
@@ -32,8 +32,8 @@ listeners:
- binding: proxy
address: tcp:0.0.0.0:1122
service: ssh
# options:
# mtu: 64
options:
mtu: 768
# for iperf_tcp (iperf3)
- binding: proxy
+1 -1
View File
@@ -13,4 +13,4 @@ ctrl:
endpoint: tls:127.0.0.1:6262
link:
listener: quic:127.0.0.1:6002
listener: transwarp:127.0.0.1:6996
+3 -1
View File
@@ -21,6 +21,7 @@ import (
"github.com/netfoundry/ziti-cmd/common/version"
"github.com/netfoundry/ziti-cmd/ziti-controller/subcmd"
"github.com/netfoundry/ziti-edge/build"
"github.com/netfoundry/ziti-fabric/transwarp"
"github.com/netfoundry/ziti-foundation/transport"
"github.com/netfoundry/ziti-foundation/transport/quic"
"github.com/netfoundry/ziti-foundation/transport/tcp"
@@ -30,10 +31,11 @@ import (
func init() {
pfxlog.Global(logrus.InfoLevel)
pfxlog.SetPrefix("bitbucket.org/netfoundry/")
pfxlog.SetPrefix("github.com/netfoundry/")
transport.AddAddressParser(quic.AddressParser{})
transport.AddAddressParser(tls.AddressParser{})
transport.AddAddressParser(tcp.AddressParser{})
transport.AddAddressParser(transwarp.AddressParser{})
build.InitBuildInfo(version.GetCmdBuildInfo())
}
+2
View File
@@ -18,6 +18,7 @@ package main
import (
"github.com/netfoundry/ziti-cmd/ziti-router/subcmd"
"github.com/netfoundry/ziti-fabric/transwarp"
"github.com/netfoundry/ziti-foundation/transport"
"github.com/netfoundry/ziti-foundation/transport/quic"
"github.com/netfoundry/ziti-foundation/transport/tcp"
@@ -32,6 +33,7 @@ func init() {
transport.AddAddressParser(quic.AddressParser{})
transport.AddAddressParser(tls.AddressParser{})
transport.AddAddressParser(tcp.AddressParser{})
transport.AddAddressParser(transwarp.AddressParser{})
}
func main() {