version 1.70, 2001/04/02 14:20:23 |
version 1.71, 2001/04/07 08:55:17 |
|
|
oUsePrivilegedPort, oLogLevel, oCiphers, oProtocol, oMacs, |
oUsePrivilegedPort, oLogLevel, oCiphers, oProtocol, oMacs, |
oGlobalKnownHostsFile2, oUserKnownHostsFile2, oPubkeyAuthentication, |
oGlobalKnownHostsFile2, oUserKnownHostsFile2, oPubkeyAuthentication, |
oKbdInteractiveAuthentication, oKbdInteractiveDevices, oHostKeyAlias, |
oKbdInteractiveAuthentication, oKbdInteractiveDevices, oHostKeyAlias, |
oPreferredAuthentications |
oDynamicForward, oPreferredAuthentications |
} OpCodes; |
} OpCodes; |
|
|
/* Textual representations of the tokens. */ |
/* Textual representations of the tokens. */ |
|
|
{ "keepalive", oKeepAlives }, |
{ "keepalive", oKeepAlives }, |
{ "numberofpasswordprompts", oNumberOfPasswordPrompts }, |
{ "numberofpasswordprompts", oNumberOfPasswordPrompts }, |
{ "loglevel", oLogLevel }, |
{ "loglevel", oLogLevel }, |
|
{ "dynamicforward", oDynamicForward }, |
{ "preferredauthentications", oPreferredAuthentications }, |
{ "preferredauthentications", oPreferredAuthentications }, |
{ NULL, 0 } |
{ NULL, 0 } |
}; |
}; |
|
|
if (*activep) |
if (*activep) |
add_local_forward(options, fwd_port, buf, fwd_host_port); |
add_local_forward(options, fwd_port, buf, fwd_host_port); |
break; |
break; |
|
|
|
case oDynamicForward: |
|
arg = strdelim(&s); |
|
if (!arg || *arg == '\0') |
|
fatal("%.200s line %d: Missing port argument.", |
|
filename, linenum); |
|
if (arg[0] < '0' || arg[0] > '9') |
|
fatal("%.200s line %d: Badly formatted port number.", |
|
filename, linenum); |
|
fwd_port = atoi(arg); |
|
add_local_forward(options, fwd_port, "socks4", 0); |
|
break; |
|
|
case oHost: |
case oHost: |
*activep = 0; |
*activep = 0; |