Skip to content

Harden packet validation and replay boundary coverage#808

Merged
pabuhler merged 6 commits into
cisco:mainfrom
bifurcation:opencode/packet-validation-hardening
Apr 30, 2026
Merged

Harden packet validation and replay boundary coverage#808
pabuhler merged 6 commits into
cisco:mainfrom
bifurcation:opencode/packet-validation-hardening

Conversation

@bifurcation

Copy link
Copy Markdown
Contributor

Summary

  • tighten SRTP packet length validation and guard packet key lookup when a stream has no session keys
  • make the AES-ICM counter limit and setup failure handling more defensive in edge cases
  • add focused regression coverage for short packets, replay database boundaries, and rollover counter edge conditions

Testing

  • ./configure --with-crypto-library=openssl && make test/srtp_driver && test/srtp_driver -v
  • ./configure --with-crypto-library=internal && make clean && make crypto/test/cipher_driver test/replay_driver test/rdbx_driver test/roc_driver
  • crypto/test/cipher_driver -v
  • test/replay_driver
  • test/rdbx_driver -v
  • test/roc_driver

@pabuhler pabuhler merged commit 41ff079 into cisco:main Apr 30, 2026
46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants