David C. Rankin said the following on 01/05/2012 12:54 PM:
On 01/05/2012 04:30 AM, Dave Howorth wrote:
How quaint :) I used to have a lot of lines in my /etc/hosts file:
127.0.0.1 doubleclick.net
Hehe! I hadn't thought of doing it that way, but that is pretty darn slick!
[11:52 phoenix:/etc/postfix] # ping doubleclick.net PING phoenix.rlfpllc.com (127.0.0.1) 56(84) bytes of data. 64 bytes from phoenix.rlfpllc.com (127.0.0.1): icmp_req=1 ttl=64 time=0.056 ms 64 bytes from phoenix.rlfpllc.com (127.0.0.1): icmp_req=2 ttl=64 time=0.054 ms ^C
Old dog - new trick!
Actually its a bit lame. If the page you are viewing references a site you want nulled out, and advert you don't wish to see, then its going to try "http://127.9.9.1/whatever" and since you don't have server there dishing out a null page you browser is gong to wait ... and wait ... and wait .. and time out. A good way to kill your browser's performance. What you want is something that listens on port 80, perhaps using the XINET daemon and then invokes a shell script that merely uses 'echo' to respond <html><head></head><body></body></html> Big deal, eh? -- He had occasional flashes of silence, that made his conversation perfectly delightful. Sydney Smith, referring to Macaulay -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org