On Tue, Jun 07, 2022 at 04:26:11PM +0300, Barbaros Bilek wrote:
> Hello Misc,
> 
> I think there is an issue about PF tables at current.
> Here my working PF config sample before 7.1-Current.
> block log quick inet from <Malicious>
> pfctl -f /etc/pf.conf
>     Another software fills this Malicious table with this command:
> # pfctl -t Malicious -T add 1.2.3.4
>      1 table created.
>      1/1 addresses added.
> # pfctl -t Malicious -T show 1.2.3.4
>      1.2.3.4
> 
> But with my newly upgraded OpenBSD version it doesn't.
> OpenBSD 7.1-current (GENERIC.MP) #575: Mon Jun 6 10:11:31 MDT 2022
> #pfctl -t Malicious -T add 1.2.3.4
> 1 table created.
> pfctl: Table does not exist
> 
> #pfctl -t Malicious -T show
> pfctl: Table does not exist
> 
> 
> Thanks for your time.
> 
> --
> Barbaros

You now need to explicitly create the table with

    table <Malicious>

on your pf.conf.  This was not enforced in 7.1, so you got away with it,
but it is now.



-- 
 

Reply via email to