From nobody Sun Aug 22 19:01:24 2021 X-Original-To: pf@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 39CD61778950 for ; Sun, 22 Aug 2021 19:01:27 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gt4Tz1CNdz3wJD; Sun, 22 Aug 2021 19:01:27 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from venus.codepro.be (venus.codepro.be [5.9.86.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.codepro.be", Issuer "R3" (verified OK)) (Authenticated sender: kp) by smtp.freebsd.org (Postfix) with ESMTPSA id EC61046F3; Sun, 22 Aug 2021 19:01:26 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: by venus.codepro.be (Postfix, authenticated sender kp) id E1AB727917; Sun, 22 Aug 2021 21:01:24 +0200 (CEST) From: Kristof Provost To: Oleksandr Kryvulia Cc: pf@freebsd.org Subject: Re: pfctl -k id not working Date: Sun, 22 Aug 2021 21:01:24 +0200 X-Mailer: MailMate (1.14r5818) Message-ID: <903A7599-FFBD-4E7C-A4E9-2EA2F2C7B16C@FreeBSD.org> In-Reply-To: <437ea6f8-a93f-4650-1e94-c52110d328e7@shurik.kiev.ua> References: <437ea6f8-a93f-4650-1e94-c52110d328e7@shurik.kiev.ua> List-Id: Technical discussion and general questions about packet filter (pf) List-Archive: https://lists.freebsd.org/archives/freebsd-pf List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pf@freebsd.org X-BeenThere: freebsd-pf@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-ThisMailContainsUnwantedMimeParts: N On 22 Aug 2021, at 20:58, Oleksandr Kryvulia wrote: > 20.08.21 22:01, =C3=96zkan KIRIK =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >> Hi, >> >> I'm trying to kill a single state using state id. But even state exist= s, no >> (0) states are killed. >> >> I'm using FreeBSD stable/12 0f97f2a1857a (Jul 26) build. Outputs are b= elow: >> >> root@freebsd:/ # pfctl -ss -vvv | tail -5 >> all tcp 10.255.4.134:60684 -> 10.2.3.10:443 ESTABLISHED:ESTABLIS= HED >> [3857528462 + 256] wscale 7 [2278827950 + 1117184] wscale 9 >> age 1002336:42:40, expires in 252932:33:04, 250675:343858 pkts, >> 18984576:362136695 bytes, anchor 1308884992, rule 419430400 >> id: effe296100000018 creatorid: e9c975c1 gateway: 0.0.0.0 >> origif: ix0.167 >> >> root@freebsd:/ # pfctl -k id -k effe296100000018 >> killed 0 states >> >> root@freebsd:/ # pfctl -ss -vvv | tail -5 >> all tcp 10.255.4.134:60684 -> 10.2.3.10:443 ESTABLISHED:ESTABLIS= HED >> [1005467278 + 256] wscale 7 [2245470126 + 1117184] wscale 9 >> age 60966:41:04, expires in 280894:34:40, 250677:343861 pkts, >> 18984766:362137617 bytes, anchor 1308884992, rule 419430400 >> id: effe296100000018 creatorid: e9c975c1 gateway: 0.0.0.0 >> origif: ix0.167 >> >> is it possible to fix it? >> >> Regards >> > > Same on current. Thanks for the confirmation. It=E2=80=99s very likely fallout from the nv= list changes I did in that area recently. It=E2=80=99s on my list for Monday. It=E2=80=99s likely to be fairly easy= to fix. Best regards, Kristof