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

Configure drop report frequency and fix AE endpoint #347

Closed spisarski closed 3 years ago

spisarski commented 3 years ago

What does this PR do?

Fixes #292 - Thread stop was already fixed but made the interval value configurable. While looking at Ticket 284 for validating the drop reports, I found a bug where the reports were not getting generated and the AE IP value was incorrect so that was fixed as well. Also made the changes to receive_packets.py to parse Drop Reports and log their contents.

Do you have any concerns with this PR?

Only that I wasn't able to address 284 as I wanted to make sure @akadam will have this functionality while she works on parsing the drop report

How can the reviewer verify this PR?

Play around with the SDN new -drf option to see if one can change from the default frequency of 10 seconds

Any background context you want to provide?

Screenshots or logs (if appropriate)

Questions: