nft socket module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello
I have some issues with nft socket module , please find this  , I cant
get the socket functionality on nft that I was using iptables, could
you please advise

iptables-translate -t mangle -A qrms0-pre -p tcp -m socket -j MARK --or-mark 0x1
nft # -t mangle -A qrms0-pre -p tcp -m socket -j MARK --or-mark 0x1

iptables-translate -t mangle -A qrms0-pre -p icmp -m socket -j MARK
--or-mark 0x1
nft # -t mangle -A qrms0-pre -p icmp -m socket -j MARK --or-mark 0x1

uname -a
Linux localhost.localdomain 5.14.0-362.8.1.el9_3.x86_64 #1 SMP
PREEMPT_DYNAMIC Wed Nov 8 17:36:32 UTC 2023 x86_64 x86_64 x86_64
GNU/Linux

 nft -v
nftables v1.0.4 (Lester Gooch #3)

iptables-translate -v
iptables-translate v1.8.8 (nf_tables):




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux