[nftables] granular rule for combined tcp & udp sports?

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

 



I am trying to get a granular logging rule going, combining tcp and udp sports for ip6 saddr but somehow failing:


tcp sport != { 80, 443, 993, 5228 } udp sport != 19302 ip6 saddr @g_6 log flags all prefix "G_C :" continue

-> Error: conflicting protocols specified: tcp vs. udp



ip6 saddr @g_6 tcp sport != { 80, 443, 993, 5228 } | udp sport != 19302 log flags all prefix "G_C :" continue;

-> Error: syntax error, unexpected '|', expecting newline or semicolon





[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