On 10:05 Wed 19 Nov , Qian Qiao wrote: > On Wed, Nov 19, 2008 at 09:54, Stroller <[EMAIL PROTECTED]> wrote: > > > > On 19 Nov 2008, at 04:06, Albert Hopkins wrote: > >> > >> ... > >> Why do you want to do this? ... I don't understand why. > >> What is your justification for doing that? > > > > To prevent his kids from watching YouPorn. > > > > Stroller. > > In that case, isn't putting > > 127.0.0.1 ADDRESSES_TO_BE_BLOCKED > > into /etc/hosts easier? > > Or just set up a proxy. > > Joe > > -- > There are 3 kinds of people in the world: those who can count, and > those who can't.
No, perhaps not, considering the fact that there are so many sites with pron. Maintaining such a massive hosts file is a disaster and worse still the solution is not fullproof. But then, FWIW such problems seldom have foolproof solutions. The idea of proxy is very valid(in particular the transparent proxy implementation), mixed with mime-type handling could do the trick. What complicates the situation slightly is that it is to be done for just one user. I don't personally use proxy so not sure about the implementation details. Perhaps somebody with the usage experience can provide a detailed solution, once we are sure as to the reason for the question. -- Regards, Michael Moore <mikem.unet(at)gmail.com> About *NIX: If its not fun, why do it?