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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    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

Feedback: Report problem or ask question.