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

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

 



On Thu, May 16, 2013 at 02:07:31PM -0600, Eric Blake wrote:
> 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.

That is actually a good thing, because it demonstrates to the person
running the test suite that their version of libvirt has a bug.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
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]