Re: [nftables v0.9.2] hoplimit mutually exclusive with with saddr/daddr?

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

 



On 02/02/2020 17:13, ѽ҉ᶬḳ℠ wrote:
Trying to implement in the ip6 filter table / chain input:

iif eth2 ip6 hoplimit 1 saddr fc00::/6 udp sport 547 ip6 daddr fc00::/6 udp dport 546 accept;

However, that throws

Error: syntax error, unexpected saddr, expecting newline or semicolon

Is this expected since hoplimit being pertinent to the header whilst saddr/daddr are not?


Well, apparently a syntax error - having misses on ip6...

iif eth2 ip6 hoplimit 1 ip6 saddr fc00::/6 udp sport 547 ip6 daddr fc00::/6 udp dport 546 accept;

then works.





[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