9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: plan9fans@ntlworld.nospam.com
To: 9fans@cse.psu.edu
Subject: [9fans] web proxy
Date: Tue, 30 Mar 2004 13:09:45 +0100	[thread overview]
Message-ID: <82c68858c986199b4dce22e12851f4ad@snellwilcox.com> (raw)

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)
}


             reply	other threads:[~2004-03-30 12:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-30 12:09 plan9fans [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=82c68858c986199b4dce22e12851f4ad@snellwilcox.com \
    --to=plan9fans@ntlworld.nospam.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).