Retired the #ifdef DUMP_PACKETS stuff in ssh.c because I'm utterly
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 14 Dec 2001 14:57:50 +0000 (14:57 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 14 Dec 2001 14:57:50 +0000 (14:57 +0000)
commit00db133f300dd6aa08111d2b42c749a940ecede9
treec829766d03c285a6c88316f461d54853ce8ff698
parentbabac7bd70fda1ec0c9810c8f4ccf08cfa1e31fb
Retired the #ifdef DUMP_PACKETS stuff in ssh.c because I'm utterly
sick of recompiling to enable packet dumps. SSH packet dumping is
now provided as a logging option, and dumps to putty.log like all
the other logging options. While I'm at it I cleaned up the format
so that packet types are translated into strings for easy browsing.
POSSIBLE SIDE EFFECT: in the course of this work I had to re-enable
the SSH1 packet length checks which it turns out hadn't actually
been active for some time, so it's possible things might break as a
result. If need be I can always disable those checks for the 0.52
release and think about it more carefully later.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1493 cda61777-01e9-0310-a592-d414129be87e
Makefile
doc/config.but
logging.c [new file with mode: 0644]
plink.c
psftp.c
putty.h
scp.c
ssh.c
terminal.c
windlg.c
window.c