From owner-freebsd-pf@freebsd.org Sun Apr 9 21:00:32 2017 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 55F99D3605D for ; Sun, 9 Apr 2017 21:00:32 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 348761C1A for ; Sun, 9 Apr 2017 21:00:32 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v39L01vg010629 for ; Sun, 9 Apr 2017 21:00:32 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201704092100.v39L01vg010629@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: freebsd-pf@FreeBSD.org Subject: Problem reports for freebsd-pf@FreeBSD.org that need special attention Date: Sun, 09 Apr 2017 21:00:32 +0000 X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.23 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: Sun, 09 Apr 2017 21:00:32 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 203735 | Transparent interception of ipv6 with squid and p 1 problems total for which you should take action. From owner-freebsd-pf@freebsd.org Tue Apr 11 06:14:10 2017 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 3A122D39931 for ; Tue, 11 Apr 2017 06:14:10 +0000 (UTC) (envelope-from ozkan.kirik@gmail.com) Received: from mail-qt0-x232.google.com (mail-qt0-x232.google.com [IPv6:2607:f8b0:400d:c0d::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ED211E9C for ; Tue, 11 Apr 2017 06:14:09 +0000 (UTC) (envelope-from ozkan.kirik@gmail.com) Received: by mail-qt0-x232.google.com with SMTP id c45so81184401qtb.1 for ; Mon, 10 Apr 2017 23:14:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=38ezVn2yhgdjc9jeIakodXaFWDiF+lE2wn1oLLcijuU=; b=h41IpXBOkomjv6GoGvBVYkRqw7hBkyKECBdLdpCQN+e7OvDawv0Wfjj/COdbSDrGWD Cy9iRFm/vNsrGyMFPQoezi7BZx4pOHpzGtwWSr5sLvMIjEP9d0rtE/Gx+hbwAAa3CQ/W 1IqxSPASNf0ng7Dab8n/hzPxoPoKlzNX78uZhj1I65GBB1TcGdXbfQWai/v36dDLvbvZ RCfOU/uRNLvR0cmdNTFOnmV/mRJ1v917Ma9bDPgNGEi1dgMkeqpI6Xy1+0AUIx9ilP8M vXi+K5CEb3YhmLx7cFs4iF7E5q3O0p47epYQMcn5CDbo9SZjHgWBG8U5al/ZyU8evGyd k+ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=38ezVn2yhgdjc9jeIakodXaFWDiF+lE2wn1oLLcijuU=; b=R9uYy14U/GHaoD2eXme/LfgUKl5Ch3LE2PLQK7a68kYI27elkFRUCEVoAut5+LUYeV b53iK4VK5eY4c2j1cV0ytHYynI/vFbfeNJnEoAAJBlosUEMoZL7HwfGjm5sqjR92ALYg rVX5QFXS+gdDlXVoEArQQxnlO8jTVzDqeP46GPUicMb7n6v7YIlZm+E7KvWTBWeLBDxg JWXQD2kNZKOxLRu/mQE9S4JF5vgnx6YDPE16TEmD0hVO9fIsBCZb8ypy4ljogBq2OBcp WGNa5PdYyKu4WQUVYhIqmq2cu9mihSWu2YwJbqJXj7zdCcPWL+uRxShvVS8SctfsDvpU OtcQ== X-Gm-Message-State: AN3rC/7ycaLATeBwTFAF6EkqEFJxiuSdf79T06+Hy8Ire7oEM2lPW9IFl5VPaEjIsBj4gQMzLpcOEH3bimMHvQ== X-Received: by 10.200.51.183 with SMTP id c52mr14141219qtb.252.1491891248628; Mon, 10 Apr 2017 23:14:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.179.135 with HTTP; Mon, 10 Apr 2017 23:14:08 -0700 (PDT) From: =?UTF-8?B?w5Z6a2FuIEtJUklL?= Date: Tue, 11 Apr 2017 09:14:08 +0300 Message-ID: Subject: Kill states for one host and only for rdr rule To: freebsd-pf@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.23 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: Tue, 11 Apr 2017 06:14:10 -0000 Hello, I need to kill states from Host1 that belongs to a rdr rule. But pfctl flush all states belongs to Host1. Is it possible ? Regards From owner-freebsd-pf@freebsd.org Tue Apr 11 08:48:59 2017 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 F1FB3D375DF for ; Tue, 11 Apr 2017 08:48:59 +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 AA0951F5 for ; Tue, 11 Apr 2017 08:48:59 +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.87 (FreeBSD)) (envelope-from ) id 1cxrTk-0008gp-Ub for freebsd-pf@freebsd.org; Tue, 11 Apr 2017 11:48:48 +0300 Subject: Re: Kill states for one host and only for rdr rule To: freebsd-pf@freebsd.org References: From: Max Message-ID: <170a5d02-72d9-20f5-f929-4122db8e9ab2@als.nnov.ru> Date: Tue, 11 Apr 2017 11:48:48 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.23 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: Tue, 11 Apr 2017 08:49:00 -0000 Probably you should parse "pfctl -vvss" output to filter out state IDs and then use "pfctl -k id -k 4823e84500000003" (to kill a state with ID 4823e84500000003). 11.04.2017 9:14, Özkan KIRIK пишет: > Hello, > > I need to kill states from Host1 that belongs to a rdr rule. But pfctl > flush all states belongs to Host1. > Is it possible ? > > Regards > _______________________________________________ > freebsd-pf@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-pf > To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org" From owner-freebsd-pf@freebsd.org Tue Apr 11 09:45:15 2017 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 D0953D3997D for ; Tue, 11 Apr 2017 09:45:15 +0000 (UTC) (envelope-from ozkan.kirik@gmail.com) Received: from mail-qt0-x22d.google.com (mail-qt0-x22d.google.com [IPv6:2607:f8b0:400d:c0d::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8EBA73FD for ; Tue, 11 Apr 2017 09:45:15 +0000 (UTC) (envelope-from ozkan.kirik@gmail.com) Received: by mail-qt0-x22d.google.com with SMTP id m36so23857174qtb.0 for ; Tue, 11 Apr 2017 02:45:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=IaimAReGLOYFbVh7bVAi1sXVR+TfsmLYMlK+2OfCZK4=; b=OQyMWtlj78yAzJBhxRQjdNJb/y4EvYw+XHNRXVMCdBi5T3jKEf4I32EPjUT2qxwyAR 2rLYXeV5Uc4Ei3/GmNuqgsYBJYrSay6kT2kwAjgHhOdc1xuWrN6OIsObLvSSuCYTPSPC dfj4+CqQ6fIq5jtR45lZlsKipj2l/wH0pasXCIvFxpMYOuw/L8cNH+rRNP2kDhbFcfkk 4rt7eteNXztX9zpXNOQL8DSa7ixgOBbphrQJWrg/HYAeakyBrx4rx4SlfJ0wMCxS4/EO B4Rh/tFFUMMgYWAzqJUJXzuL9yiYTGRV9xwk+ciHr8nTbae4o8/9E3Mp5rucMWMNninw zZXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=IaimAReGLOYFbVh7bVAi1sXVR+TfsmLYMlK+2OfCZK4=; b=ENKqfhOTjONUuWyVvo8gfT+O33VI/X79cSP6A9xRHuLecdZE323tL9qtZgvm5B6lUS 6aS1a6zRCRVrEf4cVu2MEzWpb47JgeIrzcYa27jKqGVcxqfp+1CZxgJ7ItnpLTNTRFRa B1G0pRLVUGgxb8e0G5ISP+zr9QZO7RNogqDhpKu6ZNw7iDqW84T+FMivmKqg4aTDGkvz PIxmtujI9yy8hW3LqGpuCNptQr0kOGuTmoR+qRUKoGbJpKumIniRmUnSvUojlEeJMJTd N+cb7LiBNX8KDa/86aXa97+Bdqf/kSoXXfhbqK/sWZOerOinI6z1i/Qc3Jbk3zCPGaNs MZDg== X-Gm-Message-State: AN3rC/44NPDhunLsFqYj8sHZLXQ4LfzO7x+lAHdfQXc+jDDI+lpr2yJfB+BWkBrAblVoBkvTecQL0EhS1aB17A== X-Received: by 10.200.51.183 with SMTP id c52mr14723053qtb.252.1491903914258; Tue, 11 Apr 2017 02:45:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.179.135 with HTTP; Tue, 11 Apr 2017 02:45:13 -0700 (PDT) From: =?UTF-8?B?w5Z6a2FuIEtJUklL?= Date: Tue, 11 Apr 2017 12:45:13 +0300 Message-ID: Subject: pfctl -ss -a anchorName uinterruptable wait To: freebsd-pf@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.23 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: Tue, 11 Apr 2017 09:45:15 -0000 Hello, I'm trying to get states belongs to an anchor. but pfctl -ss -a anchorName command waits, Ctrl+C and Ctrl+Z doesnt work. ps ax gives D+ state. and kill -9 doesnt work. When pfctl is in D+ state, I run pfctl -d. pf becomes disabled but the process has D+ state still in same state. This is a repeatable problem. I think there is lock in kernel. Regards From owner-freebsd-pf@freebsd.org Fri Apr 14 06:24:24 2017 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 857FDD3D634 for ; Fri, 14 Apr 2017 06:24:24 +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 4ABE1F11 for ; Fri, 14 Apr 2017 06:24:20 +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.87 (FreeBSD)) (envelope-from ) id 1cyueQ-0002Ch-SO for freebsd-pf@FreeBSD.org; Fri, 14 Apr 2017 09:24:10 +0300 To: freebsd-pf@FreeBSD.org From: Max Subject: pfctl does not clear limit couters Message-ID: Date: Fri, 14 Apr 2017 09:24:10 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.23 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: Fri, 14 Apr 2017 06:24:24 -0000 "pfctl -F info" command doesn't clear limit counters (shown in "pfctl -vsi" output). I think, should be --- sys/netpfil/pf/pf_ioctl.c.orig 2017-04-14 09:10:25.171380000 +0300 +++ sys/netpfil/pf/pf_ioctl.c 2017-04-14 09:13:21.553650000 +0300 @@ -1835,16 +1835,18 @@ case DIOCCLRSTATUS: { PF_RULES_WLOCK(); for (int i = 0; i < PFRES_MAX; i++) counter_u64_zero(V_pf_status.counters[i]); for (int i = 0; i < FCNT_MAX; i++) counter_u64_zero(V_pf_status.fcounters[i]); for (int i = 0; i < SCNT_MAX; i++) counter_u64_zero(V_pf_status.scounters[i]); + for (int i = 0; i < LCNT_MAX; i++) + counter_u64_zero(V_pf_status.lcounters[i]); V_pf_status.since = time_second; if (*V_pf_status.ifname) pfi_update_status(V_pf_status.ifname, NULL); PF_RULES_WUNLOCK(); break; } case DIOCNATLOOK: { From owner-freebsd-pf@freebsd.org Fri Apr 14 08:07:21 2017 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 A9A01D3C03E for ; Fri, 14 Apr 2017 08:07:21 +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 6B2281199 for ; Fri, 14 Apr 2017 08:07:20 +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.87 (FreeBSD)) (envelope-from ) id 1cywGC-00075m-Ot for freebsd-pf@freebsd.org; Fri, 14 Apr 2017 11:07:16 +0300 Subject: Re: pfctl -ss -a anchorName uinterruptable wait To: freebsd-pf@freebsd.org References: From: Max Message-ID: <88ec7695-e4c2-d4d0-d4aa-25733bd00c71@als.nnov.ru> Date: Fri, 14 Apr 2017 11:07:16 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.23 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: Fri, 14 Apr 2017 08:07:21 -0000 After a quick look it seems that "show states" doesn't care about anchors (-a option). "pfctl -vss" should print anchor reference. Can you post a sample ruleset and FreeBSD version? 11.04.2017 12:45, Özkan KIRIK пишет: > Hello, > > I'm trying to get states belongs to an anchor. > but pfctl -ss -a anchorName command waits, Ctrl+C and Ctrl+Z doesnt work. > ps ax gives D+ state. and kill -9 doesnt work. > > When pfctl is in D+ state, I run pfctl -d. pf becomes disabled but the > process has D+ state still in same state. > > This is a repeatable problem. I think there is lock in kernel. > > Regards > _______________________________________________ > freebsd-pf@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-pf > To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org" From owner-freebsd-pf@freebsd.org Fri Apr 14 10:38:35 2017 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 A7DB6D3C84B for ; Fri, 14 Apr 2017 10:38:35 +0000 (UTC) (envelope-from srs0=jjiy=3w=sigsegv.be=kristof@codepro.be) Received: from venus.codepro.be (venus.codepro.be [IPv6:2a01:4f8:162:1127::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.codepro.be", Issuer "Gandi Standard SSL CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 728B23F8 for ; Fri, 14 Apr 2017 10:38:35 +0000 (UTC) (envelope-from srs0=jjiy=3w=sigsegv.be=kristof@codepro.be) Received: from [172.16.5.2] (vega.codepro.be [IPv6:2a01:4f8:162:1127::3]) (Authenticated sender: kp) by venus.codepro.be (Postfix) with ESMTPSA id 4F10A7BC8; Fri, 14 Apr 2017 12:38:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sigsegv.be; s=mail; t=1492166312; bh=ZDg2l+5A9hDDiS7pBLdH0omNqrpJMF4PQTjH0BGZpTE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=GJ8jN0fdXYhR4WbchfHvIrbOT81LzAoqF6AyVaXOU4TUTCrVzmAuscBSqiEGfTTC5 fnd9MroM5ZrkfcuCRe2RoE8V7jN8KlZb+4Y5pOyD6GA+7T3gnT/CU57fjdP4zYLIlC La0qhqH/6PAe8aNYBVFxpuJfSmunANb9XybagJ70= From: "Kristof Provost" To: Max Cc: freebsd-pf@FreeBSD.org Subject: Re: pfctl does not clear limit couters Date: Fri, 14 Apr 2017 12:38:31 +0200 Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Mailer: MailMate (2.0BETAr6082) X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.23 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: Fri, 14 Apr 2017 10:38:35 -0000 On 14 Apr 2017, at 8:24, Max wrote: > "pfctl -F info" command doesn't clear limit counters (shown in "pfctl > -vsi" output). > > I think, should be > --- sys/netpfil/pf/pf_ioctl.c.orig 2017-04-14 09:10:25.171380000 > +0300 > +++ sys/netpfil/pf/pf_ioctl.c 2017-04-14 09:13:21.553650000 +0300 > @@ -1835,16 +1835,18 @@ > case DIOCCLRSTATUS: { > PF_RULES_WLOCK(); > for (int i = 0; i < PFRES_MAX; i++) > counter_u64_zero(V_pf_status.counters[i]); > for (int i = 0; i < FCNT_MAX; i++) > counter_u64_zero(V_pf_status.fcounters[i]); > for (int i = 0; i < SCNT_MAX; i++) > counter_u64_zero(V_pf_status.scounters[i]); > + for (int i = 0; i < LCNT_MAX; i++) > + counter_u64_zero(V_pf_status.lcounters[i]); > V_pf_status.since = time_second; > if (*V_pf_status.ifname) > pfi_update_status(V_pf_status.ifname, NULL); > PF_RULES_WUNLOCK(); > break; > } > > case DIOCNATLOOK: { > This looks reasonable, but interestingly OpenBSD also don’t clear lcounters. I’ll dig into it a bit more in the next few days. Regards, Kristof