Skip to content
Snippets Groups Projects
  1. Dec 05, 2014
  2. Oct 29, 2014
  3. Jul 16, 2014
    • David Woodhouse's avatar
      Remove all traces of FBOpenSSL SPNEGO support · 9ad282b1
      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.
      9ad282b1
  4. May 21, 2014
    • Steve Holme's avatar
      build: Renamed CURLX_ONES file list definition to CURLX_CFILES · e8b74313
      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.
      e8b74313
  5. May 11, 2013
  6. Feb 09, 2013
  7. Jan 28, 2013
  8. Dec 26, 2012
  9. Jun 19, 2012
  10. Jun 18, 2012
  11. Jun 09, 2012
  12. May 22, 2012
  13. Apr 26, 2012
  14. Apr 20, 2012
  15. Apr 12, 2012
  16. Apr 06, 2012
    • Yang Tse's avatar
      curl tool: use configuration files from lib directory · 919c97fa
      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.
      919c97fa
  17. Sep 27, 2011
  18. Sep 25, 2011
  19. Sep 11, 2011
  20. Sep 03, 2011
  21. Jul 24, 2011
  22. Apr 19, 2011
  23. Feb 17, 2011
  24. Feb 13, 2011
  25. Dec 22, 2010
  26. Dec 05, 2010
  27. Dec 02, 2010
  28. Oct 12, 2010
  29. Oct 03, 2010
    • Guenter Knauf's avatar
      Some NetWare makefile tweaks. · 81e10701
      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.
      81e10701
  30. Aug 15, 2010
  31. Aug 02, 2010
  32. Jul 22, 2010
  33. Apr 24, 2010
  34. Apr 12, 2010
  35. Mar 30, 2010
  36. Mar 24, 2010
  37. Feb 26, 2010
    • Yang Tse's avatar
      · dc21a5e5
      Yang Tse authored
      fix sizeof short
      dc21a5e5
    • Yang Tse's avatar
      · cef95aad
      Yang Tse authored
      Added SIZEOF_INT and SIZEOF_SHORT definitions for non-configure systems
      cef95aad
Loading