9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] web proxy
@ 2004-03-30 12:09 plan9fans
  2004-03-30 12:32 ` matt
  0 siblings, 1 reply; 5+ messages in thread
From: plan9fans @ 2004-03-30 12:09 UTC (permalink / raw)
  To: 9fans

Hi,

I had to offer this: my web filtering proxy
in 8 lines. Its not complete, or the fastest,
but it does all I need.

More filtering rules available at:
http://www.surferprotectionprogram.com/rules/sites-blocked.ini.txt

-Steve

install as /bin/rc/service/tcp8080

#!/bin/rc
get=`{read}
switch ($get(2)){
case *.doubleclick.net/* *.valueclick.net/*
	exit 0
case *
	hget $get(2)
}


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-03-30 13:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-30 12:09 [9fans] web proxy plan9fans
2004-03-30 12:32 ` matt
2004-03-30 12:41   ` Steve Simon
2004-03-30 13:02     ` matt
2004-03-30 12:36       ` boyd, rounin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).