diff options
author | djm@openbsd.org <djm@openbsd.org> | 2023-08-28 05:31:16 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2023-08-28 05:34:10 +0200 |
commit | 7603ba71264e7fa938325c37eca993e2fa61272f (patch) | |
tree | e0b2fecdb68f63bdafd81eee605f5e3be9c0177a /misc.h | |
parent | upstream: Introduce a transport-level ping facility (diff) | |
download | openssh-7603ba71264e7fa938325c37eca993e2fa61272f.tar.xz openssh-7603ba71264e7fa938325c37eca993e2fa61272f.zip |
upstream: Add keystroke timing obfuscation to the client.
This attempts to hide inter-keystroke timings by sending interactive
traffic at fixed intervals (default: every 20ms) when there is only a
small amount of data being sent. It also sends fake "chaff" keystrokes
for a random interval after the last real keystroke. These are
controlled by a new ssh_config ObscureKeystrokeTiming keyword/
feedback/ok markus@
OpenBSD-Commit-ID: 02231ddd4f442212820976068c34a36e3c1b15be
Diffstat (limited to 'misc.h')
-rw-r--r-- | misc.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: misc.h,v 1.104 2023/08/18 01:37:41 djm Exp $ */ +/* $OpenBSD: misc.h,v 1.105 2023/08/28 03:31:16 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -214,6 +214,7 @@ struct timespec; void ptimeout_init(struct timespec *pt); void ptimeout_deadline_sec(struct timespec *pt, long sec); void ptimeout_deadline_ms(struct timespec *pt, long ms); +void ptimeout_deadline_monotime_tsp(struct timespec *pt, struct timespec *when); void ptimeout_deadline_monotime(struct timespec *pt, time_t when); int ptimeout_get_ms(struct timespec *pt); struct timespec *ptimeout_get_tsp(struct timespec *pt); |