]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
KNOWN_BUGS: SOCKS-SSPI discards the security context
authorDaniel Stenberg <daniel@haxx.se>
Fri, 17 Oct 2025 14:54:57 +0000 (16:54 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 17 Oct 2025 15:45:06 +0000 (17:45 +0200)
Also make the verbose log say it

Pointed out by ZeroPath

Closes #19103

docs/KNOWN_BUGS
lib/socks_sspi.c

index d4e4423094efc3cb1975919cf0588004402fd5e1..15ca40102aa84ebf8f70f1400d713012a81195a7 100644 (file)
@@ -67,6 +67,7 @@ problems may have been fixed or changed somewhat since this was written.
  10. Connection
  10.1 --interface with link-scoped IPv6 address
  10.2 Does not acknowledge getaddrinfo sorting policy
+ 10.3 SOCKS-SSPI discards the security context
 
  11. Internals
  11.1 gssapi library name + version is missing in curl_version_info()
@@ -444,6 +445,15 @@ problems may have been fixed or changed somewhat since this was written.
 
  https://github.com/curl/curl/issues/16718
 
+
+10.3 SOCKS-SSPI discards the security context
+
+ After a successful SSPI/GSS-API exchange, the function queries and logs the
+ authenticated username and reports the supported data-protection level, but
+ then immediately deletes the negotiated SSPI security context and frees the
+ credentials before returning. The negotiated context is not stored on the
+ connection and is therefore never used to protect later SOCKS5 traffic.
+
 11. Internals
 
 11.1 gssapi library name + version is missing in curl_version_info()
index 1077019b11c5ea63e86004b125e162e516ecf77c..d4837708a7a6a0fc346943b6b6fe5672416f4afa 100644 (file)
@@ -562,7 +562,7 @@ CURLcode Curl_SOCKS5_gssapi_negotiate(struct Curl_cfilter *cf,
   }
   (void)curlx_nonblock(sock, TRUE);
 
-  infof(data, "SOCKS5 access with%s protection granted.",
+  infof(data, "SOCKS5 access with%s protection granted BUT NOT USED.",
         (socksreq[0] == 0) ? "out GSS-API data":
         ((socksreq[0] == 1) ? " GSS-API integrity" :
          " GSS-API confidentiality"));