MCPcopy Create free account

hub / github.com/Gegam/redpill / types & classes

Types & classes81 in github.com/Gegam/redpill

ClassAcmeCertResolver
ACME certificate resolver. Wraps a `CertifiedKey` that is hot-swapped when the certificate is renewed. Implements `ResolvesServerCert` for use with r
crates/redpill-quic/src/acme.rs:20
ClassAdaptiveShaper
Adaptive shaper that adjusts rate based on queuing delay (RTT inflation). Algorithm (run every 100ms): - qdelay = current_rtt - base_rtt - qdelay < 5
crates/redpill-quic/src/shaper.rs:166
EnumAuthMode
crates/redpill-quic/src/server.rs:66
ClassAuthResult
crates/redpill-quic/src/users.rs:28
InterfaceAuthenticator
Trait for authentication verification. Returns username on success.
crates/redpill-quic/src/auth.rs:7
EnumBrowserProfile
crates/redpill-quic/src/browser_profile.rs:11
ClassCamouflageCertVerifier
crates/redpill-quic/src/camouflage.rs:45
ClassCamouflageServerConfig
crates/redpill-quic/src/config.rs:95
ClassCertPair
crates/redpill-quic/src/cert.rs:6
ClassCli
crates/redpill-quic/src/server.rs:39
ClassCli
crates/redpill-quic/src/client.rs:43
ClassClientAuth
crates/redpill-quic/src/control.rs:27
ClassClientCamouflageSection
crates/redpill-quic/src/config.rs:256
EnumClientCommand
crates/redpill-quic/src/client.rs:73
ClassClientConfig
crates/redpill-quic/src/config.rs:207
ClassClientHandle
RAII guard that unregisters the client from the router on drop.
crates/redpill-quic/src/demux.rs:76
ClassClientRealitySection
crates/redpill-quic/src/config.rs:274
ClassClientRouter
Routes TUN-read packets to the correct client based on destination IP.
crates/redpill-quic/src/demux.rs:16
ClassClientServerSection
crates/redpill-quic/src/config.rs:235
ClassClientTomlConfig
crates/redpill-quic/src/config.rs:220
ClassClientTransportSection
crates/redpill-quic/src/config.rs:248
ClassClientWebSocketSection
crates/redpill-quic/src/config.rs:285
EnumCommand
crates/redpill-quic/src/server.rs:49
ClassConnectResult
Result of a successful transport connection.
crates/redpill-quic/src/transport/manager.rs:21
ClassConnectionGuard
RAII guard to decrement connection count on drop.
crates/redpill-quic/src/server.rs:1065
ClassCtlInfo
crates/redpill-tun/src/device.rs:122
ClassDaemonState
Shared state that the IPC server reads to produce status.
crates/redpill-quic/src/ipc.rs:28
ClassDaemonStatus
crates/redpill-quic/src/ipc.rs:15
ClassDatagramBatcher
Accumulates small packets for batching, flushes when full.
crates/redpill-quic/src/batch.rs:49
ClassDecoyConfig
crates/redpill-quic/src/config.rs:63
ClassHealthMonitor
Background health monitor for an active transport connection. - **QUIC transports**: checks RTT every 30s. If RTT exceeds 3x the baseline for 2 conse
crates/redpill-quic/src/transport/health.rs:40
ClassIdlePadder
Idle padding generator - sends dummy packets during inactivity to prevent traffic analysis based on idle patterns.
crates/redpill-quic/src/padding.rs:52
ClassIpPool
IP address allocator for the VPN subnet. Allocates from base+2 to base+254 (e.g. 10.0.1.2 - 10.0.1.254). base+0 is the network address, base+1 is the
crates/redpill-quic/src/ip_pool.rs:8
ClassMetrics
All server metrics, registered with a Prometheus registry.
crates/redpill-quic/src/metrics.rs:14
ClassNatConfig
crates/redpill-quic/src/config.rs:55
ClassNoopCc
crates/redpill-quic/src/noop_cc.rs:35
ClassNoopCcConfig
crates/redpill-quic/src/noop_cc.rs:15
EnumPriority
crates/redpill-quic/src/priority.rs:18
ClassPriorityQueue
Priority queue with two lanes: realtime (timestamped) and bulk. Dequeue always drains realtime first. Stale realtime packets are dropped.
crates/redpill-quic/src/priority.rs:67
ClassPskAuthenticator
crates/redpill-quic/src/auth.rs:28
ClassQuicCamouflagedConnector
Builder for camouflaged QUIC connections. Produces a `quinn::ClientConfig` with: - Fake SNI from the configured pool (round-robin rotation) - Certifi
crates/redpill-quic/src/transport/quic_camouflaged.rs:78
ClassQuicCamouflagedConnectorAdapter
QUIC Camouflaged connector.
crates/redpill-quic/src/transport/manager.rs:208
ClassQuicCamouflagedTransport
Camouflaged QUIC transport - wraps QuicRawTransport with packet padding.
crates/redpill-quic/src/transport/quic_camouflaged.rs:23
ClassQuicDirectConnector
QUIC direct connector - wraps quinn endpoint + PSK auth handshake.
crates/redpill-quic/src/transport/manager.rs:97
ClassQuicRawTransport
QUIC raw transport - sends IP packets as QUIC DATAGRAM frames.
crates/redpill-quic/src/transport/quic_raw.rs:42
ClassQuicTransportParams
QUIC transport parameters matching a real browser.
crates/redpill-quic/src/browser_profile.rs:117
ClassRateLimiter
Rate limiter wrapping a token bucket with drop counters.
crates/redpill-quic/src/shaper.rs:124
ClassRealityConnectionConfig
Configuration for handling a TCP Reality connection.
crates/redpill-quic/src/reality.rs:19
EnumRealityResult
Result of handling a TCP Reality connection.
crates/redpill-quic/src/reality.rs:30
ClassRealityServerConfig
crates/redpill-quic/src/config.rs:72
EnumReconnectReason
crates/redpill-quic/src/transport/health.rs:17
EnumRouteError
crates/redpill-tun/src/route.rs:11
ClassSavedRoutes
crates/redpill-tun/src/route.rs:540
EnumSendResult
crates/redpill-quic/src/transport/mod.rs:47
ClassServerConfig
crates/redpill-quic/src/config.rs:5
ClassServerState
crates/redpill-quic/src/server.rs:88
ClassSessionConfig
crates/redpill-quic/src/control.rs:67
ClassSessionGuard
RAII guard to decrement session metrics on drop (prevents stale counters on hard kill).
crates/redpill-quic/src/server.rs:1076
ClassSessionUpdate
crates/redpill-quic/src/control.rs:124
ClassSniCamouflage
SNI pool with round-robin rotation.
crates/redpill-quic/src/camouflage.rs:16
ClassSockaddrCtl
crates/redpill-tun/src/device.rs:143
ClassStats
crates/redpill-quic/src/stats.rs:4
ClassTcpRealityConnector
Builder for TCP Reality connections.
crates/redpill-quic/src/transport/tcp_reality.rs:130
ClassTcpRealityConnectorAdapter
TCP Reality connector.
crates/redpill-quic/src/transport/manager.rs:292
ClassTcpRealityTransport
TCP Reality transport - length-framed IP packets over TLS stream. Thread safety: the TLS stream is split into read/write halves protected by separate
crates/redpill-quic/src/transport/tcp_reality.rs:41
ClassTokenBucket
Token bucket rate limiter. Tokens represent bytes. Uses x1000 fixed-point for sub-byte precision. Thread-safe via atomics (lock-free).
crates/redpill-quic/src/shaper.rs:10
InterfaceTransport
crates/redpill-quic/src/transport/mod.rs:81
ClassTransportBuildConfig
Configuration for building a TransportManager.
crates/redpill-quic/src/transport/manager.rs:367
InterfaceTransportConnector
crates/redpill-quic/src/transport/manager.rs:37
EnumTransportError
crates/redpill-quic/src/transport/mod.rs:58
ClassTransportManager
Transport manager: probes transports in priority order and connects.
crates/redpill-quic/src/transport/manager.rs:46
EnumTransportMode
crates/redpill-quic/src/transport/mod.rs:23
ClassTransportStats
crates/redpill-quic/src/transport/mod.rs:67
ClassTunDevice
crates/redpill-tun/src/device.rs:23
EnumTunError
crates/redpill-tun/src/device.rs:8
EnumTunnelExit
How the tunnel exited - determines reconnect behavior.
crates/redpill-quic/src/client.rs:34
ClassUserStore
crates/redpill-quic/src/users.rs:20
ClassWebSocketConnector
Builder for WebSocket CDN connections (client-side).
crates/redpill-quic/src/transport/websocket_cdn.rs:113
ClassWebSocketConnectorAdapter
WebSocket CDN connector.
crates/redpill-quic/src/transport/manager.rs:334
ClassWebSocketServerConfig
crates/redpill-quic/src/config.rs:85
ClassWebSocketTransport
WebSocket CDN transport - each binary WS message is one IP packet. Thread safety: sink and stream are split and protected by separate mutexes.
crates/redpill-quic/src/transport/websocket_cdn.rs:35