search for: bogus_traffic_interval_min

Displaying 2 results from an estimated 2 matches for "bogus_traffic_interval_min".

2003 Apr 04
5
Anti-idle in OpenSSH client?
Heya, Most of the windows ssh clients (putty, securecrt) have anti-idle features. They offer either a null packet or protocol no-op or user defined string to be sent over every x seconds. Is this possible or planned with the OpenSSH client? Our draconian firewall admins have started timing out ssh sessions. Yes I'm aware I could hack up a port forwarding dumb traffic process, but was
2001 Sep 26
1
[PATCH] random SSH_MSG_IGNORE packets
...hen the timeout expires to fool traffic analysis. */ - - if (select((*maxfdp)+1, *readsetp, *writesetp, NULL, NULL) < 0) { + if (options.bogus_traffic_interval_max) { + u_int32_t rand = arc4random(); + u_int64_t timeusec; + static u_int64_t timebase = 0; + u_int32_t interval_min = options.bogus_traffic_interval_min; + u_int32_t interval_max = options.bogus_traffic_interval_max; + + if (!timebase) + timebase = (interval_max - interval_min) * 1000000; + timeusec = timebase * rand / 0xffffffff; + timeusec += interval_min * 1000000; + tv.tv_sec = timeusec / 1000000; + tv.tv_usec = timeusec % 1000000; +...