Re: PF session ttl

From: Cristian Cardoso <cristian.cardoso11_at_gmail.com>
Date: Tue, 29 Mar 2022 20:51:19 UTC
Thanks for the command. But actually I wanted to know if there is a
"default" value, what is its value and if it is configurable.

Em ter., 29 de mar. de 2022 às 17:48, mike tancsa <mike@sentex.net>
escreveu:

> 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
>
>