From 5805b04bba46bb58b72c1d3acbe0366c4ad8b1bd Mon Sep 17 00:00:00 2001 From: bol-van Date: Tue, 2 Apr 2024 18:50:50 +0300 Subject: [PATCH] tpws: special warning on unsolicited message in S_WAIT_RESOLVE state --- tpws/tpws_conn.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tpws/tpws_conn.c b/tpws/tpws_conn.c index d335526..4a664a8 100644 --- a/tpws/tpws_conn.c +++ b/tpws/tpws_conn.c @@ -914,6 +914,9 @@ static bool handle_proxy_mode(tproxy_conn_t *conn, struct tailhead *conn_list) return proxy_mode_connect_remote((struct sockaddr *)&ss,conn,conn_list); } break; + case S_WAIT_RESOLVE: + DBGPRINT("socks received message while in S_WAIT_RESOLVE. hanging up") + break; case S_WAIT_CONNECTION: DBGPRINT("socks received message while in S_WAIT_CONNECTION. hanging up") break;