[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    [PATCH] udhcpd: do not hand out an address that is reserved for another machine
From:       "Ramsay, Lincoln" <Lincoln.Ramsay () digi ! com>
Date:       2021-02-09 6:34:13
Message-ID: CY4PR1001MB231199964C5D7BF88ADD0AD1E88E9 () CY4PR1001MB2311 ! namprd10 ! prod ! outlook ! com
[Download RAW message or body]

If a client sends a DHCP DISCOVER with a DHCP_REQUESTED_IP that is a
static lease for another machine, do not allow it.

Signed-off-by: Lincoln Ramsay <lincoln.ramsay@opengear.com>
---

I sent this patch back in December but didn't see any replies. I'm sending it again \
just in case it was missed due to the holidays :)

If a machine sends a DHCPDISCOVER with DHCP_REQUESTED_IP, the server should only \
allow it if it falls in the valid range, if it is not already leased out, or if it \
has not been reserved for another machine (via static reservation).

However, udhcpd skips this last check, which allows a misbehaving client to steal a \
machine's statically-allocated address.

We discovered this by changing a static reservation, only to find that the address \
was being used by the wrong machine because udhcpd was allowing it to steal the \
address.

The patch here will cause the server to ignore the DHCP_REQUESTED_IP in the event \
that it is a static lease for another machine. The server will fall back to the \
available pool of addresses as if the DHCP_REQUESTED_IP was not included.


 networking/udhcp/dhcpd.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/networking/udhcp/dhcpd.c b/networking/udhcp/dhcpd.c
index 9d66049..20c3956 100644
--- a/networking/udhcp/dhcpd.c
+++ b/networking/udhcp/dhcpd.c
@@ -743,6 +743,8 @@ static NOINLINE void send_offer(struct dhcp_packet *oldpacket,
                 /* and the IP is in the lease range */
                 && ntohl(requested_nip) >= server_data.start_ip
                 && ntohl(requested_nip) <= server_data.end_ip
+                /* and the IP does not belong to a static lease for a different \
machine */ +                && !is_nip_reserved_as_static(requested_nip)
                 /* and */
                 && (  !(lease = find_lease_by_nip(requested_nip)) /* is not already \
                taken */
                    || is_expired_lease(lease) /* or is taken, but expired */
--
2.17.1


[Attachment #3 (text/html)]

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} \
</style> </head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0);"> <span style="color:rgb(32, 31, 30);font-family:&quot;Segoe \
UI&quot;, &quot;Segoe UI Web (West European)&quot;, &quot;Segoe UI&quot;, \
-apple-system, BlinkMacSystemFont, Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline \
!important">If  a client sends a DHCP DISCOVER with a DHCP_REQUESTED_IP that is \
a</span><br> <span style="color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, \
&quot;Segoe UI Web (West European)&quot;, &quot;Segoe UI&quot;, -apple-system, \
BlinkMacSystemFont, Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline \
!important">static  lease for another machine, do not allow it.</span><br \
style="text-shadow:transparent 0px 0px 0px, rgba(0, 0, 0, 0.68) 0px 0px 0px \
!important;color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <br \
style="text-shadow:transparent 0px 0px 0px, rgba(0, 0, 0, 0.68) 0px 0px 0px \
!important;color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <span \
style="color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline \
!important">Signed-off-by:  Lincoln Ramsay \
&lt;lincoln.ramsay@opengear.com&gt;</span><br style="text-shadow:transparent 0px 0px \
0px, rgba(0, 0, 0, 0.68) 0px 0px 0px !important;color:rgb(32, 31, \
30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web (West European)&quot;, \
&quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, Roboto, &quot;Helvetica \
Neue&quot;, sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> \
<span style="color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI \
Web (West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline \
!important">---</span><br style="text-shadow:transparent 0px 0px 0px, rgba(0, 0, 0, \
0.68) 0px 0px 0px !important;color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, \
&quot;Segoe UI Web (West European)&quot;, &quot;Segoe UI&quot;, -apple-system, \
BlinkMacSystemFont, Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <br \
style="text-shadow:transparent 0px 0px 0px, rgba(0, 0, 0, 0.68) 0px 0px 0px \
!important;color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <span \
style="color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline \
!important">I  sent this patch back in December but didn't see any replies. I'm \
sending it again just in case it was missed due to the holidays :)</span><br \
style="text-shadow:transparent 0px 0px 0px, rgba(0, 0, 0, 0.68) 0px 0px 0px \
!important;color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <br \
style="text-shadow:transparent 0px 0px 0px, rgba(0, 0, 0, 0.68) 0px 0px 0px \
!important;color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <span \
style="color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline \
!important">If  a machine sends a DHCPDISCOVER with DHCP_REQUESTED_IP, the server \
should only allow it if it falls in the valid range, if it is not already leased out, \
or if it has not been reserved for another machine (via static \
reservation).</span><br style="text-shadow:transparent 0px 0px 0px, rgba(0, 0, 0, \
0.68) 0px 0px 0px !important;color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, \
&quot;Segoe UI Web (West European)&quot;, &quot;Segoe UI&quot;, -apple-system, \
BlinkMacSystemFont, Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <br \
style="text-shadow:transparent 0px 0px 0px, rgba(0, 0, 0, 0.68) 0px 0px 0px \
!important;color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <span \
style="color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline \
!important">However,  udhcpd skips this last check, which allows a misbehaving client \
to steal a machine's statically-allocated address.</span><br \
style="text-shadow:transparent 0px 0px 0px, rgba(0, 0, 0, 0.68) 0px 0px 0px \
!important;color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <br \
style="text-shadow:transparent 0px 0px 0px, rgba(0, 0, 0, 0.68) 0px 0px 0px \
!important;color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <span \
style="color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline \
!important">We  discovered this by changing a static reservation, only to find that \
the address was being used by the wrong machine because udhcpd was allowing it to \
steal the address.</span><br style="text-shadow:transparent 0px 0px 0px, rgba(0, 0, \
0, 0.68) 0px 0px 0px !important;color:rgb(32, 31, 30);font-family:&quot;Segoe \
UI&quot;, &quot;Segoe UI Web (West European)&quot;, &quot;Segoe UI&quot;, \
-apple-system, BlinkMacSystemFont, Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <br \
style="text-shadow:transparent 0px 0px 0px, rgba(0, 0, 0, 0.68) 0px 0px 0px \
!important;color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <span \
style="color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline \
!important">The  patch here will cause the server to ignore the DHCP_REQUESTED_IP in \
the event that it is a static lease for another machine. The server will fall back to \
the available pool of addresses as if the DHCP_REQUESTED_IP was not \
included.</span><br style="text-shadow:transparent 0px 0px 0px, rgba(0, 0, 0, 0.68) \
0px 0px 0px !important;color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, \
&quot;Segoe UI Web (West European)&quot;, &quot;Segoe UI&quot;, -apple-system, \
BlinkMacSystemFont, Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <br \
style="text-shadow:transparent 0px 0px 0px, rgba(0, 0, 0, 0.68) 0px 0px 0px \
!important;color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <br \
style="text-shadow:transparent 0px 0px 0px, rgba(0, 0, 0, 0.68) 0px 0px 0px \
!important;color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <span \
style="color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline \
!important">&nbsp;networking/udhcp/dhcpd.c  | 2 ++</span><br \
style="text-shadow:transparent 0px 0px 0px, rgba(0, 0, 0, 0.68) 0px 0px 0px \
!important;color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <span \
style="color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline \
!important">&nbsp;1  file changed, 2 insertions(+)</span><br \
style="text-shadow:transparent 0px 0px 0px, rgba(0, 0, 0, 0.68) 0px 0px 0px \
!important;color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <br \
style="text-shadow:transparent 0px 0px 0px, rgba(0, 0, 0, 0.68) 0px 0px 0px \
!important;color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <span \
style="color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline \
                !important">diff
 --git a/networking/udhcp/dhcpd.c b/networking/udhcp/dhcpd.c</span><br \
style="text-shadow:transparent 0px 0px 0px, rgba(0, 0, 0, 0.68) 0px 0px 0px \
!important;color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <span \
style="color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline \
!important">index  9d66049..20c3956 100644</span><br style="text-shadow:transparent \
0px 0px 0px, rgba(0, 0, 0, 0.68) 0px 0px 0px !important;color:rgb(32, 31, \
30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web (West European)&quot;, \
&quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, Roboto, &quot;Helvetica \
Neue&quot;, sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> \
<span style="color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI \
Web (West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline \
!important">---  a/networking/udhcp/dhcpd.c</span><br style="text-shadow:transparent \
0px 0px 0px, rgba(0, 0, 0, 0.68) 0px 0px 0px !important;color:rgb(32, 31, \
30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web (West European)&quot;, \
&quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, Roboto, &quot;Helvetica \
Neue&quot;, sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> \
<span style="color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI \
Web (West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline \
!important">+++  b/networking/udhcp/dhcpd.c</span><br style="text-shadow:transparent \
0px 0px 0px, rgba(0, 0, 0, 0.68) 0px 0px 0px !important;color:rgb(32, 31, \
30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web (West European)&quot;, \
&quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, Roboto, &quot;Helvetica \
Neue&quot;, sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> \
<span style="color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI \
Web (West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline \
                !important">@@
 -743,6 +743,8 @@ static NOINLINE void send_offer(struct dhcp_packet \
*oldpacket,</span><br style="text-shadow:transparent 0px 0px 0px, rgba(0, 0, 0, 0.68) \
0px 0px 0px !important;color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, \
&quot;Segoe UI Web (West European)&quot;, &quot;Segoe UI&quot;, -apple-system, \
BlinkMacSystemFont, Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <span \
style="color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline \
!important">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  /* and the IP is in the lease range */</span><br style="text-shadow:transparent 0px \
0px 0px, rgba(0, 0, 0, 0.68) 0px 0px 0px !important;color:rgb(32, 31, \
30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web (West European)&quot;, \
&quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, Roboto, &quot;Helvetica \
Neue&quot;, sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> \
<span style="color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI \
Web (West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline \
!important">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  &amp;&amp; ntohl(requested_nip) &gt;= server_data.start_ip</span><br \
style="text-shadow:transparent 0px 0px 0px, rgba(0, 0, 0, 0.68) 0px 0px 0px \
!important;color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <span \
style="color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline \
!important">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  &amp;&amp; ntohl(requested_nip) &lt;= server_data.end_ip</span><br \
style="text-shadow:transparent 0px 0px 0px, rgba(0, 0, 0, 0.68) 0px 0px 0px \
!important;color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <span \
style="color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline \
!important">+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  /* and the IP does not belong to a static lease for a different machine \
*/</span><br style="text-shadow:transparent 0px 0px 0px, rgba(0, 0, 0, 0.68) 0px 0px \
0px !important;color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI \
Web (West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <span \
style="color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline \
!important">+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  &amp;&amp; !is_nip_reserved_as_static(requested_nip)</span><br \
style="text-shadow:transparent 0px 0px 0px, rgba(0, 0, 0, 0.68) 0px 0px 0px \
!important;color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <span \
style="color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline \
!important">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  /* and */</span><br style="text-shadow:transparent 0px 0px 0px, rgba(0, 0, 0, 0.68) \
0px 0px 0px !important;color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, \
&quot;Segoe UI Web (West European)&quot;, &quot;Segoe UI&quot;, -apple-system, \
BlinkMacSystemFont, Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <span \
style="color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline \
!important">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  &amp;&amp; ( &nbsp;!(lease = find_lease_by_nip(requested_nip)) /* is not already \
taken */</span><br style="text-shadow:transparent 0px 0px 0px, rgba(0, 0, 0, 0.68) \
0px 0px 0px !important;color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, \
&quot;Segoe UI Web (West European)&quot;, &quot;Segoe UI&quot;, -apple-system, \
BlinkMacSystemFont, Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <span \
style="color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline \
!important">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  &nbsp; &nbsp;|| is_expired_lease(lease) /* or is taken, but expired */</span><br \
style="text-shadow:transparent 0px 0px 0px, rgba(0, 0, 0, 0.68) 0px 0px 0px \
!important;color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <span \
style="color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline \
!important">--</span><br style="text-shadow:transparent 0px 0px 0px, rgba(0, 0, 0, \
0.68) 0px 0px 0px !important;color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, \
&quot;Segoe UI Web (West European)&quot;, &quot;Segoe UI&quot;, -apple-system, \
BlinkMacSystemFont, Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255)"> <span \
style="color:rgb(32, 31, 30);font-family:&quot;Segoe UI&quot;, &quot;Segoe UI Web \
(West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, \
Roboto, &quot;Helvetica Neue&quot;, \
sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline \
!important">2.17.1</span><br> </div>
</body>
</html>



_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

--===============6610398372869588950==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic