]> git.ipfire.org Git - thirdparty/bind9.git/commit
Check GSS_C_REPLAY_FLAG in client-side ret_flags validation
authorOndřej Surý <ondrej@sury.org>
Tue, 7 Apr 2026 13:58:31 +0000 (15:58 +0200)
committerMichał Kępień <michal@isc.org>
Thu, 7 May 2026 11:32:15 +0000 (13:32 +0200)
commit2b0f5aeb8148fd70ea881798b82f2774c57e8901
tree75ce59083d91be41c5c85dd098f4818bcb448d04
parent45c93af5c0f9bcc2ff864f7f122fdfe5a2e9382c
Check GSS_C_REPLAY_FLAG in client-side ret_flags validation

RFC 3645 Section 3.1.1 mandates that the client MUST abandon the
algorithm if replay_det_state is FALSE after GSS_Init_sec_context
completes.  The previous commit checked MUTUAL and INTEG but missed
REPLAY, even though it was already requested in the input flags.

Add GSS_C_REPLAY_FLAG to the ret_flags bitmask check so all three
required properties (replay detection, mutual authentication, and
integrity) are verified.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
lib/dns/gssapictx.c