xref: /aosp_15_r20/external/curl/docs/cmdline-opts/socks5-gssapi-nec.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker---
2*6236dae4SAndroid Build Coastguard Workerc: Copyright (C) Daniel Stenberg, <[email protected]>, et al.
3*6236dae4SAndroid Build Coastguard WorkerSPDX-License-Identifier: curl
4*6236dae4SAndroid Build Coastguard WorkerLong: socks5-gssapi-nec
5*6236dae4SAndroid Build Coastguard WorkerHelp: Compatibility with NEC SOCKS5 server
6*6236dae4SAndroid Build Coastguard WorkerAdded: 7.19.4
7*6236dae4SAndroid Build Coastguard WorkerCategory: proxy auth
8*6236dae4SAndroid Build Coastguard WorkerMulti: boolean
9*6236dae4SAndroid Build Coastguard WorkerSee-also:
10*6236dae4SAndroid Build Coastguard Worker  - socks5
11*6236dae4SAndroid Build Coastguard WorkerExample:
12*6236dae4SAndroid Build Coastguard Worker  - --socks5-gssapi-nec --socks5 hostname:4096 $URL
13*6236dae4SAndroid Build Coastguard Worker---
14*6236dae4SAndroid Build Coastguard Worker
15*6236dae4SAndroid Build Coastguard Worker# `--socks5-gssapi-nec`
16*6236dae4SAndroid Build Coastguard Worker
17*6236dae4SAndroid Build Coastguard WorkerAs part of the GSS-API negotiation a protection mode is negotiated. RFC 1961
18*6236dae4SAndroid Build Coastguard Workersays in section 4.3/4.4 it should be protected, but the NEC reference
19*6236dae4SAndroid Build Coastguard Workerimplementation does not. The option --socks5-gssapi-nec allows the
20*6236dae4SAndroid Build Coastguard Workerunprotected exchange of the protection mode negotiation.
21