Re: PF session ttl

From: mike tancsa <mike_at_sentex.net>
Date: Tue, 29 Mar 2022 20:48:30 UTC
On 3/29/2022 4:30 PM, Cristian Cardoso wrote:
> Hi
> Guys, does anyone happen to know how to tell me the value of session 
> ttl that PF uses to terminate sessions that are via statefull?

Are you looking for when a state expires ? If so, try

pfctl -ss -v -v

it will show you when it expires

e.g

all tcp 192.168.96.1:22 (10.159.159.249:24) <- 192.168.1.89:64660       
SYN_SENT:ESTABLISHED
    [997609076 + 2097152] wscale 6  [2771445293 + 16777472] wscale 2
    age 00:00:00, expires in 00:00:30, 1:1 pkts, 52:52 bytes
    id: 90d5c76500000000 creatorid: 7b2b3e4b gateway: 0.0.0.0
    origif: vlan9

     ---Mike