guise-echo 0.1.8

Local TLS+H2+TCP echo service for inspecting emitted wire fingerprints
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std::net::SocketAddr;

use anyhow::Context as _;

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    let bind: SocketAddr = std::env::args()
        .nth(1)
        .as_deref()
        .unwrap_or("127.0.0.1:8443")
        .parse()
        .context("parse bind address")?;

    guise_echo::serve(bind).await
}