CPC H04L 47/125 (2013.01) [H04L 45/38 (2013.01); H04L 45/74 (2013.01); H04L 47/2441 (2013.01); H04L 47/33 (2013.01)] | 20 Claims |
1. A computer-implemented method, comprising:
receiving, by an accelerator of a smart network interface card (SmartNIC), a packet that is intended for forwarding by the smart network interface card to another device;
determining, by the accelerator, that the packet is a candidate for rejection based at least in part on the packet not being associated with an authorized flow, the accelerator being configured to log traffic to a unified log for authorized flows that are forwarded by the accelerator;
transmitting, by the accelerator, the packet to a programming data plane of the smart network interface card;
determining, by the programming data plane, whether the packet should be forwarded; and
in accordance with a determination that the packet should not be forwarded:
modifying, by the programming data plane, the packet to include an instruction that instructs the accelerator to log the packet and to not forward the packet;
transmitting, by the programming data plane, the modified packet to the accelerator; and
logging, by the accelerator, data associated with the modified packet to the unified log based at least in part on the instruction.
|