Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Fail2ban and ezjail in 2.1

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    2 Posts 2 Posters 1.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      zenny
      last edited by

      Hi:

      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.

      1. 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?

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        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:

        pkg_delete ezjail\*
        

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.