cablelabs / transparent-security

Transparent Security is a solution for identify the source devices of a DDoS attack and mitigates the attack in the customer premises or the access network. This solution leverages a P4 based programmable data plane for add in-band network telemetry (INT) for device identification and in-band mitigation.
https://www.cablelabs.com/vaccinate-your-network-to-prevent-the-spread-of-ddos-attacks
Apache License 2.0
32 stars 4 forks source link

Changed and added validation to drop report hash value #356

Closed spisarski closed 3 years ago

spisarski commented 3 years ago

What does this PR do?

Fixes #355 Changed from md5 to first 16 bytes of sha256 hash value Added validation drop report hash key value Stubbed out methods and made minor fixes to address issues #354 & #351

Do you have any concerns with this PR?

Only that we are now only taking the first 16 bytes of a sha256 hash but this should now work with snaps-hcp

How can the reviewer verify this PR?

Ensure CI does not fail

Any background context you want to provide?

snaps-hcp cannot hash with md5 and must use sha256 (or sha1) instead

Screenshots or logs (if appropriate)

Questions: