proxychains-masq 0.1.5

TUN-based proxy chain engine — routes TCP flows through SOCKS4/5, HTTP CONNECT, and HTTPS CONNECT proxy chains via a userspace network stack.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use anyhow::Result;

use super::{BoxStream, Target};

/// RAW proxy: no handshake, the stream is forwarded as-is.
///
/// This is a no-op that returns the stream unchanged, used when the proxy
/// is configured as `raw` type.
pub async fn connect(stream: BoxStream, _target: &Target) -> Result<BoxStream> {
    Ok(stream)
}