Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

CURL.SetOptionSocks5GSSAPINec

Sets how to run the protection mode negotiation.

Component Version macOS Windows Linux Server iOS SDK
CURL 2.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.SetOptionSocks5GSSAPINec"; curl; Value )   More

Parameters

Parameter Description Example
curl The CURL session handle. $curl
Value The setting. 1

Result

Returns "OK" on success.

Description

Sets how to run the protection mode negotiation.
Pass a long set to 1 to enable or 0 to disable. As part of the gssapi negotiation a protection mode is negotiated. The rfc1961 says in section 4.3/4.4 it should be protected, but the NEC reference implementation does not. If enabled, this option allows the unprotected exchange of the protection mode negotiation.

See also SOCKS5_GSSAPI_NEC option in CURL manual.

See also

Created 18th August 2014, last changed 18th August 2014


CURL.SetOptionSocks5Auth - CURL.SetOptionSocks5GSSAPIService

💬 Ask a question or report a problem