From owner-freebsd-pf@freebsd.org Thu May 19 19:50:54 2016 Return-Path: Delivered-To: freebsd-pf@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 907A3B3FD27 for ; Thu, 19 May 2016 19:50:54 +0000 (UTC) (envelope-from maximos@als.nnov.ru) Received: from mx.als.nnov.ru (mx.als.nnov.ru [95.79.102.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4510312FE for ; Thu, 19 May 2016 19:50:53 +0000 (UTC) (envelope-from maximos@als.nnov.ru) Received: from [10.4.1.100] by mx.als.nnov.ru with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86_2 (FreeBSD)) (envelope-from ) id 1b3Txv-000Mi4-MD for freebsd-pf@freebsd.org; Thu, 19 May 2016 22:50:39 +0300 Subject: Re: fragments processing To: freebsd-pf@freebsd.org References: <93ccf602-31d6-fe36-4ccc-96ab1a1e2cc1@als.nnov.ru> From: Max Message-ID: <9e8a524a-3775-8c4b-d125-55595bbdcd83@als.nnov.ru> Date: Thu, 19 May 2016 22:50:39 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <93ccf602-31d6-fe36-4ccc-96ab1a1e2cc1@als.nnov.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2016 19:50:54 -0000 The value of "time_second" is a number of seconds since 1970, if I understand correctly. It means that then condition "if (frag->fr_timeout > expire)" in pf_purge_expired_fragments() should always evaluated to "true" and hence there is no expiring happens. The problem exists since 10.2.