version 1.150, 2008/01/23 01:56:54 |
version 1.151, 2008/02/22 20:44:02 |
|
|
/* Set to true if we are authenticated. */ |
/* Set to true if we are authenticated. */ |
static int after_authentication = 0; |
static int after_authentication = 0; |
|
|
|
int keep_alive_timeouts = 0; |
|
|
/* Session key information for Encryption and MAC */ |
/* Session key information for Encryption and MAC */ |
Newkeys *newkeys[MODE_MAX]; |
Newkeys *newkeys[MODE_MAX]; |
static struct packet_state { |
static struct packet_state { |
|
|
for (;;) { |
for (;;) { |
if (compat20) { |
if (compat20) { |
type = packet_read_poll2(seqnr_p); |
type = packet_read_poll2(seqnr_p); |
|
keep_alive_timeouts = 0; |
if (type) |
if (type) |
DBG(debug("received packet type %d", type)); |
DBG(debug("received packet type %d", type)); |
switch (type) { |
switch (type) { |
case SSH2_MSG_IGNORE: |
case SSH2_MSG_IGNORE: |
|
debug3("Received SSH2_MSG_IGNORE"); |
break; |
break; |
case SSH2_MSG_DEBUG: |
case SSH2_MSG_DEBUG: |
packet_get_char(); |
packet_get_char(); |