Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scapy/layers/kerberos.py
Original file line number Diff line number Diff line change
Expand Up @@ -6084,7 +6084,7 @@ def GSS_Accept_sec_context(
)
return Context, err, gssErrorCode

# Cache authenticators to avoid replay
# Store the time for future detections
self.ReplayCache[replay_key] = ctime + KRB_MaxClockSkew

# We take that opportunity to cleanup any expired items
Expand Down
2 changes: 1 addition & 1 deletion test/scapy/layers/kerberos.uts
Original file line number Diff line number Diff line change
Expand Up @@ -1915,7 +1915,7 @@ assert passiveState == GSS_S_COMPLETE
assert passiveContext.passive
assert passiveContext.ssp_context.passive

= GSS_Accept_sec_context rejects a replayed AP-REQ without the replay flag
= GSS_Accept_sec_context rejects a replayed AP-REQ

from scapy.layers.gssapi import GSS_S_DUPLICATE_TOKEN

Expand Down
Loading