eventTstCustomSSHServer.OnBeforeSendIgnore
property OnBeforeSendIgnore: tBeforeSendIgnoreEvent read fBeforeSendIgnore write SetBeforeSendIgnore;
Asks whether to send an SSH_MSG_IGNORE, a keep-alive/traffic-masking packet, on a connection that has nothing to read; set aSendIt and aLength to control whether and how much padding is sent. The server asks each time the connection's reading thread finds nothing to read while no channel is open, and while channels are open once the last IGNORE is older than a span drawn each time, 10 ms to 1 s. aTicksSinceLast is the time in milliseconds since the server last sent an IGNORE on the connection, or since the user logged in if it has sent none. aLength is the length of the whole message in octets: the message number (1), the length of its data (4) and the data, which is zero octets. The server proposes 5 + 8k, k from 0 to 31 at random; a value under 5 is sent as 5, with no data, and one over 32768 (cMaximumPacketSize, the largest payload the transport sends and every SSH implementation must accept, RFC 4253 section 6.1) as 32768. An app uses it to customise keep-alive / anti-fingerprinting behaviour. Server-side only.