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 */
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;
/*
*/
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);
/*