Navigation

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

    Denyhosts on pfsense 1.2.2

    pfSense Packages
    7
    17
    7601
    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.
    • E
      emike last edited by

      I installed the denyhosts package earlier today and noticed it was not starting up. I went to the command line and noted the following:

      /usr/local/etc/rc.d/denyhosts.sh start

      /usr/local/etc/rc.d/denyhosts.sh: /usr/local/bin/python2.5: not found

      I checked via "find / -name "python*" and noted that it was not installed at all.

      I then tried:

      pkg_add -r python

      Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.0-release/Latest/python.tbz: File unavailable (e.g., file not found, no access)
      pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.0-release/Latest/python.tbz' by URL

      Any advice on this would be greatly appreciated.

      1 Reply Last reply Reply Quote 0
      • E
        emike last edited by

        60 views and no responses. Do I assume no one else is having this problem or is there just no solution at the moment. Perhaps I'll file a bug report.

        1 Reply Last reply Reply Quote 0
        • D
          Davc last edited by

          ok..i voice out. I do not have any issues on both of my pfsense box(s) 1.2.3-RC2 & 1.2.3-RC1

          Everyday, it get update fine. It started work since I first installed.

          Sorry to hear your problems. How about de-install again. Good luck

          1 Reply Last reply Reply Quote 0
          • E
            emike last edited by

            @Davc:

            ok..i voice out. I do not have any issues on both of my pfsense box(s) 1.2.3-RC2 & 1.2.3-RC1

            Everyday, it get update fine. It started work since I first installed.

            Sorry to hear your problems. How about de-install again. Good luck

            I uninstalled and reinstalled with no luck. Thanks for responding. I opened up a bug report on this.

            1 Reply Last reply Reply Quote 0
            • D
              Davc last edited by

              Dear Emike,

              Just wonder..if unable to fetch and get the "ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.0-release/Latest/python.tbz"

              It looks like either DNS unable to resolved ftp.freebsd.org (check port 53 open), also your ftp rules.

              1 Reply Last reply Reply Quote 0
              • C
                cybrsrfr last edited by

                The denyhosts freebsd package uses python and so that is essential.

                Try this:

                cd /tmp/
                fetch http://files.pfsense.com/packages/lang/python25-2.5_1.tbz
                pkg_add python25-2.5_1.tbz

                1 Reply Last reply Reply Quote 0
                • C
                  cybrsrfr last edited by

                  If you are having problems with the install for denyhosts then please uninstall the package and then reinstall it.

                  I changed the location of the denyhosts package install to pull it from file.pfsense.com and it should then pull the python package from there as well. I believe this will fix the package.

                  Best Regards,

                  mcrane

                  P.S. sorry it took me a while to notice the forum message.

                  1 Reply Last reply Reply Quote 0
                  • B
                    BrianBonnell last edited by

                    This is still not fixed. I have uninstalled twice and reinstalled. Still will not start with this error:

                    /usr/local/etc/rc.d/denyhosts.sh start

                    /usr/local/etc/rc.d/denyhosts.sh: /usr/local/bin/python2.5: not found

                    1 Reply Last reply Reply Quote 0
                    • C
                      cybrsrfr last edited by

                      Is another version of python installed. From the console or diagnostics -> command run:

                      ps -waux | grep python

                      1 Reply Last reply Reply Quote 0
                      • C
                        cybrsrfr last edited by

                        try this from the console:

                        pkg_add -r http://files.pfsense.com/packages/security/denyhosts-2.5.tbz

                        1 Reply Last reply Reply Quote 0
                        • B
                          BrianBonnell last edited by

                          There is no python installed.

                          1 Reply Last reply Reply Quote 0
                          • C
                            cybrsrfr last edited by

                            Try this.
                            pkg_add -r http://files.pfsense.com/packages/lang/python25-2.5_1.tbz

                            or

                            cd /tmp/
                            fetch http://files.pfsense.com/packages/lang/python25-2.5_1.tbz
                            pkg_add -r python25-2.5_1.tbz

                            or

                            pkg_add -r http://files.pfsense.com/packages/security/denyhosts-2.5.tbz

                            All of these methods should install python on your system.

                            1 Reply Last reply Reply Quote 0
                            • G
                              gsgleason last edited by

                              I found this topic after having the same issue on a fresh 1.2.2 install.  I updated to 1.2.3 RC3 with the same result.  There is no python2.5 installed, but there is python 2.4.

                              Whether I make a symlink of python2.4 called 2.5 or I fetch and install it, there are still a ton of unmet dependencies.  I kept symlinking libraries and eventually it just wouldn't work at all.

                              The dependencies are all newer than what's installed.  Should I be using a snapshot of pfsense instead of the 1.2.x branch?

                              1 Reply Last reply Reply Quote 0
                              • N
                                newmember last edited by

                                I am not getting any love from this denyhost package on this firewall.  I have it working on other pfsense firewalls.  My bigger concern is why this package would work on one PF firewall and not on the other PF firewall, they are the same 1.2.3 release?

                                Did this:
                                pkg_add -r http://files.pfsense.com/packages/lang/python25-2.5_1.tbz

                                /usr/local/etc/rc.d/denyhosts.sh start

                                /libexec/ld-elf.so.1: Shared object "libutil.so.5" not found, required by "python2.5"

                                Current:

                                pkg_info

                                bsdinstaller-2.0.2009.0422 BSD Installer mega-package
                                denyhosts-2.5      Script to thwart ssh attacks
                                grub-0.97_1        GRand Unified Bootloader
                                libosip-3.1.0      A low layer of SIP implementation
                                python24-2.4.3_3    An interpreted object-oriented programming language
                                python25-2.5_1      An interpreted object-oriented programming language
                                python26-2.6.4      An interpreted object-oriented programming language

                                The firewall in my lab works with the following packages installed:

                                $ pkg_info
                                darkstat-3.0.708    Network statistics gatherer and reporter
                                denyhosts-2.5      Script to thwart ssh attacks
                                gettext-0.17_1      GNU gettext package
                                python24-2.4.3_3    An interpreted object-oriented programming language
                                smtpd-2.0_4        Obtuse smtpd/smtpfwdd, part of the Juniper firewall toolkit
                                spamd-4.1.2        Traps spammers with a very slow smtp-login and return 4xx e

                                Both firewalls have the same release:

                                uname -r

                                7.2-RELEASE-p5

                                1 Reply Last reply Reply Quote 0
                                • B
                                  BrianBonnell last edited by

                                  I've upgraded to 1.2.3-Release, SAME issues still.

                                  I've run:

                                  Try this.
                                  pkg_add -r http://files.pfsense.com/packages/lang/python25-2.5_1.tbz

                                  or

                                  cd /tmp/
                                  fetch http://files.pfsense.com/packages/lang/python25-2.5_1.tbz
                                  pkg_add -r python25-2.5_1.tbz

                                  or

                                  pkg_add -r http://files.pfsense.com/packages/security/denyhosts-2.5.tbz

                                  All i get is "No such host or file" then it aborts. I am able to ping files.pfsense.com, so it is out there….at this point I have given up and removed it. I'll try a few things on my "lab" pf box..this way I won't foo-bar my production environment like I have already fuddleing with this package.

                                  I'll still take suggestions on a solution...I'll just run it on the lab box instead....:)

                                  1 Reply Last reply Reply Quote 0
                                  • R
                                    Roodawakening last edited by

                                    I reported this same problem here: http://forum.pfsense.org/index.php/topic,21420.msg109904.html#msg109904

                                    What's interesting is the program crashed on its own. It's been running since February (almost a year) without a single problem and now it's dead. I've uninstalled it, reinstalled it various ways and it will not start. I have no idea what caused it to shut down. The only package I toyed with was updating to the last snort-dev earlier this week. Don't know if it's related or not.

                                    1 Reply Last reply Reply Quote 0
                                    • R
                                      Roodawakening last edited by

                                      Any ideas as to why I can no longer get denyhosts to start?

                                      1 Reply Last reply Reply Quote 0

                                      Products

                                      • Platform Overview
                                      • TNSR
                                      • pfSense
                                      • Appliances

                                      Services

                                      • Training
                                      • Professional Services

                                      Support

                                      • Subscription Plans
                                      • Contact Support
                                      • Product Lifecycle
                                      • Documentation

                                      News

                                      • Media Coverage
                                      • Press
                                      • Events

                                      Resources

                                      • Blog
                                      • FAQ
                                      • Find a Partner
                                      • Resource Library
                                      • Security Information

                                      Company

                                      • About Us
                                      • Careers
                                      • Partners
                                      • Contact Us
                                      • Legal
                                      Our Mission

                                      We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

                                      Subscribe to our Newsletter

                                      Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

                                      © 2020 Rubicon Communications, LLC | Privacy Policy