DansGuardian 2.10.1.1-r9 segfaults on requests
Install Squid listening on local interface (so that DG has something to talk to) - eg squid’s config can be wide open:
http_port 3128
http_access allow all
Testing using squid as a proxy succeeds.
Apk add dansguardian.
Edit /etc/dansguardian/dansguardian.conf and change only the filterip (to the local interface)
#dansguardian -c /etc/dansguardian/dansguardian.conf
will segfault immediately
traps: dansguardian[3400] general protection ip:7918c048e198
sp:7f6f177f9870 error:0 in libuClibc-0.9.33.2.so[7918c0443000+6b000]
grsec: From 192.168.1.120: Segmentation fault occurred at (nil) in
/usr/sbin/dansguardian[dansguardian:3400] uid/euid:0/0 gid/egid:0/0,
parent /bin/busybox[ash:2206] uid/euid:0/0 gid/egid:0/0
in /etc/dansguardian/dansguardian.conf, change “reportinglevel = 0”, and DG will start, but will segfault (as above) on each client request.
(from redmine: issue id 1629, created on 2013-03-05, closed on 2013-03-13)
- Changesets:
- Revision 36712432 by Natanael Copa on 2013-03-06T08:42:24Z:
main/dansguardian: upgrade to 2.12.0.3
ref #1629
- Revision 7078d316 by Natanael Copa on 2013-03-06T09:13:57Z:
main/dansguardian: fix for pcre 8.30
ref #1629
See also:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667664
We also clean up the APKBUILD a bit while here