[libvirt] [PATCH] nwfilter: Use -m conntrack rather than -m state

Stefan Berger stefanb at linux.vnet.ibm.com
Tue Aug 6 19:53:59 UTC 2013


On 08/06/2013 11:20 AM, John Ferlan wrote:
> On 08/06/2013 09:52 AM, Stefan Berger wrote:
>> Since iptables version 1.4.16 '-m state --state NEW' is converted to
>> '-m conntrack --ctstate NEW'. Therefore, when encountering this or later
>> versions of iptables use '-m conntrack --ctstate'.

Forgot to mention that the reason for this patch is also to address the 
case where '-m state' was not supported by iptables at all anymore. I am 
not saying it will happen but one now gets a warning.

   Stefan




More information about the libvir-list mailing list