Welcome, Guest. Please login or register.
Did you miss your activation email?
+  pfSense Forum
|-+  Development/Documentation» Documentation» Filter porn, virus's and ads with squid3, HAVP, Dansguardian and privoxy.
Username:
Password:
 
 

Pages: 1 [2]   Go Down
  Print  
Author Topic: Filter porn, virus's and ads with squid3, HAVP, Dansguardian and privoxy.  (Read 5311 times)
0 Members and 1 Guest are viewing this topic.
marcelloc
Hero Member
*****
Offline Offline

Posts: 8157



View Profile
« Reply #15 on: January 30, 2013, 01:08:39 pm »

Are you on latest dansguardian package version?
Logged

Have I helped you? Donations are always welcome! Grin

Te ajudei? Doações são sempre bem vindas! Grin
KeltecRFB
Newbie
*
Offline Offline

Posts: 16


View Profile
« Reply #16 on: January 30, 2013, 03:02:02 pm »

Are you on latest dansguardian package version?

2.12.0.3 pkg v.0.1.7
Logged
KeltecRFB
Newbie
*
Offline Offline

Posts: 16


View Profile
« Reply #17 on: January 30, 2013, 03:54:39 pm »

I see other people have had this problem, but nothing sticks out yet.
Logged
KeltecRFB
Newbie
*
Offline Offline

Posts: 16


View Profile
« Reply #18 on: January 30, 2013, 07:05:49 pm »

Marcello,

I tried doing this and the download was successful, however, the deny page for Cisco is still displayed when clamdscan is activated.

http://forum.pfsense.org/index.php/topic,52163.0.html

Logged
KeltecRFB
Newbie
*
Offline Offline

Posts: 16


View Profile
« Reply #19 on: February 01, 2013, 10:40:39 am »

Problem resolved...

I made a change thinking that was the problem for something else but it wasn't and caused a problem with clamdscan working properly.  Now everything is working.
Logged
Phobia
Jr. Member
**
Offline Offline

Posts: 90


View Profile
« Reply #20 on: February 01, 2013, 08:43:45 pm »

Hi all,

I followed this, and got it to work, but found that things eventually slowed to a crawl. I think my box may be under powered, but for me, blocking Ads network wide would be enough.

Can privoxy work standalone?  I get an error in my browser when I try to NAT directly to 8118 :

invalid header received from client

Privoxy is listening on localhost:8118

I would appreciate any tips.

Phob
Logged
marcelloc
Hero Member
*****
Offline Offline

Posts: 8157



View Profile
« Reply #21 on: February 01, 2013, 08:48:14 pm »

Did you tried only dansguarguardian (with clamav enabled) + squid?
Logged

Have I helped you? Donations are always welcome! Grin

Te ajudei? Doações são sempre bem vindas! Grin
Phobia
Jr. Member
**
Offline Offline

Posts: 90


View Profile
« Reply #22 on: February 01, 2013, 08:55:53 pm »

No I didn't - I thought privoxy would be more light weight, if I only need to block ads...
Logged
marcelloc
Hero Member
*****
Offline Offline

Posts: 8157



View Profile
« Reply #23 on: February 01, 2013, 10:45:19 pm »

You are having issues using only privoxy?
Logged

Have I helped you? Donations are always welcome! Grin

Te ajudei? Doações são sempre bem vindas! Grin
Phobia
Jr. Member
**
Offline Offline

Posts: 90


View Profile
« Reply #24 on: February 06, 2013, 02:49:28 pm »

Sorry for the delay in my reply.

Yes, I was receiving an error message for every page I tried to browse when I pointed the NAT rule directly to port 8118 (Privoxy):

"invalid header received from client"

I finally installed Squid3 again, and set 8118 as the parent.  I still wasn't having any luck until I changed Squid to transparent mode and eliminated the NAT rule to 8118.

Now things seem to be working, but I'm running Squid when I don't think I should need to for a Privoxy only setup.




Logged
krk
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #25 on: April 01, 2013, 10:13:49 am »

I get the following error when trying to start privoxy:
Starting privoxy.
/libexec/ld-elf.so.1: Shared object "libpcre.so.0" not found, required by "privoxy"

Has anyone else had this?  What did you do to resolve the issue?

thanks
Logged
krk
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #26 on: April 01, 2013, 04:31:33 pm »

When adding the privoxy package, here is a warning I get...  is there a privoxy version that uses pcre-8.32?

Fetching http://ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/i386/packages-8.1-release/Latest/privoxy.tbz... Done.
pkg_add: warning: package 'privoxy-3.0.16_1' requires 'pcre-8.02', but 'pcre-8.32' is installed
Logged
Ulich05
Newbie
*
Offline Offline

Posts: 18


View Profile
« Reply #27 on: April 06, 2013, 12:34:04 am »

I follwed the steps on the first post and got everything working w/o a hitch.

I also tried just the Dansguardian -> squid method which worked but for some reason it was much slower and didnt block any ads vs the dansquardian -> squid-> HAVP-> privoxy method (which makes no sense conceptually) and i could never get dansguardian's built in clamd to work properly (which also makes no sense)

besure to see this on the webupload bug fix as well http://forum.pfsense.org/index.php/topic,58442.15.html (which works as this post was sucessful)
Logged
Ulich05
Newbie
*
Offline Offline

Posts: 18


View Profile
« Reply #28 on: April 07, 2013, 11:44:01 am »

I get the following error when trying to start privoxy:
Starting privoxy.
/libexec/ld-elf.so.1: Shared object "libpcre.so.0" not found, required by "privoxy"

Has anyone else had this?  What did you do to resolve the issue?

thanks

I had this issue w/ a brand new install on another box just now. do a "find / -name libpcre.so.0" and ls -l the files, you should see that they're linked to libpcre.so.3, create a sym link to libpcre.so.0 instead and it should solve the privoxy issue. I have no idea if the new symlink location will screw anything else up. so far it hasn't.

Another tidbit is that you have to install dansguardian first before you install squid3 (if you want to use squid3). Dasguardian will install squid 2.7.x as a dependency which will cause pfsense to revert to using the older version if you have squid3 installed beforehand.
« Last Edit: April 07, 2013, 03:45:55 pm by Ulich05 » Logged
ion9
Newbie
*
Offline Offline

Posts: 1


View Profile
« Reply #29 on: April 07, 2013, 10:01:25 pm »

I was getting /libexec/ld-elf.so.1: Shared object "libpcre.so.0" not found, required by "privoxy" to and i think there is a fast way to fix it

if your on a x64 box install the x64 software

 pkg_add -r http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/amd64/packages-8.1-release/Latest/privoxy.tbz

after i did that it work for me.
« Last Edit: April 08, 2013, 11:37:27 am by ion9 » Logged
Pages: 1 [2]   Go Up
  Print  
 
Jump to:  

 

Page created in 0.032 seconds with 20 queries.