MCPcopy Create free account

hub / github.com/Gegam/redpill / functions

Functions312 in github.com/Gegam/redpill

↓ 1 callersFunctiondefault_cert_file
()
crates/redpill-quic/src/config.rs:349
↓ 1 callersFunctiondefault_decoy_page
()
crates/redpill-quic/src/config.rs:364
↓ 1 callersFunctiondefault_dns
()
crates/redpill-quic/src/config.rs:358
↓ 1 callersFunctiondefault_key_file
()
crates/redpill-quic/src/config.rs:352
↓ 1 callersFunctiondefault_listen
()
crates/redpill-quic/src/config.rs:328
↓ 1 callersFunctiondefault_log_level
()
crates/redpill-quic/src/config.rs:355
↓ 1 callersFunctiondefault_max_connections
()
crates/redpill-quic/src/config.rs:343
↓ 1 callersFunctiondefault_metrics_listen
()
crates/redpill-quic/src/config.rs:367
↓ 1 callersFunctiondefault_mtu
()
crates/redpill-quic/src/config.rs:340
↓ 1 callersFunctiondefault_psk_file
()
crates/redpill-quic/src/config.rs:346
↓ 1 callersFunctiondefault_reality_listen
()
crates/redpill-quic/src/config.rs:376
↓ 1 callersFunctiondefault_sni_pool
()
crates/redpill-quic/src/config.rs:391
↓ 1 callersFunctiondefault_transport_mode
()
crates/redpill-quic/src/config.rs:385
↓ 1 callersFunctiondefault_tun_address
()
crates/redpill-quic/src/config.rs:334
↓ 1 callersFunctiondefault_tun_name
()
crates/redpill-quic/src/config.rs:331
↓ 1 callersFunctiondefault_tun_prefix_len
()
crates/redpill-quic/src/config.rs:337
↓ 1 callersFunctiondefault_wan_interface
()
crates/redpill-quic/src/config.rs:361
↓ 1 callersFunctiondefault_ws_listen
()
crates/redpill-quic/src/config.rs:382
↓ 1 callersFunctionenable
(tun_name: &str, server_ip: &str, port: u16)
crates/redpill-quic/src/killswitch.rs:12
↓ 1 callersFunctionenable_ip_forwarding
()
crates/redpill-tun/src/route.rs:69
↓ 1 callersFunctionhandle_http3
Handle an HTTP/3 connection by serving a static page. Times out after 30 seconds to prevent Slowloris-style resource exhaustion.
crates/redpill-quic/src/decoy.rs:27
↓ 1 callersFunctionhandle_http3_inner
(conn: &quinn::Connection, page_path: &str)
crates/redpill-quic/src/decoy.rs:45
↓ 1 callersFunctionhandle_vpn
(conn: quinn::Connection, tun_fd: i32, state: Arc<ServerState>)
crates/redpill-quic/src/server.rs:574
↓ 1 callersFunctionhandle_vpn_h3
Handle a camouflaged VPN client that connected with h3 ALPN. Padding is enabled for both send and receive paths.
crates/redpill-quic/src/server.rs:679
↓ 1 callersMethodhas_pending
Check if there are pending packets.
crates/redpill-quic/src/batch.rs:98
↓ 1 callersMethodinterval
(&self)
crates/redpill-quic/src/padding.rs:67
↓ 1 callersFunctionip_version
Detect IP version from the first byte of a packet. Returns 4, 6, or None if invalid.
crates/redpill-quic/src/datagram.rs:10
↓ 1 callersMethodkx_groups
(&self)
crates/redpill-quic/src/browser_profile.rs:67
↓ 1 callersFunctionload_from_files
Load existing cert+key PEM files.
crates/redpill-quic/src/cert.rs:54
↓ 1 callersFunctionlog_path
Platform-specific log file location.
crates/redpill-quic/src/daemon.rs:22
↓ 1 callersMethodnext_sni
Get the next SNI domain (round-robin).
crates/redpill-quic/src/camouflage.rs:31
↓ 1 callersMethodpadding_enabled
Whether padding is enabled for this connector.
crates/redpill-quic/src/transport/quic_camouflaged.rs:95
↓ 1 callersFunctionparse_hex
(hex: &str)
crates/redpill-quic/src/users.rs:154
↓ 1 callersFunctionpem_to_key_der
Parse a PEM string into a DER private key.
crates/redpill-quic/src/cert.rs:80
↓ 1 callersFunctionprobe_udp_reachable
Heuristic UDP reachability probe. Sends a small packet to the server's UDP port and waits briefly for any response (or ICMP unreachable). This is a b
crates/redpill-quic/src/transport/health.rs:177
↓ 1 callersFunctionproxy_bidirectional
( client: &mut tokio_rustls::server::TlsStream<TcpStream>, target: &mut TcpStream, )
crates/redpill-quic/src/reality.rs:176
↓ 1 callersFunctionquery_status
Query daemon status via IPC socket. Returns parsed DaemonStatus.
crates/redpill-quic/src/ipc.rs:124
↓ 1 callersMethodquic_transport_params
Get QUIC transport parameters matching this browser's real values.
crates/redpill-quic/src/browser_profile.rs:79
↓ 1 callersMethodread_packet
(&self, buf: &mut [u8])
crates/redpill-tun/src/device.rs:344
↓ 1 callersFunctionread_session_updates
Read SessionUpdate messages from the control stream (dynamic MTU). Old servers call send.finish() → recv gets EOF → task exits cleanly.
crates/redpill-quic/src/client.rs:752
↓ 1 callersFunctionreconnect_delay
Calculate reconnect delay with exponential backoff + jitter.
crates/redpill-quic/src/client.rs:507
↓ 1 callersMethodrefill
(&self)
crates/redpill-quic/src/shaper.rs:57
↓ 1 callersMethodreload
Reload all users from disk.
crates/redpill-quic/src/users.rs:72
↓ 1 callersFunctionrun_acme_renewal
Background ACME renewal loop. This is a simplified implementation that: 1. Requests a certificate from Let's Encrypt using TLS-ALPN-01 2. Saves the c
crates/redpill-quic/src/acme.rs:127
↓ 1 callersFunctionrun_client
(cli: &Cli, daemon_mode: bool)
crates/redpill-quic/src/client.rs:189
↓ 1 callersFunctionrun_global_tun_reader
Global TUN reader: reads packets from TUN and routes to the correct client.
crates/redpill-quic/src/server.rs:461
↓ 1 callersFunctionrun_tcp_reality_listener
TCP Reality accept loop: listens for TCP connections, handles TLS, routes to VPN or proxy.
crates/redpill-quic/src/server.rs:1257
↓ 1 callersFunctionrun_ws_listener
WebSocket accept loop: listens for WebSocket connections (behind CDN reverse proxy).
crates/redpill-quic/src/server.rs:1349
↓ 1 callersFunctionrun_ws_vpn_tunnel
Server-side: run VPN tunnel over a WebSocket connection. Similar to TCP Reality tunnel but uses WebSocket frames instead of length-prefixed TCP. Each
crates/redpill-quic/src/transport/websocket_cdn.rs:195
↓ 1 callersFunctionsend_bulk
Send bulk: fast path via send_datagram when space available, slow path via send_datagram_wait when congested.
crates/redpill-quic/src/server.rs:888
↓ 1 callersMethodset_rate
Update the rate and burst dynamically.
crates/redpill-quic/src/shaper.rs:98
↓ 1 callersFunctionsetup_client_dns
()
crates/redpill-tun/src/route.rs:635
↓ 1 callersFunctionsetup_nat
(tun_subnet: &str, wan_interface: &str)
crates/redpill-tun/src/route.rs:162
↓ 1 callersFunctionsetup_notrack_iptables
Set up NOTRACK rules in iptables raw table for UDP:443.
crates/redpill-quic/src/xdp.rs:28
↓ 1 callersFunctionshutdown_signal
Wait for any shutdown signal (SIGINT, SIGTERM, SIGHUP on Unix; Ctrl+C on Windows).
crates/redpill-quic/src/client.rs:809
↓ 1 callersFunctionspawn_ipc_server
Spawn the IPC server on an already-bound Unix domain socket.
crates/redpill-quic/src/ipc.rs:71
↓ 1 callersFunctionstop_daemon
Stop a running daemon by sending SIGTERM.
crates/redpill-quic/src/daemon.rs:90
↓ 1 callersFunctionsubnet_from_config
Derive subnet base address from config (e.g. "10.0.1.1" → "10.0.1.0").
crates/redpill-quic/src/server.rs:1504
↓ 1 callersMethodto_status
(&self)
crates/redpill-quic/src/ipc.rs:38
↓ 1 callersFunctiontune_socket
Tune socket: 8MB buffers + disable GRO (reduces latency variance).
crates/redpill-quic/src/xdp.rs:96
↓ 1 callersMethodunregister
(&self, ip: Ipv4Addr)
crates/redpill-quic/src/demux.rs:70
↓ 1 callersMethodupdate_dg_size
(&self, size: usize)
crates/redpill-quic/src/stats.rs:74
↓ 1 callersMethodusernames
(&self)
crates/redpill-quic/src/users.rs:101
↓ 1 callersMethodvalidate
(&self)
crates/redpill-quic/src/config.rs:175
↓ 1 callersMethodverify
Trial-verify: try each PSK against the client's HMAC. Returns the username on success, None on failure.
crates/redpill-quic/src/users.rs:80
↓ 1 callersMethodverify_auth
(&self, nonce: &[u8; 32], mac: &[u8; 32])
crates/redpill-quic/src/auth.rs:13
↓ 1 callersMethodwatch_fallback
Monitor fallback transport for QUIC upgrade opportunity.
crates/redpill-quic/src/transport/health.rs:138
↓ 1 callersMethodwatch_quic
Monitor QUIC connection RTT for degradation.
crates/redpill-quic/src/transport/health.rs:95
↓ 1 callersFunctionwrite_pid
Write PID file. Returns the path for logging.
crates/redpill-quic/src/daemon.rs:48
Functionadaptive_decreases_on_high_delay
()
crates/redpill-quic/tests/integration.rs:543
Functionadaptive_increases_on_low_delay
()
crates/redpill-quic/tests/integration.rs:521
Functionanti_spoof_drop
()
crates/redpill-quic/tests/integration.rs:279
Functionanti_spoof_pass
()
crates/redpill-quic/tests/integration.rs:291
Methodavailable_modes
Get the list of available transport modes.
crates/redpill-quic/src/transport/manager.rs:89
Methodbase_rtt
Get base (minimum observed) RTT.
crates/redpill-quic/src/shaper.rs:260
Functionbatch_encode_decode_roundtrip
()
crates/redpill-quic/tests/integration.rs:664
Functionbatch_large_packet_bypasses
()
crates/redpill-quic/tests/integration.rs:681
Methodcheck
Try to consume `bytes` tokens. Returns true if allowed.
crates/redpill-quic/src/shaper.rs:32
Functionchrome_crypto_provider
Build a `rustls::CryptoProvider` matching Chrome's TLS 1.3 fingerprint.
crates/redpill-quic/src/fingerprint.rs:16
Functionclassify_dns_realtime
()
crates/redpill-quic/tests/integration.rs:581
Functionclassify_dscp_ef_realtime
()
crates/redpill-quic/tests/integration.rs:592
Functionclassify_small_udp_realtime
()
crates/redpill-quic/tests/integration.rs:559
Functionclassify_tcp_bulk
()
crates/redpill-quic/tests/integration.rs:572
Methodclient_ip
(&self)
crates/redpill-quic/src/demux.rs:82
Functionclient_router_register_route_unregister
()
crates/redpill-quic/tests/integration.rs:403
Methodclone_box
(&self)
crates/redpill-quic/src/noop_cc.rs:60
Functionconfigure_client_interface
( dev_name: &str, client_ip: Ipv4Addr, server_tunnel_ip: Ipv4Addr, mtu: u16, )
crates/redpill-tun/src/route.rs:548
Methodconnect
Connect to the server via WebSocket through CDN. 1. WebSocket connect to CDN URL 2. Send ClientAuth as first binary message 3. Read SessionConfig res
crates/redpill-quic/src/transport/websocket_cdn.rs:128
Methodconnection
Get a reference to the underlying quinn connection. Useful for accessing quinn-specific stats or features not exposed by the Transport trait.
crates/redpill-quic/src/transport/quic_raw.rs:55
Functionconnection_limit
()
crates/redpill-quic/tests/integration.rs:364
Functioncontrol_auth_fail
()
crates/redpill-quic/tests/integration.rs:181
Functioncontrol_auth_malformed
()
crates/redpill-quic/tests/integration.rs:223
Functioncontrol_auth_ok
()
crates/redpill-quic/tests/integration.rs:142
Methodcurrent_key
Get the current certified key.
crates/redpill-quic/src/acme.rs:77
Functiondatagram_ipv4
()
crates/redpill-quic/tests/integration.rs:342
Functiondatagram_ipv6
()
crates/redpill-quic/tests/integration.rs:355
Methoddecode
Decode from wire format.
crates/redpill-quic/src/control.rs:45
Methoddefault
()
crates/redpill-quic/src/config.rs:102
Methoddefault
()
crates/redpill-quic/src/metrics.rs:40
Methoddefault
()
crates/redpill-quic/src/batch.rs:55
← previousnext →101–200 of 312, ranked by callers