Dansguardian broken - can't get alternate repository working
-
Isn't pkg_add just for freeBSD packages? It would just install the executable…
Like I said, I know the dansguardian executable will work. The issue is with the rest of the pfSense pacakge. It doesn't include several other executables and config files that are necessary for the content scanning part of the dansguardian package to work. It has been broken for about a week - when the package version was updated to 2.12.0.3_2 - worked fine before that.
-
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.
-
Very nice… will give it a shot...
-
Do you have postfix and mailscanner installed? If so you will have to do a couple of extra steps.
-
No…
-
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.
2. from the command line "pkg_info" you will see dansguardian 2.12.0.3_2 is installed.
"pbi_info" instead of "pkg_info"
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
-
No problem glad I could help. :)
-
Ok I do this.. And it works… But I gt the "Web Upload is banned" back......
Any ideas..
-
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…
-
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..
ThxThe 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…
-
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.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…
-
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)
-
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)
-
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.