[libvirt] 3 patches to solve bug 524280

Daniel Veillard veillard at redhat.com
Tue Oct 13 14:10:04 UTC 2009


  Basically dnsmasq limits itself by default to 150 leases maximum.
Which means we may inflict an arbitrary limit in the number of domains
running on a given host
   https://bugzilla.redhat.com/show_bug.cgi?id=524280

The patches do 3 things:
  - first introduce IPv4 and IPv6 parsing routines, generally useful
    this could be used to double check input in other places too
  - then when a DHCP range is defined use those routines to parse
    the start and end, do some cheking and keep the range size in the
    structure
  - last when exec'ing dnsmasq compute the sum of all dhcp ranges
    and pass the max lease option

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list