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

Simple ae listen and act on drop reports #367

Closed spisarski closed 3 years ago

spisarski commented 3 years ago

What does this PR do?

Fixes #351 Adds the ability for the SimpleAE to ingest drop reports and enable it to tell the controller when the attack has ceased.

Do you have any concerns with this PR?

no

How can the reviewer verify this PR?

ensure CI passes

Any background context you want to provide?

With drop reports being properly created, we need to ensure we can act on these packets. The rules for the SimpleAE are rudimentary. When the pre-configured number of drop reports (default 3) are received without any other packets from the device to a given destination, a DELETE RESTful call is made to the same endpoint the POST was made with the same arguments.

Screenshots or logs (if appropriate)

Questions:

spisarski commented 3 years ago

Run Tofino lab trial build