diff --git a/proxy/vlite/inbound/config.proto b/proxy/vlite/inbound/config.proto new file mode 100644 index 000000000..fb45e0af1 --- /dev/null +++ b/proxy/vlite/inbound/config.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + +package v2ray.core.proxy.vlite.inbound; +option csharp_namespace = "V2Ray.Core.Proxy.Vlite.Inbound"; +option go_package = "github.com/v2fly/v2ray-core/v5/proxy/vlite/inbound"; +option java_package = "com.v2ray.core.proxy.vlite.inbound"; +option java_multiple_files = true; + +message UDPProtocolConfig { + string password = 3; + bool scramble_packet = 4; + bool enable_fec = 5; + bool enable_stabilization = 6; +} \ No newline at end of file diff --git a/proxy/vlite/outbound/config.proto b/proxy/vlite/outbound/config.proto new file mode 100644 index 000000000..94c21d8d2 --- /dev/null +++ b/proxy/vlite/outbound/config.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + +package v2ray.core.proxy.vlite.outbound; +option csharp_namespace = "V2Ray.Core.Proxy.Vlite.Outbound"; +option go_package = "github.com/v2fly/v2ray-core/v5/proxy/vlite/outbound"; +option java_package = "com.v2ray.core.proxy.vlite.outbound"; +option java_multiple_files = true; + +import "common/net/address.proto"; + +message UDPProtocolConfig { + v2ray.core.common.net.IPOrDomain address = 1; + uint32 port = 2; + + string password = 3; + bool scramble_packet = 4; + bool enable_fec = 5; + bool enable_stabilization = 6; +} \ No newline at end of file diff --git a/proxy/vlite/vlite.go b/proxy/vlite/vlite.go new file mode 100644 index 000000000..cd9c1411c --- /dev/null +++ b/proxy/vlite/vlite.go @@ -0,0 +1,4 @@ +// Package vlite contains the integration code for VLite protocol variety +// +// VLite is currently an experimental protocol, its stability is not guaranteed. +package vlite