Friday, October 05, 2018

Re: pfctl tables: adding a CIDR typo to a new table

On 10/06/18 00:28, Klemens Nanni wrote:
>On Fri, Oct 05, 2018 at 04:02:12PM -0600, Andrew wrote:
>> recent snapshot:
>>
>> $> uname -vrsm
>> OpenBSD 6.4 GENERIC#329 amd64
>What's the timestamp? Please provide more detailed information next time.
>
>> $> doas pfctl -t sample -T add 74.125.0.0*16
>> 1 table created.
>> 1/1 addresses added.
>
>It's not recent enough:
>
> $ sysctl -n kern.version | head -n1
> OpenBSD 6.4 (GENERIC.MP) #0: Thu Oct 4 00:29:55 CEST 2018
> # for s in 1\*8 74.125.0.0\*16 ::1-64 ; do
> > pfctl -t sample -T add $s
> > done
> no IP address found for 1*8
> no IP address found for 74.125.0.0*16
> no IP address found for ::1-64


I'll use a different command next time. Thanks for the head's up !!!

you: OpenBSD 6.4 (GENERIC.MP) #0: Thu Oct 4 00:29:55 CEST 2018
me: OpenBSD 6.4 (GENERIC) #329: Thu Oct 4 09:53:31 MDT 2018

** Please note that you are using a different kernel from the same day **

$> doas pfctl -t 2ndtry -T add 74.125.0.0*24
1 table created.
1/1 addresses added.

$> doas pfctl -t 2ndtry -T show
127.0.0.1


Thanks for the quick reply. Moving forward -- it seems to be fixed. I'll
try a newer snapshot later this weekend. Have a great weekend ahead !!

No comments:

Post a Comment