logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

xt - tc iptables action

Description

       The  xt  action  allows to call arbitrary iptables targets for packets matching the filter this action is
       attached to.

Examples

       The following will attach a u32 filter to the ingress qdisc matching ICMP replies and using the xt action
       to make the kernel yell 'PONG' each time:

              tc qdisc add dev eth0 ingress
              tc filter add dev eth0 parent ffff: proto ip u32 \
                   match ip protocol 1 0xff \
                   match ip icmp_type 0 0xff \
                   action xt -j LOG --log-prefix PONG

Name

       xt - tc iptables action

Options

-jTARGET [ TARGET_OPTS ]
              Perform a jump to the given iptables target, optionally passing any  target  specific  options  in
              TARGET_OPTS.

See Also

tc(8), tc-u32(8), iptables-extensions(8)

iproute2                                           3 Mar 2016                           iptablesactionintc(8)

Synopsis

tc ... actionxt-jTARGET [ TARGET_OPTS ]

See Also