Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Aug 2021 22:01:41 +0300
From:      =?UTF-8?B?w5Z6a2FuIEtJUklL?= <ozkan.kirik@gmail.com>
To:        freebsd-pf@freebsd.org
Subject:   pfctl -k id not working
Message-ID:  <CAAcX-AE--sff1Quqy57Ux4GwA2Lr%2BPM6Rt6b7Z-OvZbtYASn=w@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--000000000000df711505ca024c45
Content-Type: text/plain; charset="UTF-8"

Hi,

I'm trying to kill a single state using state id. But even state exists, no
(0) states are killed.

I'm using FreeBSD stable/12 0f97f2a1857a (Jul 26) build. Outputs are below:

root@freebsd:/ # pfctl -ss -vvv | tail -5
all tcp 10.255.4.134:60684 -> 10.2.3.10:443       ESTABLISHED:ESTABLISHED
   [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:ESTABLISHED
   [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

--000000000000df711505ca024c45--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAcX-AE--sff1Quqy57Ux4GwA2Lr%2BPM6Rt6b7Z-OvZbtYASn=w>