/usr/sbin/nft monitor trace ether type missing

Bug #1961401 reported by Bernhard Riegler
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nftables (Ubuntu)
New
Undecided
Unassigned

Bug Description

# nft config as bash HERE document

DEV_WLAN='wlo1'
SET_AP_MAC="{$AP_MAC,$AP1_5_MAC,$AP2_2_MAC}"
TYPE_8021x='0x888E' # WLAN 802.1x login authentication (association)

FAMILY='netdev'
TABLE='T_ND' # netdev
CHAIN='CH_ETHER' # 1000BaseT is the root chain
CHAIN2='CH_WLAN' # WLAN input is the root chain
NFT='/usr/sbin/nft' # CLI program abs_path
TRACE='meta nftrace set 1'

###############################################################################
### HERE document: input file for $NFT (atomic firewall action) ###############
### -s ... stateless
### -f ... file input
###############################################################################
$NFT -s -f - <<END_OF_FIREWALL

...
add chain $FAMILY $TABLE $CHAIN2 \
      {type filter hook ingress device $DEV_WLAN priority -500; policy drop;}

...
### 802.1x type 0x888E authentication, association
add rule $FAMILY $TABLE $CHAIN2 \
      ether saddr $SET_AP_MAC \
      ether type $TYPE_8021x $TRACE goto _Accept_

...
END_OF_FIREWALL

output from "/usr/sbin/nft monitor trace"
trace id 807e1b9f netdev T_ND CH_WLAN packet: iif "wlo1" ether saddr 9c:c9:eb:4d:ff:dd ether daddr 08:11:96:26:d7:88 @nh,0,320 8441524335526997765844483319805146990784313976429188050976212111078062133864734815165021630641
trace id 807e1b9f netdev T_ND CH_WLAN rule ether saddr { 9c:c9:eb:4d:ff:dd, 9e:c9:eb:6d:ff:dc, c4:ea:1d:15:19:e7 } ether type 0x888e meta nftrace set 1 goto _Accept_ (verdict goto _Accept_)
trace id 807e1b9f netdev T_ND _Accept_ rule meta length <= 1500 counter name "size_1500_NORMAL" counter name "_Accept_" accept (verdict accept)

what I want to see: (add ether type and all DATA in HEX presentation)
trace id 807e1b9f netdev T_ND CH_WLAN packet: iif "wlo1" ether saddr 9c:c9:eb:4d:ff:dd ether daddr 08:11:96:26:d7:88 ether type 0x888E @nh,0x0,0x140 0x..........................

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.