From 57ae0bfedfaa475c4c49621fd4e2b168b5c73d50 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Fri, 27 Jul 2007 17:13:42 +0000 Subject: Prevent invalid packets being sent during key-exchange, instead queue them until afterwards. This could sometimes terminate connections after 8 hours if (for example) a new TCP forwarded connection was sent at the KEX timeout. --HG-- extra : convert_revision : 48426bd66b8f5ba50045f7ba190d1672745132e2 --- packet.h | 1 + 1 file changed, 1 insertion(+) (limited to 'packet.h') diff --git a/packet.h b/packet.h index e9768cd..8fadeb3 100644 --- a/packet.h +++ b/packet.h @@ -35,6 +35,7 @@ void encrypt_packet(); void process_packet(); +void maybe_flush_reply_queue(); typedef struct PacketType { unsigned char type; /* SSH_MSG_FOO */ void (*handler)(); -- cgit v1.2.3