feat(xray): add hysteria v2 inbound and VLESS encryption support

This commit is contained in:
xboard
2026-03-30 16:55:02 +08:00
parent 19aa20be87
commit f7ce8f22d4
5 changed files with 75 additions and 4 deletions
+1
View File
@@ -92,6 +92,7 @@ type NodeConfig struct {
// VMess / VLESS
TLS int `json:"tls,omitempty"`
Flow string `json:"flow,omitempty"`
Decryption string `json:"decryption,omitempty"`
TLSSettings map[string]interface{} `json:"tls_settings,omitempty"`
// Trojan
+1 -1
View File
@@ -192,7 +192,7 @@ func (w *WSClient) connect(ctx context.Context) error {
q.Set("node_id", strconv.Itoa(w.nodeID))
u.RawQuery = q.Encode()
nlog.Core().Debug("ws connecting", "url", u.Host)
nlog.Core().Debug("ws connecting", "url", u.String())
dialer := websocket.Dialer{
HandshakeTimeout: w.cfg.HandshakeTimeout,