Networking Forums

Networking Forums > Computer Networking > Linux Networking > privoxy and dnsmasq

Reply
Thread Tools Display Modes

privoxy and dnsmasq

 
 
Brian Hall
Guest
Posts: n/a

 
      02-22-2004, 06:27 PM

I have a number of known ad sites listed in my /etc/hosts and blocked
locally by using dnsmasq. I also use privoxy on this server. I can tell
I have dnsmasq configured correctly for local DNS lookups to use it,
since I can do this:

ping ads.doubleclick.net
PING ads.doubleclick.net (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=64
time=0.070 ms

and it resolves to localhost instead of the ad server.

My issue is, it seems like privoxy ignores this and does its own DNS
lookup or something? When I block a site this way, the request is still
processed by privoxy (i.e. instead of no ad at all using the
DNS/localhost block I get the "blocked by privoxy").

Is there any way to change this behavoir, so that privoxy only processes
requests going to sites other than 127.0.0.1/localhost?

Essentially I am trying to speed up the privoxy processing, so each
page loads faster (to do content filtering privoxy must completely
load each page before giving to the browser, so it "feels" slower).

--

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dnsmasq Randy Yates Linux Networking 4 11-26-2007 10:25 PM
tor, privoxy and shorewall, access from a client Thomas Maguin Linux Networking 0 02-23-2006 08:01 PM
Please, how to Privoxy -> tor -> other socks ? BM Linux Networking 0 05-28-2005 07:26 PM
dnsmasq trouble stouf Linux Networking 7 05-13-2005 06:37 PM
dnsmasq: What does it do? tom Linux Networking 5 11-22-2004 05:44 PM



1 2 3 4 5 6 7 8 9 10 11