From 9b8fbc5d82093a83c1cbae6eed293098320f4ae5 Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 19 Oct 2022 01:42:32 -0700 Subject: [PATCH] Better "encryption enabled" message in packet_inspector --- packet_inspector/src/main.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packet_inspector/src/main.rs b/packet_inspector/src/main.rs index 8475751..2947a99 100644 --- a/packet_inspector/src/main.rs +++ b/packet_inspector/src/main.rs @@ -154,7 +154,10 @@ async fn handle_connection(client: TcpStream, cli: Cli) -> anyhow::Result<()> { cli.rw_packet::(&mut client_read, &mut server_write) .await?; - eprintln!("Encryption was enabled! I can't see what's going on anymore."); + eprintln!( + "Encryption was enabled! Packet contents are inaccessible to the proxy. \ + Disable online_mode to fix this." + ); return tokio::select! { c2s = passthrough(client_read.into_inner(), server_write) => c2s,