version 1.260, 2012/03/15 03:10:27 |
version 1.261, 2012/12/02 20:46:11 |
|
|
setproctitle("%s", authctxt->pw->pw_name); |
setproctitle("%s", authctxt->pw->pw_name); |
|
|
/* setup the channel layer */ |
/* setup the channel layer */ |
if (!no_port_forwarding_flag && options.allow_tcp_forwarding) |
if (no_port_forwarding_flag || |
|
(options.allow_tcp_forwarding & FORWARD_LOCAL) == 0) |
|
channel_disable_adm_local_opens(); |
|
else |
channel_permit_all_opens(); |
channel_permit_all_opens(); |
|
|
auth_debug_send(); |
auth_debug_send(); |
|
|
debug("Port forwarding not permitted for this authentication."); |
debug("Port forwarding not permitted for this authentication."); |
break; |
break; |
} |
} |
if (!options.allow_tcp_forwarding) { |
if (!(options.allow_tcp_forwarding & FORWARD_REMOTE)) { |
debug("Port forwarding not permitted."); |
debug("Port forwarding not permitted."); |
break; |
break; |
} |
} |