Re: [PATCH v2] [TCK] nwfilter: probe for inverted ctdir

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

 



On 05/16/2013 10:02 AM, Stefan Berger wrote:
> Linux netfilter at some point inverted the meaning of the '--ctdir reply'
> and newer netfilter implementations now expect '--ctdir original'
> instead and vice-versa.
> We probe for this netfilter change via an IMCP message over loopback and 3
> filtering rules applied to INPUT. If the sent byte arrives, the newer
> netfilter implementation has been detected and we convert the strings
> in the iptables output to now match that inversion implemented by libvirt.
> 
> The downside of this is that probing of libvirt and this test tool are
> independent and this test tool will only work correctly for all cases
> if used with libvirt probing for 'ctdir inversion' as well.

Such is life - running newer TCK against older libvirt will thus
potentially expose the bugs in that older libvirt, unless it is also on
the older kernel.

> 
> 
> Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxxxxxxxxxx>
> 
> ---
>  scripts/nwfilter/nwfilter2vmtest.sh |   23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]