version 1.92, 2001/01/30 22:48:52 |
version 1.93, 2001/02/04 15:32:26 |
|
|
int remote_major, remote_minor, i, mismatch; |
int remote_major, remote_minor, i, mismatch; |
int connection_in = packet_get_connection_in(); |
int connection_in = packet_get_connection_in(); |
int connection_out = packet_get_connection_out(); |
int connection_out = packet_get_connection_out(); |
int minor1 = PROTOCOL_MINOR_1; |
int minor1 = PROTOCOL_MINOR_1; |
|
|
/* Read other side\'s version identification. */ |
/* Read other side\'s version identification. */ |
for (;;) { |
for (;;) { |
|
|
error("X11 forwarding is disabled to avoid trojan horses."); |
error("X11 forwarding is disabled to avoid trojan horses."); |
options.forward_x11 = 0; |
options.forward_x11 = 0; |
} |
} |
if (options.num_local_forwards > 0 || options.num_remote_forwards > 0) { |
if (options.num_local_forwards > 0 || options.num_remote_forwards > 0) { |
error("Port forwarding is disabled to avoid trojan horses."); |
error("Port forwarding is disabled to avoid trojan horses."); |
options.num_local_forwards = options.num_remote_forwards = 0; |
options.num_local_forwards = options.num_remote_forwards = 0; |
} |
} |