mirror of
https://github.com/Noratrieb/cluelessh.git
synced 2026-01-16 01:15:04 +01:00
log client identifier
This commit is contained in:
parent
e817b63775
commit
3cde42f32c
1 changed files with 2 additions and 0 deletions
|
|
@ -131,6 +131,8 @@ impl ServerConnection {
|
||||||
// TODO: care that its SSH 2.0 instead of anythin anything else
|
// TODO: care that its SSH 2.0 instead of anythin anything else
|
||||||
// The client will not send any more information than this until we respond, so discord the rest of the bytes.
|
// The client will not send any more information than this until we respond, so discord the rest of the bytes.
|
||||||
let client_identification = received.to_owned();
|
let client_identification = received.to_owned();
|
||||||
|
let client_ident_string = String::from_utf8_lossy(&client_identification);
|
||||||
|
debug!(identification = %client_ident_string, "Client identifier");
|
||||||
self.packet_transport.queue_send_protocol_info();
|
self.packet_transport.queue_send_protocol_info();
|
||||||
self.state = ServerState::KeyExchangeInit {
|
self.state = ServerState::KeyExchangeInit {
|
||||||
client_identification,
|
client_identification,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue