Greetings all,
I have have had my pf fire-walled FreeBSD laptop on the Internet for a few minutes and I am already seeing attempts to guess a combination of user name and password at the ssh port.
As a first defense, I have turned off the ssh daemon in /etc/rc.conf, but it is only a short-term solution. By doing some research I have found a general approach to build a table of such "brute-forces":
and then use the entries to block them, e.g.,
However, I cannot find any reference describing how to build the table, so any help would be appreciated.
The second question is, how does one prevent adding oneself to the table by miss-typing user name and/or password.
Kindest regards,
M
I have have had my pf fire-walled FreeBSD laptop on the Internet for a few minutes and I am already seeing attempts to guess a combination of user name and password at the ssh port.
As a first defense, I have turned off the ssh daemon in /etc/rc.conf, but it is only a short-term solution. By doing some research I have found a general approach to build a table of such "brute-forces":
Code:
table <brute-force> persist
Code:
block in log quick on $ext_if proto tcp from <brute-force> to any
The second question is, how does one prevent adding oneself to the table by miss-typing user name and/or password.
Kindest regards,
M