This is a discussion on how to block adult pages within the comp.unix.bsd.openbsd.misc forums, part of the OpenBSD category; --> I have installed squid 2.6 and OBSD 4.2 with SquidGuard. The blocking the url's and domains works great. How ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| On Dec 10, 12:51 pm, bulba008 <bulba...@op.pl> wrote: > I have installed squid 2.6 and OBSD 4.2 with SquidGuard. The blocking > the url's and domains works great. > > How block pages, not included in blacklist by word-index like: rope, > se..., por... *se..*, *xxx* > > Thanks You might try DansGuargian http://dansguardian.org/?page=whatisdg Picking keywords is extremely difficult. E.g. blocking escort services but not Ford Escort dealerships. Some words are obvious, but others have multiple meanings based on context and must be used carefully especially with wild cards. Lots of programming pages use XXX in examples. <quote> excerpt from http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/ Maybe you want to pipe stderr to a command and leave stdout alone. Not too hard an idea, right? You can't do this in the csh as I mentioned in 1a. In a Bourne shell, you can do things like this: exec 3>&1; grep yyy xxx 2>&1 1>&3 3>&- | sed s/file/foobar/ 1>&2 3>&- grep: xxx: No such foobar or directory </quote> So it is a daunting task this filtering business. You will invariably have lots of false positives and should watch carefully to create a white list. |