mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-18 11:31:00 -05:00
Uppity: add a stunt mode --close-after-banner.
A user reported yesterday that PuTTY can fail to print a userauth banner message if the server sends one and then immediately slams the connection shut. The first step to fixing this is making a convenient way to reproduce that server behaviour. (Apparently the real use case has to do with account expiry - the server in question presumably doesn't have enough layer violations to be able to put the text "Your account has expired" into an SSH_MSG_DISCONNECT, so instead it does the next best thing and sends it as a userauth banner immediately before disconnection.)
This commit is contained in:
@ -23,6 +23,7 @@ struct SshServerConfig {
|
||||
bool stunt_open_unconditional_agent_socket;
|
||||
bool stunt_allow_trivial_ki_auth;
|
||||
bool stunt_return_success_to_pubkey_offer;
|
||||
bool stunt_close_after_banner;
|
||||
};
|
||||
|
||||
Plug *ssh_server_plug(
|
||||
|
Reference in New Issue
Block a user