mirror of
https://github.com/openziti/ziti.git
synced 2026-10-13 23:59:53 +00:00
+transwarp. A couple of scaffolds for the plumbing work.
This commit is contained in:
+2
-2
@@ -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
@@ -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
|
||||
@@ -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())
|
||||
}
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user