Fail2ban and ezjail in 2.1
- I am trying to install fail2ban to work with pf, but I am getting the following error:
pkg_add -r py26-fail2ban Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.3-release/Latest/py26-fail2ban.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.3-release/Latest/py26-fail2ban.tbz' by URL
The machine can reach the internet.
- Also tried to install ezjail and says:
pkg_add -r ezjail Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.3-release/Latest/ezjail.tbz... Done. pkg_add: package 'ezjail-3.2.1_1' or its older version already installed
When I try to remove ezjail, states that there is none! hmmm…
pkg_delete ezjail pkg_delete: no such package 'ezjail' installed
Just wondering how can one install freebsd packages to pfSense 2.1NanoBSD firmware?
No need for fail2ban, for the reason most people want it anyhow. We include a daemon that watches for failed ssh logins and blocks them after too many failed attempts (IIRC it's something like 5 failed logins in 15 minutes, or maybe the other way around…)
It sounds like ezjail is already installed. pkg_delete requires the complete package name including the version number, so check "pkg_info" and specify the full name, or use: