FS#28459 - [dansguardian] not working any more
Attached to Project:
Arch Linux
Opened by roberto porcaro (porcaror) - Wednesday, 15 February 2012, 16:55 GMT
Last edited by Eric Belanger (Snowman) - Tuesday, 11 September 2012, 23:19 GMT
Opened by roberto porcaro (porcaror) - Wednesday, 15 February 2012, 16:55 GMT
Last edited by Eric Belanger (Snowman) - Tuesday, 11 September 2012, 23:19 GMT
|
Details
Description:
After upgrading to the new Dansguardian version it is not possible to browse anymore. If for example I try the url www.aarchlinux.org in firefox it doesn't work. With elinks I obtain the following: Unable to retrive proxy://192.168.2.253:8080/http://www.archlinux.org/: Before the upgrade all was right. Can you help me? Error reading from socket Additional info: * dansguardian 2.10.1.1-3 squid 3.1.16-1 * config and/or log files etc. Steps to reproduce: |
This task depends upon
Closed by Eric Belanger (Snowman)
Tuesday, 11 September 2012, 23:19 GMT
Reason for closing: Won't fix
Additional comments about closing: dansguardian is no longer in repos
Tuesday, 11 September 2012, 23:19 GMT
Reason for closing: Won't fix
Additional comments about closing: dansguardian is no longer in repos
# sudo pacman -U /var/cache/pacman/pkg/pcre-8.21-1-x86_64.pkg.tar.xz
# mkdir ~/pcre-old
# cp -a /usr/lib/libpcre* ~/pcre-old
# cp -a /lib/libpcre* ~/pcre-old
# ln -sf libpcre.so.0 ~/pcre-old/libpcre.so
# sudo pacman -S pcre
# sudo /etc/rc.d/dansguardian stop
# sudo LD_LIBRARY_PATH=~/pcre-old /usr/sbin/dansguardian
This does the trick for me. The last two steps will need to be repeated every time the computer is rebooted.
I have dansguardian on the server of my school, do you think that using you trick on the server the clients will work?
Thank in advance
Roberto
rc.d stop dansguardian
sleep 1
LD_LIBRARY_PATH=/home/<USERNAME HERE>/pcre-old /usr/sbin/dansguardian
and then added it to the list of daemons in /etc/rc.conf after dansguardian. Once the issue is fixed, just remove this file and the reference to it in /etc/rc.conf.
Thanks
Roberto
I also noticed that if I connect browser to dansguardian on port 8080 bad sites gets banned (probably blacklist) but good sites do not show. I ran tshark on port 8080 and I could see incoming requests. When I ran tshark to monitor squid on port 3128 and browser pointing to proxy on dansguardian port 8080 then nothing gets captured by tshark. It seems that dansguardian is not forwarding the requests to squid. I have not tried to downgraded pcre yet.