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
34 stars 4 forks source link

Fix packet length fields with aggregate_tna.p4 #240

Closed spisarski closed 4 years ago

spisarski commented 4 years ago

The mininet examples use mathematical operators to determine the length fields but this is not possible in Tofino and a new pattern needs to emerge. (i.e. creating a table that stores values perhaps)

spisarski commented 4 years ago

Trying to address in aggregate_tna.p4 (see #245) for fixing the data-inspection TCP tests as it appears that one of the length fields in question is breaking how receive_packets.py is parsing the headers.

spisarski commented 4 years ago

Addressing #245 may only fix aggregate_tna.p4 but not core_tna.p4

spisarski commented 4 years ago

This has been addressed in an earlier PR