Re: [libvirt PATCHv4 0/2] DHCP Snooping support for libvirt

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

 



Stefan,
        Thanks for reviewing.

Stefan Berger <stefanb@xxxxxxxxxxxxxxxxxx> wrote on 10/25/2011 04:59:16 
AM:

> I hope that this code will be able to support multiple IP addresses once 

> my patches have gone in.

        I labelled in the code with comments the places that need to be
revised (3, I believe) for multiple address support.  I added one check to 
ignore
an additional address when you already have one for an interface. The 
other
depends on the form of multiple address support. If it is a mechanism
that changes variable values (either add or remove) in place in the 
filters,
it'll be reverting to code similar to my first post. If it uses something
like virNWFilterInstantiateFilterLate(), my main concern is making sure
there isn't a window while deleting or adding an address that rebuilds the
entire filter where either no packets or spoofed packets would be allowed.
Both cases would need to remove the DHCP-only rule installation in delete,
since removing one of multiple addresses shouldn't remove the other 
address(es)'s
filters.
        The internal snooping code supports multiple addresses per 
interface as
before. It assumes 1-interface==1-network as before, so your comments 
about
VLANs and the leasefile also require a visit, but don't apply without 
multiple
address support in the rest of nwfilter. Tracking and saving the VLAN ID 
or saving and matching the DHCP client ID should do that.
 
 +-DLS

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