Aloha,
I need to preface by saying I'm new to FreeBSD. I'm setting up a FreeBSD 10.0-RELEASE (GENERIC) server that will be used as a local DNS server and a local Web (HTTP) server. The machine will allow remote shell sessions via OpenSSH. In initial efforts to secure the SSH server, I've installed the py-fail2ban binary.
I copied /usr/local/etc/fail2ban/jail.conf to /usr/local/etc/fail2ban/jail.local added
to my /etc/rc.conf, then enabled ssh-iptables
in jail.local and adjusted the max retries and max attempts.
When I attempt to start fail2ban I'm alerted with the following error:
I don't have any messages in /var/log/messages, and fail2ban doesn't have a log in /var/log/. There is no
I need to preface by saying I'm new to FreeBSD. I'm setting up a FreeBSD 10.0-RELEASE (GENERIC) server that will be used as a local DNS server and a local Web (HTTP) server. The machine will allow remote shell sessions via OpenSSH. In initial efforts to secure the SSH server, I've installed the py-fail2ban binary.
I copied /usr/local/etc/fail2ban/jail.conf to /usr/local/etc/fail2ban/jail.local added
Code:
fail2ban_enable="YES"
Code:
[ssh-iptables]
enabled = true
When I attempt to start fail2ban I'm alerted with the following error:
Code:
ERROR There is no directory /var/run/fail2ban to contain the socket file /var/run/fail2ban/fail2ban.sock.
I don't have any messages in /var/log/messages, and fail2ban doesn't have a log in /var/log/. There is no
man fail2ban
and I haven't found anything in this forum or the fail2ban Web site. I'm hoping someone here can help me understand what the problem is and help me get the program running.