slp-service-scope

Glenn Satchell glenn.satchell at uniq.com.au
Tue Mar 9 09:26:56 UTC 2010


On 03/09/10 16:41, Ray DeJean wrote:
> All,
>
> Testing out dhcp 4.1.1 on CentOS 5.4.  Freshly compiled dhcpd.  It
> appears using "option slp-service-scope" in a subnet declaration throws
> dhcpd into an infinite loop (100% cpu) and the server never actually starts.
>
> Below is a simple dhcpd.conf to test with.  Can anyone confirm this
> behavior?
>
>
> subnet 192.168.128.0 netmask 255.255.255.0 {
>          option routers                  192.168.128.1;
>          option subnet-mask              255.255.255.0;
>          option domain-name "selu.edu <http://selu.edu>";
>          option domain-name-servers      192.168.1.4, 192.168.1.5;
>          option time-offset              -6;     # Central Standard Time
>          option slp-directory-agent true 192.168.1.10, 192.168.1.23;
>          option slp-service-scope true myscope;
>          range 192.168.128.10 192.168.128.254;
>          default-lease-time 18000;
>          max-lease-time 43200;
> }
>
>
> ray
> --
> Ray DeJean
> Systems Engineer
> Southeastern Louisiana University
> email: ray at selu.edu <mailto:ray at selu.edu>
> http://r-a-y.org
>
>
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users

I think you needs quotes around "myscope" - the dhcp-options man page 
defines this option as:

      option slp-service-scope boolean text;

then a bit further back it says:

      The text data type specifies an NVT ASCII string, which must
      be  enclosed  in  double  quotes

So I think it should be

     option slp-service-scope true "myscope";

but perhaps still a bug if incorrectly parsing it causes a cpu bound loop.

-- 
regards,
-glenn



More information about the dhcp-users mailing list