- 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.
-
- Jan 02, 2014
-
-
Guenter Knauf authored
-
- May 11, 2013
-
-
Guenter Knauf authored
-
- Feb 09, 2013
-
-
Guenter Knauf authored
-
- Jan 28, 2013
-
-
Guenter Knauf authored
-
- Jan 06, 2013
-
-
Yang Tse authored
This reverts renaming and usage of lib/*.h header files done 28-12-2012, reverting 2 commits: f871de00... build: make use of 76 lib/*.h renamed files ffd8e127... build: rename 76 lib/*.h files This also reverts removal of redundant include guard (redundant thanks to changes in above commits) done 2-12-2013, reverting 1 commit: c087374c... curl_setup.h: remove redundant include guard This also reverts renaming and usage of lib/*.c source files done 3-12-2013, reverting 3 commits: 13606bbf... build: make use of 93 lib/*.c renamed files 5b6e7927... build: rename 93 lib/*.c files 7d83dfff... build: commit 13606bbf follow-up 1 Start of related discussion thread: http://curl.haxx.se/mail/lib-2013-01/0012.html Asking for confirmation on pushing this revertion commit: http://curl.haxx.se/mail/lib-2013-01/0048.html Confirmation summary: http://curl.haxx.se/mail/lib-2013-01/0079.html NOTICE: The list of 2 files that have been modified by other intermixed commits, while renamed, and also by at least one of the 6 commits this one reverts follows below. These 2 files will exhibit a hole in history unless git's '--follow' option is used when viewing logs. lib/curl_imap.h lib/curl_smtp.h
-
- Jan 03, 2013
-
-
Yang Tse authored
-
- Jul 11, 2012
-
-
Guenter Knauf authored
-
Guenter Knauf authored
-
Guenter Knauf authored
-
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
-
- 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 06, 2010
-
-
Guenter Knauf authored
-
- Jul 22, 2010
-
-
Guenter Knauf authored
-
- Apr 24, 2010
-
-
Guenter Knauf authored
-
- Mar 30, 2010
-
-
Guenter Knauf authored
-
- Mar 24, 2010
-
-
Daniel Stenberg authored
-
- Feb 26, 2010
-
-
Yang Tse authored
Added SIZEOF_INT and SIZEOF_SHORT definitions for non-configure systems
-
- Sep 07, 2009
-
-
Guenter Knauf authored
changed NetWare makefiles to rely on SHELL rather than OSTYPE since we can have a sh-like shell also on Windows (MSYS, Cygwin).
-