X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/c0a8159289da8df577cc28be1f0c9f7f5c8d33c1..1b56c05584652dba13d7f4f54e7ac2560dab92fe:/putty.h diff --git a/putty.h b/putty.h index 9994b859..46e39c6f 100644 --- a/putty.h +++ b/putty.h @@ -266,7 +266,6 @@ typedef struct { int ssh_cipherlist[CIPHER_MAX]; char keyfile[FILENAME_MAX]; int sshprot; /* use v1 or v2 when both available */ - int buggymac; /* MAC bug commmercial <=v2.3.x SSH2 */ int ssh2_des_cbc; /* "des-cbc" nonstandard SSH2 cipher */ int try_tis_auth; int try_ki_auth; @@ -276,8 +275,8 @@ typedef struct { char termtype[32]; char termspeed[32]; char environmt[1024]; /* VAR\tvalue\0VAR\tvalue\0\0 */ - char username[32]; - char localusername[32]; + char username[100]; + char localusername[100]; int rfc_environ; int passive_telnet; /* Keyboard options */ @@ -368,6 +367,12 @@ typedef struct { int lport_acceptall; /* accept conns from hosts other than localhost */ int rport_acceptall; /* same for remote forwarded ports (SSH2 only) */ char portfwd[1024]; /* [LR]localport\thost:port\000[LR]localport\thost:port\000\000 */ + /* SSH bug compatibility modes */ + enum { + BUG_AUTO, BUG_OFF, BUG_ON + } sshbug_ignore1, sshbug_plainpw1, sshbug_rsa1, + sshbug_hmac2, sshbug_derivekey2, sshbug_rsapad2, + sshbug_dhgex2; } Config; /* @@ -513,6 +518,7 @@ void term_reconfig(void); */ void logtraffic(unsigned char c, int logmode); enum { PKT_INCOMING, PKT_OUTGOING }; +void log_eventlog(char *string); void log_packet(int direction, int type, char *texttype, void *data, int len); /*