Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Imagination is the one weapon in the war against reality. -- Jules de Gaultier


dovenet / Synchronet Programming / src/sbbs3/answer.cpp

SubjectAuthor
o src/sbbs3/answer.cppDeuc?

1
src/sbbs3/answer.cpp

<65E4C33D.49169.syncprog@vert.synchro.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=3188&group=DOVE-Net.Synchronet_Programming#3188

  copy link   Newsgroups: DOVE-Net.Synchronet_Programming
From: deuc?@VERT (Deuc?)
To: Git commit to main/sbbs/master
Subject: src/sbbs3/answer.cpp
Message-ID: <65E4C33D.49169.syncprog@vert.synchro.net>
Date: Sun, 3 Mar 2024 10:36:45 -0800
X-Comment-To: Git commit to main/sbbs/master
Path: rocksolidbbs.com!not-for-mail
Organization: Vertrauen
Newsgroups: DOVE-Net.Synchronet_Programming
X-FTN-PID: Synchronet 3.20a-Linux master/c3e46719e Mar 2 2024 GCC 12.2.0
X-FTN-MSGID: 49169.syncprog@1:103/705 2a4ab94e
X-FTN-CHRS: CP437 2
WhenImported: 20240303103645-0800 41e0
WhenExported: 20240303164636-0800 41e0
ExportedFrom: VERT syncprog 49169
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Deuc? - Sun, 3 Mar 2024 18:36 UTC

https://gitlab.synchro.net/main/sbbs/-/commit/479c00be08fcee60913272a4
Modified Files:
src/sbbs3/answer.cpp
Log Message:
Fix issue when third SSH authentication attempt succeeds

Because the session is activated on the *next* time through the
loop, if the third attempt to authenticate (including public key)
fails, it would leave the session inactive and fail to log in with
a confusing error about an obsolete cryptlib.

On success, decrement ssh_failed to ensure another pass through
the loop.

Also, add more debug logging around the auth so you can clearly
see each failure, and log client_socket each time so it's clearly
grouped.

---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor