mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -05:00
In SSH packet logging mode, log SSH-2 packet sequence numbers, in
both directions. We had a bug report yesterday about a Cisco router sending SSH2_MSG_UNIMPLEMENTED and it wasn't clear for which packet; logging the sequence numbers should make such problems much easier to diagnose. (In fact this logging fix wouldn't have helped in yesterday's case, because the router also didn't bother to fill in the sequence number field in the SSH2_MSG_UNIMPLEMENTED packet! This is a precautionary measure against the next one of these problems.) [originally from svn r8295]
This commit is contained in:
5
putty.h
5
putty.h
@ -870,8 +870,9 @@ struct logblank_t {
|
||||
int type;
|
||||
};
|
||||
void log_packet(void *logctx, int direction, int type,
|
||||
char *texttype, void *data, int len,
|
||||
int n_blanks, const struct logblank_t *blanks);
|
||||
char *texttype, const void *data, int len,
|
||||
int n_blanks, const struct logblank_t *blanks,
|
||||
const unsigned long *sequence);
|
||||
|
||||
/*
|
||||
* Exports from testback.c
|
||||
|
Reference in New Issue
Block a user