Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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