Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2024 11:00:32 +0100
From:      Kristof Provost <kp@FreeBSD.org>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        FreeBSD Security list <freebsd-security@FreeBSD.org>
Subject:   Re: "Unknown error" message from pfctl on an existing table
Message-ID:  <E1944C83-4692-42B9-BBC3-C065EE9D84A1@FreeBSD.org>
In-Reply-To: <f3b1ade48b9bb0d7891b643defcc7b16@Leidinger.net>
References:  <e3eeae1bad4f182bad5abbf281a7bb26@Leidinger.net> <f3b1ade48b9bb0d7891b643defcc7b16@Leidinger.net>

index | next in thread | previous in thread | raw e-mail

On 20 Sep 2024, at 10:50, Alexander Leidinger wrote:
> Hi,
>
> # pfctl -s Tables
> bruteforce
> crowdsec-blocklists
> crowdsec6-blocklists
> martians
> martians6
>
> # pfctl -t crowdsec-blocklists -T show
> pfctl: Unknown error: -1.
>
> What could be the cause of this error?
The next debugging step would be to use ‘truss’ to see what call fails.

I can reproduce the error message attempting to list a table that doesn’t exist.

There’s been a bug with table name length: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279225 so perhaps that’s what you’re running into.

Best regards,
Kristof


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1944C83-4692-42B9-BBC3-C065EE9D84A1>