Versions in this module Expand all Collapse all v24 v24.12.6 Dec 6, 2024 Changes in this version + var Config_DomainStrategy_name = map[int32]string + var Config_DomainStrategy_value = map[string]int32 + var File_proxy_freedom_config_proto protoreflect.FileDescriptor + func GenerateRandomBytes(n int64) ([]byte, error) + func NewPacketReader(conn net.Conn, UDPOverride net.Destination) buf.Reader + func NewPacketWriter(conn net.Conn, h *Handler, ctx context.Context, UDPOverride net.Destination) buf.Writer + type Config struct + DestinationOverride *DestinationOverride + DomainStrategy Config_DomainStrategy + Fragment *Fragment + Noises []*Noise + ProxyProtocol uint32 + UserLevel uint32 + func (*Config) Descriptor() ([]byte, []int) + func (*Config) ProtoMessage() + func (x *Config) GetDestinationOverride() *DestinationOverride + func (x *Config) GetDomainStrategy() Config_DomainStrategy + func (x *Config) GetFragment() *Fragment + func (x *Config) GetNoises() []*Noise + func (x *Config) GetProxyProtocol() uint32 + func (x *Config) GetUserLevel() uint32 + func (x *Config) ProtoReflect() protoreflect.Message + func (x *Config) Reset() + func (x *Config) String() string + type Config_DomainStrategy int32 + const Config_AS_IS + const Config_FORCE_IP + const Config_FORCE_IP4 + const Config_FORCE_IP46 + const Config_FORCE_IP6 + const Config_FORCE_IP64 + const Config_USE_IP + const Config_USE_IP4 + const Config_USE_IP46 + const Config_USE_IP6 + const Config_USE_IP64 + func (Config_DomainStrategy) Descriptor() protoreflect.EnumDescriptor + func (Config_DomainStrategy) EnumDescriptor() ([]byte, []int) + func (Config_DomainStrategy) Type() protoreflect.EnumType + func (x Config_DomainStrategy) Enum() *Config_DomainStrategy + func (x Config_DomainStrategy) Number() protoreflect.EnumNumber + func (x Config_DomainStrategy) String() string + type DestinationOverride struct + Server *protocol.ServerEndpoint + func (*DestinationOverride) Descriptor() ([]byte, []int) + func (*DestinationOverride) ProtoMessage() + func (x *DestinationOverride) GetServer() *protocol.ServerEndpoint + func (x *DestinationOverride) ProtoReflect() protoreflect.Message + func (x *DestinationOverride) Reset() + func (x *DestinationOverride) String() string + type Fragment struct + IntervalMax uint64 + IntervalMin uint64 + LengthMax uint64 + LengthMin uint64 + PacketsFrom uint64 + PacketsTo uint64 + func (*Fragment) Descriptor() ([]byte, []int) + func (*Fragment) ProtoMessage() + func (x *Fragment) GetIntervalMax() uint64 + func (x *Fragment) GetIntervalMin() uint64 + func (x *Fragment) GetLengthMax() uint64 + func (x *Fragment) GetLengthMin() uint64 + func (x *Fragment) GetPacketsFrom() uint64 + func (x *Fragment) GetPacketsTo() uint64 + func (x *Fragment) ProtoReflect() protoreflect.Message + func (x *Fragment) Reset() + func (x *Fragment) String() string + type FragmentWriter struct + func (f *FragmentWriter) Write(b []byte) (int, error) + type Handler struct + func (h *Handler) Init(config *Config, pm policy.Manager, d dns.Client) error + func (h *Handler) Process(ctx context.Context, link *transport.Link, dialer internet.Dialer) error + type Noise struct + DelayMax uint64 + DelayMin uint64 + LengthMax uint64 + LengthMin uint64 + StrNoise []byte + func (*Noise) Descriptor() ([]byte, []int) + func (*Noise) ProtoMessage() + func (x *Noise) GetDelayMax() uint64 + func (x *Noise) GetDelayMin() uint64 + func (x *Noise) GetLengthMax() uint64 + func (x *Noise) GetLengthMin() uint64 + func (x *Noise) GetStrNoise() []byte + func (x *Noise) ProtoReflect() protoreflect.Message + func (x *Noise) Reset() + func (x *Noise) String() string + type NoisePacketWriter struct + UDPOverride net.Destination + func (w *NoisePacketWriter) WriteMultiBuffer(mb buf.MultiBuffer) error + type PacketReader struct + func (r *PacketReader) ReadMultiBuffer() (buf.MultiBuffer, error) + type PacketWriter struct + UDPOverride net.Destination + func (w *PacketWriter) WriteMultiBuffer(mb buf.MultiBuffer) error Other modules containing this package github.com/morooi/xray-core