diff options
author | Himbeer <himbeer@disroot.org> | 2025-03-24 11:47:10 +0100 |
---|---|---|
committer | Himbeer <himbeer@disroot.org> | 2025-03-24 11:47:10 +0100 |
commit | 0446dfb3ce21629ab56a8916088e7b4f7d425ef1 (patch) | |
tree | c2c297a970f9db0f39f66883982109a11d52b526 | |
parent | 25469e8f1a5d65f38847316098386e2193b44570 (diff) |
Log successful requests to inbound reachability check endpoint
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index b6b98c9..98718f8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -166,6 +166,8 @@ fn handle_conn_check( conn.write_all(&RESP_OK)?; conn.shutdown(Shutdown::Both)?; + println!("[info] inbound: {raddr}"); + Ok(()) } @@ -190,6 +192,8 @@ fn handle_conn_monitor(mut conn: TcpStream, raddr: SocketAddr) -> io::Result<()> conn.write_all(&RESP_NORMAL)?; conn.shutdown(Shutdown::Both)?; + println!("[info] redundant inbound: {raddr}"); + Ok(()) } |