From 78a42d73cc9b326939dc4362f94fb5df4747ef4c Mon Sep 17 00:00:00 2001 From: deuce <> Date: Thu, 15 Mar 2018 07:28:07 +0000 Subject: [PATCH] Connections without a "session" channel get treated as a dupe-free failed attempt. --- src/sbbs3/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sbbs3/main.cpp b/src/sbbs3/main.cpp index ed6442ca98..5296226b18 100644 --- a/src/sbbs3/main.cpp +++ b/src/sbbs3/main.cpp @@ -5444,6 +5444,7 @@ NO_SSH: GCESS(i, client_socket, sbbs->ssh_session, "getting channel type"); if (tnamelen != 7 || strnicmp(tname, "session", 7)) { lprintf(LOG_INFO, "%04d SSH active channel '%s' is not 'session', disconnecting.", client_socket, tname); + loginFailure(startup->login_attempt_list, &client_addr, "SSH", NULL, NULL); // Fail because there's no session. ssh_failed = 3; } -- GitLab