From owner-freebsd-security Fri Feb 15 4:47: 2 2002 Delivered-To: freebsd-security@freebsd.org Received: from shikima.mine.nu (pc1-card4-0-cust77.cdf.cable.ntl.com [62.252.49.77]) by hub.freebsd.org (Postfix) with ESMTP id 5AF1737B402 for ; Fri, 15 Feb 2002 04:46:55 -0800 (PST) Received: from rasputin by shikima.mine.nu with local (Exim 3.33 #1) id 16bhlN-000Dss-00; Fri, 15 Feb 2002 12:46:53 +0000 Date: Fri, 15 Feb 2002 12:46:53 +0000 From: Rasputin To: Matt H Cc: security@freebsd.org Subject: Re: Filtering URL Message-ID: <20020215124653.A51897@shikima.mine.nu> Reply-To: Rasputin References: <20020215123655.43100bfa.freebsd-questions@cuntbubble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020215123655.43100bfa.freebsd-questions@cuntbubble.com>; from freebsd-questions@cuntbubble.com on Fri, Feb 15, 2002 at 12:36:55PM +0000 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org * Matt H [020215 12:45]: > 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) Install adzap from the ports - does the job and then some. Doesn't work too well with perl 5.6, mind. -- "This is a test of the Emergency Broadcast System. If this had been an actual emergency, do you really think we'd stick around to tell you?" Rasputin :: Jack of All Trades - Master of Nuns :: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message