XTABLES-MONITOR(8) iptables 1.8.11 XTABLES-MONITOR(8) (NAME) xtables-monitor - iptables/nftables (SYNOPSIS) xtables-monitor [-t] [-e] [-4|-6] (DESCRIPTION) xtables-monitor TRACE . xtables-monitor ( CTRL-C) . (OPTIONS) -e, --event . . -t, --trace (trace) TRACE . -4 IPv4. -6 IPv6. (EXAMPLES) xtables-monitor --trace 1 TRACE: 2 fc475095 raw:PREROUTING:rule:0x3:CONTINUE -4 -t raw -A PREROUTING -p icmp -j TRACE 2 PACKET: 0 fc475095 IN=lo LL=0x304 0000000000000000000000000800 SRC=127.0.0.1 DST=127.0.0.1 LEN=84 TOS=0x0 TTL=64 ID=38349DF 3 TRACE: 2 fc475095 raw:PREROUTING:return: 4 TRACE: 2 fc475095 raw:PREROUTING:policy:ACCEPT 5 TRACE: 2 fc475095 filter:INPUT:return: 6 TRACE: 2 fc475095 filter:INPUT:policy:DROP 7 TRACE: 2 0df9d3d8 raw:PREROUTING:rule:0x3:CONTINUE -4 -t raw -A PREROUTING -p icmp -j TRACE . ( AF_INET) . . TRACE . (dump) . . PREROUTING raw (chain policy) (accept/drop) ( ). INPUT filter INPUT filter . INPUT (DROPPED) . - . TRACE : iptables -t raw -A PREROUTING -p tcp --dport 80 --syn -m limit --limit 1/s -j TRACE xtables-monitor --event 1 EVENT: nft: NEW table: table filter ip flags 0 use 4 handle 444 2 EVENT: # nft: ip filter INPUT use 2 type filter hook input prio 0 policy drop packets 0 bytes 0 3 EVENT: # nft: ip filter FORWARD use 0 type filter hook forward prio 0 policy accept packets 0 bytes 0 4 EVENT: # nft: ip filter OUTPUT use 0 type filter hook output prio 0 policy accept packets 0 bytes 0 5 EVENT: -4 -t filter -N TCP 6 EVENT: -4 -t filter -A TCP -s 192.168.0.0/16 -p tcp -m tcp --dport 22 -j ACCEPT 7 EVENT: -4 -t filter -A TCP -p tcp -m multiport --dports 80,443 -j ACCEPT 8 EVENT: -4 -t filter -A INPUT -p tcp -j TCP 9 EVENT: -4 -t filter -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT 10 NEWGEN: GENID=13904 PID=25167 NAME=iptables-nftables-restore . ( filter) (hook) INPUT FORWARD OUTPUT . iptables-nftables iptables-nftables-restore . (TCP) . . . (LIMITATIONS) xtables-monitor iptables-nftables iptables-legacy . (BUGS) netfilter-devel@vger.kernel.org https://bugzilla.netfilter.org . (SEE ALSO) iptables(8), xtables(8), nft(8) iptables 1.8.11 XTABLES-MONITOR(8)