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

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

        Thanks for reviewing.

Stefan Berger <stefanb linux vnet ibm com> wrote on 10/25/2011 04:59:16 

> 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 
an additional address when you already have one for an interface. The 
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 
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 
        The internal snooping code supports multiple addresses per 
interface as
before. It assumes 1-interface==1-network as before, so your comments 
VLANs and the leasefile also require a visit, but don't apply without 
address support in the rest of nwfilter. Tracking and saving the VLAN ID 
or saving and matching the DHCP client ID should do that.

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