- Dec 05, 2014
-
-
Guenter Knauf authored
-
- Oct 29, 2014
-
-
Guenter Knauf authored
-
- Jul 16, 2014
-
-
David Woodhouse authored
This is just fundamentally broken. SPNEGO (RFC4178) is a protocol which allows client and server to negotiate the underlying mechanism which will actually be used to authenticate. This is *often* Kerberos, and can also be NTLM and other things. And to complicate matters, there are various different OIDs which can be used to specify the Kerberos mechanism too. A SPNEGO exchange will identify *which* GSSAPI mechanism is being used, and will exchange GSSAPI tokens which are appropriate for that mechanism. But this SPNEGO implementation just strips the incoming SPNEGO packet and extracts the token, if any. And completely discards the information about *which* mechanism is being used. Then we *assume* it was Kerberos, and feed the token into gss_init_sec_context() with the default mechanism (GSS_S_NO_OID for the mech_type argument). Furthermore... broken as this code is, it was never even *used* for input tokens anyway, because higher layers of curl would just bail out if the server actually said anything *back* to us in the negotiation. We assume that we send a single token to the server, and it accepts it. If the server wants to continue the exchange (as is required for NTLM and for SPNEGO to do anything useful), then curl was broken anyway. So the only bit which actually did anything was the bit in Curl_output_negotiate(), which always generates an *initial* SPNEGO token saying "Hey, I support only the Kerberos mechanism and this is its token". You could have done that by manually just prefixing the Kerberos token with the appropriate bytes, if you weren't going to do any proper SPNEGO handling. There's no need for the FBOpenSSL library at all. The sane way to do SPNEGO is just to *ask* the GSSAPI library to do SPNEGO. That's what the 'mech_type' argument to gss_init_sec_context() is for. And then it should all Just Work™. That 'sane way' will be added in a subsequent patch, as will bug fixes for our failure to handle any exchange other than a single outbound token to the server which results in immediate success.
-
- May 21, 2014
-
-
Steve Holme authored
Renamed the CURLX_ONES file list definition in order to a) try and be consistent with other file lists and b) to allow for the addition of the curlx header files, which will assist with Visual Studio project files generation rather than hard coding those files.
-
- May 11, 2013
-
-
Guenter Knauf authored
-
- Feb 09, 2013
-
-
Guenter Knauf authored
-
- Jan 28, 2013
-
-
Guenter Knauf authored
-
- Dec 26, 2012
-
-
Yang Tse authored
-
- Jun 19, 2012
-
-
Guenter Knauf authored
-
- Jun 18, 2012
-
-
Guenter Knauf authored
-
- Jun 09, 2012
-
-
Guenter Knauf authored
-
- May 22, 2012
-
-
Guenter Knauf authored
-
- Apr 26, 2012
-
-
Guenter Knauf authored
-
- Apr 20, 2012
-
-
Guenter Knauf authored
-
- Apr 12, 2012
-
-
Guenter Knauf authored
-
Guenter Knauf authored
-
- Apr 06, 2012
-
-
Yang Tse authored
Configuration files such as curl_config.h and all config-*.h no longer exist nor are generated/copied into 'src' directory, now these only exist in 'lib' directory from where curl tool sources uses them. Additionally old src/setup.h has been refactored into src/tool_setup.h which now pulls lib/setup.h The possibility of a makefile needing an include path adjustment exists.
-
- Sep 27, 2011
-
-
Guenter Knauf authored
-
- Sep 25, 2011
-
-
Guenter Knauf authored
-
- Sep 11, 2011
-
-
Guenter Knauf authored
-
- Sep 03, 2011
-
-
Guenter Knauf authored
-
- Jul 24, 2011
-
-
Yang Tse authored
-
- Apr 19, 2011
-
-
Guenter Knauf authored
-
- Feb 17, 2011
-
- Feb 13, 2011
-
-
Guenter Knauf authored
-
Guenter Knauf authored
-
- Dec 22, 2010
-
-
Guenter Knauf authored
-
- Dec 05, 2010
-
-
Guenter Knauf authored
-
- Dec 02, 2010
-
-
Yang Tse authored
-
- Oct 12, 2010
-
-
Guenter Knauf authored
-
- Oct 03, 2010
-
-
Guenter Knauf authored
Renamed SDK_* to NDK_*; made NDK_* defines overwriteable from environment; removed now obsolete YACC macro; moved some curl_config.h defines to IPv6 section since they are only needed when IPv6 is enabled - this makes libcurl compile with older NDKs too which were not IPv6-aware.
-
- Aug 15, 2010
-
-
Guenter Knauf authored
-
- Aug 02, 2010
-
-
Guenter Knauf authored
-
- Jul 22, 2010
-
-
Guenter Knauf authored
-
- Apr 24, 2010
-
-
Guenter Knauf authored
-
- Apr 12, 2010
-
-
Guenter Knauf authored
-
- Mar 30, 2010
-
-
Guenter Knauf authored
-
- Mar 24, 2010
-
-
Daniel Stenberg authored
-
- Feb 26, 2010