Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TLSDesyncer ¶
type TLSDesyncer struct {
// contains filtered or unexported fields
}
TLSDesyncer splits the data into chunks and optionally disorders packets by manipulating TTL.
func NewTLSDesyncer ¶
func (*TLSDesyncer) Desync ¶
func (d *TLSDesyncer) Desync( ctx context.Context, conn net.Conn, msg *proto.TLSMessage, httpsOpts *config.HTTPSOptions, ) (int, error)
func (*TLSDesyncer) PrepareHopTrack ¶ added in v1.5.2
func (d *TLSDesyncer) PrepareHopTrack(addrs []net.IP, cfg *config.HTTPSOptions)
PrepareHopTrack registers addrs with the sniffer for hop-count learning, guarded by the config so the LRU isn't touched when fakes won't be sent.
func (*TLSDesyncer) String ¶
func (d *TLSDesyncer) String() string
type UDPDesyncer ¶
type UDPDesyncer struct {
// contains filtered or unexported fields
}
func NewUDPDesyncer ¶
func (*UDPDesyncer) PrepareHopTrack ¶ added in v1.5.2
func (d *UDPDesyncer) PrepareHopTrack(addrs []net.IP, cfg *config.UDPOptions)
PrepareHopTrack registers addrs with the sniffer for hop-count learning, guarded by the config so the LRU isn't touched when fakes won't be sent.