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

    Dansguardian broken - can't get alternate repository working

    Scheduled Pinned Locked Moved pfSense Packages
    20 Posts 4 Posters 4.4k 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.
    • R
      rjcrowder
      last edited by

      Very nice… will give it a shot...

      1 Reply Last reply Reply Quote 0
      • M
        mschiek01
        last edited by

        Do you have postfix and mailscanner installed?  If so you will have to do a couple of extra steps.

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

          No…

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

            OK… first of all - thanks a ton. What I didn't know was the pbi_ commands!!!  :D

            Seems to work with a few minor changes.

            @mschiek01:

            2. from the command line "pkg_info" you will see dansguardian 2.12.0.3_2 is installed.

            "pbi_info" instead of "pkg_info"

            @mschiek01:

            7 from the command line "/usr/local/bin/php /usr/local/www/dansguardian.php fetch_blacklist"  download and reapply blacklist.

            Since the new version of the package doesn't have a blacklist url set, before downloading you will need to set it. The one I use is http://www.shallalist.de/Downloads/shallalist.tar.gz

            1 Reply Last reply Reply Quote 0
            • M
              mschiek01
              last edited by

              No problem glad I could help.  :)

              1 Reply Last reply Reply Quote 0
              • P
                percyiii
                last edited by

                Ok I do this.. And it works… But I gt the "Web Upload is banned" back......

                Any ideas..

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

                  The only reason you would have the "web upload banned" back is if you've somehow gotten the wrong version of the executable. Check the dates and sizes on your dansguardian exe files. You can directly extract the proper exe from the PBI file and copy it over the wrong one…

                  1 Reply Last reply Reply Quote 0
                  • P
                    percyiii
                    last edited by

                    Well;
                    Tired to fix it with this.
                    https://forum.pfsense.org/index.php?topic=58442.msg409913#msg409913.
                    Then Dans breaks..
                    So I did what you said and found the executable from one I had not upgraded that I had ran the above on..
                    And the exe was like a week earlier..
                    And I used that and it now is working..
                    Not sure What the difference was..
                    Thx

                    @rjcrowder:

                    The only reason you would have the "web upload banned" back is if you've somehow gotten the wrong version of the executable. Check the dates and sizes on your dansguardian exe files. You can directly extract the proper exe from the PBI file and copy it over the wrong one…

                    1 Reply Last reply Reply Quote 0
                    • P
                      percyiii
                      last edited by

                      Ok,,
                      Have another box…
                      It was working fine.. I upgraded and the web upload broke..
                      I uninstalled re-installed tried different versions of the executable...
                      I finally deleted every dans file I could find reinstalled... It works but still not web upload..
                      Not sure why this happens.

                      @rjcrowder:

                      The only reason you would have the "web upload banned" back is if you've somehow gotten the wrong version of the executable. Check the dates and sizes on your dansguardian exe files. You can directly extract the proper exe from the PBI file and copy it over the wrong one…

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

                        @percyiii:

                        I finally deleted every dans file I could find reinstalled… It works but still not web upload..
                        Not sure why this happens.

                        Not sure what to tell you other than the fact that the web upload issue is something that was broken in a specific version of the dansguardian executable… I don't see how you could have the problem unless you have an exe version that was compiled from the bad code. I'd check and make sure you don't have multiple versions sitting somewhere on disk (find / -name dansguardian)

                        1 Reply Last reply Reply Quote 0
                        • P
                          percyiii
                          last edited by

                          As I noted in my post…
                          I removed the install.... Deleted every single file I could find...
                          Re-installed .... So the only files what are there came with the install......
                          And works fine except for we upload..

                          ..

                          Not sure what to tell you other than the fact that the web upload issue is something that was broken in a specific version of the dansguardian executable... I don't see how you could have the problem unless you have an exe version that was compiled from the bad code. I'd check and make sure you don't have multiple versions sitting somewhere on disk (find / -name dansguardian)

                          1 Reply Last reply Reply Quote 0
                          • M
                            mbrossar
                            last edited by

                            @mschiek01:

                            This should work for you.  I just tried it on one of my boxes. Again this for a 64bit box.

                            1. Install the broken package with the package manager.

                            2. from the command line "pkg_info" you will see dansguardian 2.12.0.3_2 is installed.

                            3. from the command line "fetch http://files.pfsense.org/packages/amd64/8/All/dansguardian-2.12.0.3-amd64.pbi"

                            4. from the command line "pbi_add –no-checksig -f dansguardian-2.12.0.3-amd64.pbi"

                            5. from the command line "pkg_info" you will now see dansguardian-2.12.0.3_1 is installed.

                            6. reboot.

                            7 from the command line "/usr/local/bin/php /usr/local/www/dansguardian.php fetch_blacklist"  download and reapply blacklist.

                            8 go back through and resave each configuration page.

                            Ever since doing this, Dansguardian no longer shows up on my pfSense GUI as a service.  Any idea why?  I've tried uninstalling the package and re-installing.  The process looks to be completing successfully, but it doesn't show up.

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