cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to set service name for SPNEGO?

From: Linus Nielsen <linus_at_haxx.se>
Date: Mon, 30 Mar 2015 14:18:17 +0200

On 02/19/2015 12:11 AM, Steve Holme wrote:
> Some more random thoughts from me this evening...
>
> I wouldn't recommend replacing CURLOPT_SOCKS5_GSSAPI_SERVICE with CURLOPT_SERVICE_NAME as Socks 5 is used as a proxy and a curl user / libcurl programmer might want to set both the proxy and the protocol service name. As such I would recommend something like:
>
> * libcurl - replace CURLOPT_SOCKS5_GSSAPI_SERVICE with CURLOPT_PROXY_SERVICE_NAME as it can then be used for HTTP proxy with Kerberos/SPNEGO/Digest and keep CURLOPT_SOCKS5_GSSAPI_SERVICE for backwards API compatibility
> * libcurl - add CURLOPT_SERVICE_NAME as new value
> * curl - replace --socks5-gssapi-service with --proxy-service-name and add --socks5-gssapi-service as an alias
> * curl - add support for --service-name as a new argument

I have picked up the baton to try to make this happen. Please have a
look at the attached patch and see if it would work.

Regards,

Linus

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2015-03-30