package
24.11.11
Repository: https://github.com/xmplusdev/xray-core.git
Documentation: pkg.go.dev

# Packages

Package blackhole is an outbound handler that blocks all connections.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package shadowsocks provides compatible functionality to Shadowsocks.
No description provided by the author
Package socks provides implements of Socks protocol 4, 4a and 5.
No description provided by the author
Package vless contains the implementation of VLess protocol and transportation.
Package vmess contains the implementation of VMess protocol and transportation.
No description provided by the author

# Functions

CopyRawConnIfExist use the most efficient copy method.
No description provided by the author
No description provided by the author
No description provided by the author
ReshapeMultiBuffer prepare multi buffer for padding structure (max 21 bytes).
UnwrapRawConn support unwrap stats, tls, utls, reality and proxyproto conn and get raw tcp conn from it.
XtlsFilterTls filter and recognize tls 1.3 and other info.
XtlsPadding add padding to eliminate length signature during tls handshake.
XtlsUnpadding remove padding and parse command.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

TrafficState is used to track uplink and downlink of one connection It is used by XTLS to determine if switch to raw copy mode, It is used by Vision to calculate padding.
VisionReader is used to read xtls vision protocol Note Vision probably only make sense as the inner most layer of reader, since it need assess traffic state from origin proxy traffic.
VisionWriter is used to write xtls vision protocol Note Vision probably only make sense as the inner most layer of writer, since it need assess traffic state from origin proxy traffic.

# Interfaces

No description provided by the author
No description provided by the author
An Inbound processes inbound connections.
An Outbound process outbound connections.
UserManager is the interface for Inbounds and Outbounds that can manage their users.