Skip to main content

Crate apfsds_transport

Crate apfsds_transport 

Source
Expand description

APFSDS Transport - WebSocket and network layer

This crate provides:

  • WebSocket client with Chrome handshake emulation
  • WebSocket server
  • Connection pool (round-robin)
  • Noise traffic generation
  • Exit node communication

Structs§

BrowserProfile
Browser profile for fingerprint emulation
ConnectionPool
Connection pool for WebSocket connections
ConnectionPoolConfig
Connection pool configuration
ExitClient
Client for communicating with exit nodes
ExitClientConfig
Configuration for exit client
ExitNodeDefinition
Definition of an exit node
ExitPool
Pool of exit node clients with load balancing
ExitPoolConfig
Configuration for exit pool
FrameCodec
Frame codec for encoding/decoding ProxyFrames
GroupPool
Pool of exit node clients for a specific group
MtlsConfig
mTLS configuration
NoiseConfig
Noise traffic configuration
NoiseGenerator
Noise generator that produces periodic noise traffic
PoolStats
Pool statistics
PooledConnection
A managed connection in the pool
QuicClient
QUIC Client for outgoing connections
QuicConfig
QUIC Transport Configuration
QuicConnection
QUIC Connection wrapper
QuicServer
QUIC Server for incoming connections
SshClient
SshServer
WssClient
WebSocket client wrapper
WssClientConfig
WebSocket client configuration
WssServer
WebSocket server (placeholder - full implementation in daemon)
WssServerConfig
WebSocket server configuration

Enums§

CodecError
ExitClientError
Exit client errors
NoiseMessage
Type of noise message
PoolError
WssClientError
WssServerError

Constants§

CHROME_UA
Chrome 120 User-Agent

Traits§

PacketDispatcher

Functions§

create_acceptor
Create a TLS acceptor for the server side
create_connector
Create a TLS connector for the client side
generate_binary_noise
Generate random binary noise
generate_fake_chat_response
Generate a fake JSON API response (mimics chat completion)
generate_sse_keepalive
Generate a fake SSE keepalive message

Type Aliases§

SharedExitClient
Shared exit client
SharedPacketDispatcher