Re: nftables: precondition validation fails on map construct

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

 



On 13.08, Andreas Schultz wrote:
> Hi,
> 
> As far as I can tell the following construct should be valid:
> 
> # nft add nat prerouting ip protocol {tcp, udp} snat 10.200.4.1-10.200.4.254:10240-20480
> 
> However it fails with:
> 
> <cmdline>:1:72-82: Error: transport protocol mapping is only valid after transport protocol match
> add nat prerouting ip protocol {tcp, udp} snat 10.200.4.1-10.200.4.254:10240-20480
>                                           ~~~~                         ^^^^^^^^^^^
> 
> Is this intended behaviour?

Yes, sets don't create a protocol context since we can currently only handle
a single protocol. It could be made to work, but right now it is expected
behaviour.

> 
> Andreas
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux