X-Sa-Exim-Connect-Ip: 192.168.1.65 MIME-Version: 1.0 In-Reply-To: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham autolearn_force=no version=3.4.0 X-Sa-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:57:07 +0000) References: <9232b43fab87d09a59793a268fa05c7b@www.isc.org> <53A59391.5000702@ztk-rp.eu> Message-ID: <53B5B0E4.8030602@ztk-rp.eu> Content-Type: text/plain; charset=UTF-8; format=flowed X-RT-Original-Encoding: utf-8 Received: from mx.pao1.isc.org (mx.pao1.isc.org [149.20.64.53]) by bugs.isc.org (Postfix) with ESMTP id 35B342D20051 for ; Thu, 3 Jul 2014 19:38:32 +0000 (UTC) Received: from zorro.ztk-rp.eu (hax2-04.wsisiz.edu.pl [213.135.44.188]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx.pao1.isc.org (Postfix) with ESMTPS id 3BDE03493C2 for ; Thu, 3 Jul 2014 19:38:29 +0000 (UTC) (envelope-from rafal@ztk-rp.eu) Received: from porta.local ([192.168.1.65] ident=rafal) by zorro.ztk-rp.eu with esmtpsa (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1X2mok-00043A-Fz for dhcp-bugs@isc.org; Thu, 03 Jul 2014 21:37:23 +0200 Delivered-To: dhcp-bugs@bugs.isc.org X-Sa-Exim-Mail-From: rafal@ztk-rp.eu User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.0 Subject: Re: [ISC-Bugs #36283] DHCP Server 4.2.2 - Abandoning IP address ....pinged before offer Return-Path: X-Original-To: dhcp-bugs@bugs.isc.org Date: Thu, 03 Jul 2014 21:37:08 +0200 X-Sa-Exim-Scanned: Yes (on zorro.ztk-rp.eu) X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mx.pao1.isc.org To: dhcp-bugs@isc.org Content-Transfer-Encoding: 7bit From: RafaƂ Pietrak RT-Message-ID: Content-Length: 4871 W dniu 03.07.2014 19:06, Shawn Routhier via RT pisze: > On Sat Jun 21 14:17:08 2014, rafal@ztk-rp.eu wrote: >> W dniu 21.06.2014 00:24, Shawn Routhier via RT pisze: >>> Were there any other log messages about the lease? >>> >>> If your client is using a valid lease it should remember >>> that and do a renew or rebind which doesn't trigger a >>> ping check. If your client isn't using a valid lease it >>> shouldn't respond to the ping request. >>> >> If the logs are not yet recycled, I'll check that on monday. May be the >> actual sequence of msgs will tell you more. >> >> But as I remember it, the notebook did run for a while afrer rewakening >> from sllep with and old IP, then had it changed because setver did >> "abondon" the old IP. >> >> My impression is, that MAC of the notebook didn't change, so no matter >> what, the server should keep the same IP for the same MAC (if >> randomisation is not requested) e.g: "no matter what request was", and >> shold not ping at alll in such case... just to let live the "wrong >> clients", which don't know how to ask properly for renewal. The only >> concern is not to assign the same address twice, and this is ansured by >> comparing MACs. Right? > The IP could change if the server handed it out to a different client or > if the notebook changed subnets. > > I'll have to revisit the RFCs and think about this some more but it would > probably be best if the server allowed the client to use the address in > this case. > > That said this doesn't seem to be a high priority item so I'm not sure > when we will address it. > Ups. I've quite forgot to send you the logs. Here are some excerpts: ------------------------------- Jul 3 07:57:03 zorro dhcpd: DHCPDISCOVER from 0c:8b:fd:15:60:8f via eth1 Jul 3 07:57:03 zorro dhcpd: Abandoning IP address 192.168.1.95: pinged before offer Jul 3 07:57:11 zorro dhcpd: DHCPDISCOVER from 0c:8b:fd:15:60:8f via eth1 Jul 3 07:57:12 zorro dhcpd: DHCPOFFER on 192.168.1.96 to 0c:8b:fd:15:60:8f (nowszy) via eth1 Jul 3 07:57:13 zorro dhcpd: DHCPREQUEST for 192.168.1.96 (192.168.1.19) from 0c:8b:fd:15:60:8f (nowszy) via eth1 Jul 3 07:57:13 zorro dhcpd: DHCPACK on 192.168.1.96 to 0c:8b:fd:15:60:8f (nowszy) via eth1 Jul 3 15:22:16 zorro dhcpd: DHCPDISCOVER from 0c:8b:fd:15:60:8f via eth1 Jul 3 15:22:16 zorro dhcpd: Abandoning IP address 192.168.1.96: pinged before offer Jul 3 15:22:20 zorro dhcpd: DHCPDISCOVER from 0c:8b:fd:15:60:8f via eth1 Jul 3 15:22:21 zorro dhcpd: DHCPOFFER on 192.168.1.86 to 0c:8b:fd:15:60:8f (nowszy) via eth1 Jul 3 15:22:21 zorro dhcpd: DHCPREQUEST for 192.168.1.86 (192.168.1.19) from 0c:8b:fd:15:60:8f (nowszy) via eth1 Jul 3 15:22:21 zorro dhcpd: DHCPACK on 192.168.1.86 to 0c:8b:fd:15:60:8f (nowszy) via eth1 Jul 3 20:06:27 zorro dhcpd: Abandoning IP address 192.168.1.86: pinged before offer Jul 3 20:06:30 zorro dhcpd: DHCPDISCOVER from 0c:8b:fd:15:60:8f via eth1 Jul 3 20:06:31 zorro dhcpd: DHCPOFFER on 192.168.1.87 to 0c:8b:fd:15:60:8f (nowszy) via eth1 Jul 3 20:06:38 zorro dhcpd: DHCPDISCOVER from 0c:8b:fd:15:60:8f (nowszy) via eth1 Jul 3 20:06:38 zorro dhcpd: DHCPOFFER on 192.168.1.87 to 0c:8b:fd:15:60:8f (nowszy) via eth1 Jul 3 20:06:38 zorro dhcpd: DHCPREQUEST for 192.168.1.87 (192.168.1.19) from 0c:8b:fd:15:60:8f (nowszy) via eth1 Jul 3 20:06:38 zorro dhcpd: DHCPACK on 192.168.1.87 to 0c:8b:fd:15:60:8f (nowszy) via eth1 Jul 3 20:59:13 zorro dhcpd: DHCPDISCOVER from 0c:8b:fd:15:60:8f via eth1 Jul 3 20:59:13 zorro dhcpd: Abandoning IP address 192.168.1.87: pinged before offer Jul 3 20:59:18 zorro dhcpd: DHCPDISCOVER from 0c:8b:fd:15:60:8f via eth1 Jul 3 20:59:19 zorro dhcpd: DHCPOFFER on 192.168.1.88 to 0c:8b:fd:15:60:8f (nowszy) via eth1 Jul 3 20:59:19 zorro dhcpd: DHCPREQUEST for 192.168.1.88 (192.168.1.19) from 0c:8b:fd:15:60:8f (nowszy) via eth1 Jul 3 20:59:19 zorro dhcpd: DHCPACK on 192.168.1.88 to 0c:8b:fd:15:60:8f (nowszy) via eth1 ------------------------------------------------------------ As you can see: it systematically goes through the available IP space. I didn't "hurt me" recently, since lately I havent used ssh from that machine (and ordynary mail/web-browsing does not expose the problem). I understand, that you may regard it as low priority, but I would think that it indicates some "strange logic" you have in your code, although my impression is, that the actual bug (i.e. RFC none compliance) may be in my "nowszy" machine, because: 1. In my network I have a few other hosts: mobile phones, voip gw, linux desktops and notebooks, etc; a total of about 10 nodes. 2. this scenario show up only on wakeup (from sleep) of "nowszy", which is a fairly new ACER notebook running debian jessie (kernel 3.14). Again I'm sory I failed to respond right after you've asked for system-logs. Let me know if I can be of further assistance. -R