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

    Denyhosts on pfsense 1.2.2

    Scheduled Pinned Locked Moved pfSense Packages
    17 Posts 7 Posters 8.7k 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.
    • D Offline
      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 Offline
        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 Offline
          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 Offline
            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 Offline
              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 Offline
                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 Offline
                  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 Offline
                    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 Offline
                      BrianBonnell
                      last edited by

                      There is no python installed.

                      1 Reply Last reply Reply Quote 0
                      • C Offline
                        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 Offline
                          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 Offline
                            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 Offline
                              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 Offline
                                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.

                                "The descent to hell is easy. The gates stand open day and night. But to reclimb the slope and escape to the upper air: This is labor."
                                –Virgil, Aeneid, Book 6

                                Rob

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

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

                                  "The descent to hell is easy. The gates stand open day and night. But to reclimb the slope and escape to the upper air: This is labor."
                                  –Virgil, Aeneid, Book 6

                                  Rob

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