mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
33 lines
1.2 KiB
C
33 lines
1.2 KiB
C
#pragma once
|
|
|
|
// sends authentication type and status
|
|
void send_auth_telemetry(const int status, const char* auth_type);
|
|
|
|
// sends authentication methods configured by SSHD
|
|
void send_auth_method_telemetry(const char* auth_methods);
|
|
|
|
// sends crypto information like cipher, kex, and mac
|
|
void send_encryption_telemetry(const char* direction,
|
|
const char* cipher, const char* kex, const char* mac,
|
|
const char* comp, const char* host_key,
|
|
const char** cproposal, const char** sproposal);
|
|
|
|
// sends status if using key-based auth
|
|
void send_pubkey_telemetry(const char* pubKeyStatus);
|
|
|
|
// sends shell configuration and if pty session is used
|
|
void send_shell_telemetry(const int pty, const int shell_type);
|
|
|
|
// sends signing status if using key-based auth
|
|
void send_pubkey_sign_telemetry(const char* pubKeySignStatus);
|
|
|
|
// sends connection status from ssh client
|
|
void send_ssh_connection_telemetry(const char* conn, const char* port);
|
|
|
|
// sends connection status from ssh server
|
|
void send_sshd_connection_telemetry(const char* conn);
|
|
|
|
// sends version and peer version from ssh & sshd
|
|
void send_ssh_version_telemetry(const char* ssh_version,
|
|
const char* peer_version, const char* remote_protocol_error);
|