From owner-freebsd-questions Fri Feb 15 4:37: 6 2002 Delivered-To: freebsd-questions@freebsd.org Received: from pc1-dale5-0-cust136.not.cable.ntl.com (pc1-dale5-0-cust136.not.cable.ntl.com [80.1.76.136]) by hub.freebsd.org (Postfix) with SMTP id 5AC9E37B405 for ; Fri, 15 Feb 2002 04:37:00 -0800 (PST) Received: (qmail 13770 invoked from network); 15 Feb 2002 12:36:55 -0000 Received: from localhost (HELO matt.thebigchoice.com) (127.0.0.1) by localhost with SMTP; 15 Feb 2002 12:36:55 -0000 Date: Fri, 15 Feb 2002 12:36:55 +0000 From: Matt H To: freebsd-security@FreeBSD.ORG Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Filtering URL Message-Id: <20020215123655.43100bfa.freebsd-questions@cuntbubble.com> In-Reply-To: References: X-Mailer: Sylpheed version 0.7.1 (GTK+ 1.2.10; i386--freebsd4.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 15 Feb 2002 17:31:54 +0600 "Roman Zabolotnikov" > Hi. You can easy filter any URL with squid proxy-server. You're need > only write something like this > ___________ > acl porn url_regex "/usr/local/squid/etc/porn.txt" > ..... > http_access deny porn > ___________ > > And write URLs you're need to filter in file > /usr/local/squid/etc/porn.txt sorry to be too lazy to find out all by myself but is there a knownn way of re-writing the outgoing uri requests with squid (or any other mechanism) Currently I use /etc/hosts to not just block but replace ads so that instead of banner ads I get pretty pictures of course it's a pain sometimes to re-create folder hierarchies and the like, I know I could use scripts on the webserver (ads are different sizes) but I would really prefer to modify outgoing URI requests via one machine on the lan (so my fellow incumbants and their windows can have the pretty pictures too) tia matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message