search for: ssh_keystroke_timing_fuzz

Displaying 1 result from an estimated 1 matches for "ssh_keystroke_timing_fuzz".

2023 Sep 07
1
Privacy improving suggestions for ObscureKeystrokeTiming
...index b461917..73cdd09 100644 --- a/clientloop.c +++ b/clientloop.c @@ -109,6 +109,9 @@ /* Permitted RSA signature algorithms for UpdateHostkeys proofs */ #define HOSTKEY_PROOF_RSA_ALGS "rsa-sha2-512,rsa-sha2-256" +/* Uncertainty (in percent) of keystroke timing intervals */ +#define SSH_KEYSTROKE_TIMING_FUZZ 10 + /* import options */ extern Options options; @@ -519,6 +522,33 @@ send_chaff(struct ssh *ssh) return 1; } +/* Sets the next interval to send a keystroke or chaff packet */ +static void +set_next_interval(const struct timespec *now, struct timespec *next_interval, + u_int interval_m...