Re: nft socket module

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

 



Sreedhar M <sreemtech@xxxxxxxxx> wrote:
> 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

Translation was missing.

Try:
nft 'add rule ip mangle qrms0-pre ip protocol tcp socket wildcard 0 counter meta mark set mark or 0x1'




[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