MCPcopy Create free account

hub / github.com/Gegam/redpill / functions

Functions312 in github.com/Gegam/redpill

Methoddefault
()
crates/redpill-quic/src/stats.rs:22
Methoddefault
()
crates/redpill-quic/src/demux.rs:21
Functiondefault_true
()
crates/redpill-quic/src/config.rs:373
Methoddir
(&self)
crates/redpill-quic/src/users.rs:105
Functiondns_setup_cleanup
requires macOS + root
crates/redpill-quic/tests/integration.rs:272
Methoddomains
(&self)
crates/redpill-quic/src/camouflage.rs:36
Methoddrop
(&mut self)
crates/redpill-tun/src/device.rs:496
Methoddrop
(&mut self)
crates/redpill-quic/src/server.rs:1070
Methoddrop
(&mut self)
crates/redpill-quic/src/demux.rs:88
Methoddropped_bytes
(&self)
crates/redpill-quic/src/shaper.rs:250
Methoddropped_packets
Get dropped packet/byte counts.
crates/redpill-quic/src/shaper.rs:246
Functionextract_dst_ipv4
Extract the destination IPv4 address from a raw IP packet. Returns None for non-IPv4 packets or packets shorter than 20 bytes.
crates/redpill-quic/src/datagram.rs:45
Functionextract_dst_ipv4_test
()
crates/redpill-quic/tests/integration.rs:384
Methodflush
Flush buffered writes. No-op for transports without write buffering (QUIC). TCP-based transports should flush their BufWriter here.
crates/redpill-quic/src/transport/mod.rs:106
Methodflush
(&self)
crates/redpill-quic/src/transport/tcp_reality.rs:120
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
crates/redpill-quic/src/acme.rs:26
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
crates/redpill-quic/src/transport/health.rs:25
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
crates/redpill-quic/src/transport/mod.rs:35
Functionget_default_gateway
()
crates/redpill-tun/src/route.rs:582
Functiongrease_cipher_suite
Generate a GREASE cipher suite value (RFC 8701).
crates/redpill-quic/src/browser_profile.rs:139
Functiongrease_value
Generate a GREASE value (0x?A?A pattern). Real browsers include random GREASE values; their absence is a strong signal of non-browser clients.
crates/redpill-quic/src/browser_profile.rs:132
Functionhandle_incoming
(incoming: quinn::Incoming, tun_fd: i32, state: Arc<ServerState>)
crates/redpill-quic/src/server.rs:523
Functionhandle_tcp_connection
Handle a new TCP connection using the Reality protocol. 1. Accept TLS 2. Read first bytes to check for VPN ClientAuth 3. VPN → authenticate and retur
crates/redpill-quic/src/reality.rs:49
Functionhandle_ws_connection
Handle a single WebSocket VPN connection.
crates/redpill-quic/src/server.rs:1382
Methodinitial_window
(&self)
crates/redpill-quic/src/noop_cc.rs:56
Methodinto_any
(self: Box<Self>)
crates/redpill-quic/src/noop_cc.rs:64
Functionip_pool_allocate_release
()
crates/redpill-quic/tests/integration.rs:303
Functionip_pool_exhaustion
()
crates/redpill-quic/tests/integration.rs:323
Methodis_allocated
Check if an IP is currently allocated.
crates/redpill-quic/src/ip_pool.rs:49
Functionis_batched_datagram
Heuristic: detect if a datagram is a batch (length-prefixed) vs a raw IP packet. Raw IP packets start with version nibble 4 (IPv4) or 6 (IPv6). Batch
crates/redpill-quic/src/client.rs:799
Methodis_empty
(&self)
crates/redpill-quic/src/ip_pool.rs:63
Methodis_empty
(&self)
crates/redpill-quic/src/demux.rs:66
Functionkillswitch_enable_disable
requires macOS + root
crates/redpill-quic/tests/integration.rs:335
Methodlen
Number of currently allocated IPs.
crates/redpill-quic/src/ip_pool.rs:59
Methodlen
Number of registered clients.
crates/redpill-quic/src/demux.rs:62
Methodload
(path: &str)
crates/redpill-quic/src/config.rs:168
Functionmain
()
crates/redpill-quic/src/server.rs:106
Functionmain
()
crates/redpill-quic/src/client.rs:84
Methodmax_datagram_size
(&self)
crates/redpill-quic/src/transport/quic_camouflaged.rs:66
Methodmax_datagram_size
(&self)
crates/redpill-quic/src/transport/websocket_cdn.rs:107
Methodmax_datagram_size
(&self)
crates/redpill-quic/src/transport/tcp_reality.rs:116
Functionmetrics_render
()
crates/redpill-quic/tests/integration.rs:629
Methodmode
(&self)
crates/redpill-quic/src/transport/quic_raw.rs:80
Methodmode
(&self)
crates/redpill-quic/src/transport/quic_camouflaged.rs:58
Methodmode
(&self)
crates/redpill-quic/src/transport/websocket_cdn.rs:99
Methodmode
(&self)
crates/redpill-quic/src/transport/tcp_reality.rs:108
Functionmss_clamping_idempotent
requires Linux + root
crates/redpill-quic/tests/integration.rs:263
Methodnew
Create a new token bucket. `rate` is bytes/sec, `burst` is max accumulated bytes.
crates/redpill-quic/src/shaper.rs:20
Methodnew
Create a new pool for the given /24 subnet. `base` should be the network address (e.g. 10.0.1.0).
crates/redpill-quic/src/ip_pool.rs:16
Methodnew
(domains: Vec<String>)
crates/redpill-quic/src/camouflage.rs:22
Methodnew
(interval_ms: u64, min_size: usize, max_size: usize)
crates/redpill-quic/src/padding.rs:59
Methodnew
()
crates/redpill-quic/src/metrics.rs:46
Methodnew
()
crates/redpill-quic/src/batch.rs:61
Methodnew
(window: u64)
crates/redpill-quic/src/noop_cc.rs:20
Methodnew
()
crates/redpill-quic/src/stats.rs:28
Methodnew
(psk: [u8; 32])
crates/redpill-quic/src/auth.rs:33
Methodnew
Create a new ACME resolver and start background renewal. `domain` - FQDN to obtain cert for (e.g. "vpn.example.com") `acme_dir` - directory to cache
crates/redpill-quic/src/acme.rs:39
Methodnew
()
crates/redpill-quic/src/demux.rs:27
Methodnew
(capacity: usize)
crates/redpill-quic/src/priority.rs:75
Methodnew
Create a new health monitor. - `quic_conn`: QUIC connection handle (for RTT stats). None for TCP/WS. - `mode`: the current transport mode. - `server_
crates/redpill-quic/src/transport/health.rs:67
Methodnew
(conn: quinn::Connection)
crates/redpill-quic/src/transport/quic_raw.rs:47
Methodnew
(inner: QuicRawTransport, padding_enabled: bool)
crates/redpill-quic/src/transport/quic_camouflaged.rs:29
Methodnew
( ws: tokio_tungstenite::WebSocketStream<tokio_tungstenite::MaybeTlsStream<TcpStream>>, )
crates/redpill-quic/src/transport/websocket_cdn.rs:50
Methodnew
(stream: tokio_rustls::client::TlsStream<TcpStream>)
crates/redpill-quic/src/transport/tcp_reality.rs:47
Methodnew
Create a new transport manager with connectors in priority order. The first connector is tried first (highest priority).
crates/redpill-quic/src/transport/manager.rs:56
Methodon_congestion_event
( &mut self, _now: Instant, _sent: Instant, _is_persistent_congestion: bool,
crates/redpill-quic/src/noop_cc.rs:40
Methodon_mtu_update
(&mut self, _new_mtu: u16)
crates/redpill-quic/src/noop_cc.rs:50
Methodparse_profile
Parse from string (case-insensitive).
crates/redpill-quic/src/browser_profile.rs:24
Functionpriority_queue_realtime_first
()
crates/redpill-quic/tests/integration.rs:602
Functionpriority_queue_stale_dropped
()
crates/redpill-quic/tests/integration.rs:616
Methodprobe_and_connect
Probe all transports in priority order. Returns the first successful connection.
crates/redpill-quic/src/transport/manager.rs:62
Functionrate_limiter_zero_unlimited
()
crates/redpill-quic/tests/integration.rs:511
Methodrecord_recv
(&self, size: usize)
crates/redpill-quic/src/stats.rs:53
Methodrecord_spoofed
(&self)
crates/redpill-quic/src/stats.rs:66
Methodrecord_wait_timeout
(&self)
crates/redpill-quic/src/stats.rs:70
Methodrecv
(&self)
crates/redpill-quic/src/transport/quic_camouflaged.rs:48
Methodrecv
(&self)
crates/redpill-quic/src/transport/websocket_cdn.rs:71
Methodrecv
(&self)
crates/redpill-quic/src/transport/tcp_reality.rs:80
Functionreload_config
Reload configuration from disk on SIGHUP. Reloadable fields: max_connections, max_bandwidth_mbps, log_level, decoy page, PSK. Not reloadable: listen
crates/redpill-quic/src/server.rs:1095
Functionreload_max_connections
()
crates/redpill-quic/tests/integration.rs:649
Methodresolve
(&self, _client_hello: rustls::server::ClientHello<'_>)
crates/redpill-quic/src/acme.rs:83
Methodroute
Try to send a packet to the client owning `dst_ip`. Classifies the packet and pushes to the appropriate priority lane. Returns false if no client is r
crates/redpill-quic/src/demux.rs:52
Functionrun_tcp_reality_tunnel
Run TCP Reality VPN tunnel using the global TUN reader's ClientRouter. Packets from the internet arrive via the global TUN reader → ClientRouter → qu
crates/redpill-quic/src/server.rs:1162
Functionrun_tcp_vpn_tunnel
Server-side: run VPN tunnel over a TLS stream (TCP Reality mode). Simpler than the QUIC tunnel - no batching, no classify, no priority queue. Just le
crates/redpill-quic/src/transport/tcp_reality.rs:235
Functionrun_tunnel
( transport: Arc<dyn Transport>, quic_conn: Option<&quinn::Connection>, mode: TransportMode, s
crates/redpill-quic/src/client.rs:517
Methodsend
(&self, data: Bytes)
crates/redpill-quic/src/transport/quic_camouflaged.rs:39
Methodsend
(&self, data: Bytes)
crates/redpill-quic/src/transport/tcp_reality.rs:62
Methodsession
(&self)
crates/redpill-tun/src/device.rs:482
Functionsession_config_flags_backward_compat
()
crates/redpill-quic/tests/integration.rs:798
Functionsession_update_encode_decode
()
crates/redpill-quic/tests/integration.rs:779
Functionsetup_client_routes
( server_real_ip: &str, server_tunnel_ip: Ipv4Addr, gateway: &str, )
crates/redpill-tun/src/route.rs:599
Methodstats
(&self)
crates/redpill-quic/src/transport/quic_camouflaged.rs:62
Methodstats
(&self)
crates/redpill-quic/src/transport/websocket_cdn.rs:103
Methodstats
(&self)
crates/redpill-quic/src/transport/tcp_reality.rs:112
Methodsupported_verify_schemes
(&self)
crates/redpill-quic/src/camouflage.rs:101
Functiontest_idle_padder_generates_non_ip
()
crates/redpill-quic/src/padding.rs:143
Functiontest_pad_to_standard_sizes
()
crates/redpill-quic/src/padding.rs:89
Functiontest_roundtrip
()
crates/redpill-quic/src/padding.rs:128
Functiontest_strip_padding_ipv4
()
crates/redpill-quic/src/padding.rs:101
Functiontest_strip_padding_ipv6
()
crates/redpill-quic/src/padding.rs:111
← previousnext →201–300 of 312, ranked by callers