NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: npfctl table



In article <CAEKtCz1_O6wSfzdS_Jj5FhWLP2k7gMo78FNxnRH5rXd6Bbjd-A%mail.gmail.com@localhost>,
Siyar Erdemli  <siyar.erdemli%gmail.com@localhost> wrote:
>-=-=-=-=-=-
>
>Hi all.
>I want to use fail2ban with npf.
>
>script is ,
>
>/sbin/npfctl table fail2ban add 10.10.2.1/32
>
>npfctl: invalid address, mask or table ID
>
>
>, i cant create and find table id. What is table id.

[11:39am] 8#npfctl table fail2ban add 10.10.10.1/32
npfctl: invalid address, mask or table ID
Exit 1
[11:39am] 9#npfctl table fail2ban add 10.10.10.1
npfctl: success
[11:40am] 10#npfctl table fail2ban list
10.10.10.1/32

Looks like a bug in npfctl, skip the /32 for now.

christos



Home | Main Index | Thread Index | Old Index