CmdID

CmdID / Commands

xdp-filter

Load and manage an eBPF XDP packet filter. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Load and manage an eBPF XDP packet filter. Part of the xdp-tools collection.

Load the filter on an interface in skb (generic) mode with default allow policy

sudo xdp-filter load --policy allow --mode skb network_interfaceIdentify

Unload the filter from an interface

sudo xdp-filter unload network_interfaceIdentify

Deny traffic to a specific destination port

sudo xdp-filter port destination_portIdentify

Deny traffic from a specific source IP address

sudo xdp-filter ip --mode src source_ipIdentify

Deny traffic from a specific source MAC address

sudo xdp-filter ether --mode src mac_addressIdentify

Poll packets and show statistics every 10000 milliseconds

sudo xdp-filter poll --interval 10000Identify