From owner-freebsd-ports@FreeBSD.ORG Tue Apr 30 09:40:05 2013 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 53250B54 for ; Tue, 30 Apr 2013 09:40:05 +0000 (UTC) (envelope-from telkiki@tpg.com.au) Received: from mail15.tpgi.com.au (smtp-out15.tpgi.com.au [220.244.226.125]) by mx1.freebsd.org (Postfix) with ESMTP id 981A015D1 for ; Tue, 30 Apr 2013 09:40:03 +0000 (UTC) X-TPG-Junk-Status: Message not scanned X-TPG-Antivirus: Passed DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tpg.com.au; s=alpha; t=1367314083; bh=WC9oS/zxTXUYFaL8UspKjsJ4EPO3ivuory3dH+bNauw=; h=X-TPG-Abuse:From:To:Subject:Date:Message-ID:MIME-Version: Content-Type; b=ax0UP9Y6Ucgk/IaQmIl6FL0QwrwMqcUsJy6RzBZxRpzpY9gj8WoEdnWxry1kXFzp1 aCP28cHmYgFx/N4sePkuSj9cgbzmC66GyAngx0QAUFFfz9YgHze6QbTxABIvFh+ZAy IcCX1GixtTw5D2FZurSRHbCr2DISifYcmt2LYB+k= X-TPG-Abuse: host=123-243-66-127.static.tpgi.com.au; ip=123.243.66.127; date=Tue, 30 Apr 2013 19:28:02 +1000 Received: from TarekPC (123-243-66-127.static.tpgi.com.au [123.243.66.127]) by mail15.tpgi.com.au (envelope-from telkiki@tpg.com.au) (8.14.3/8.14.3) with ESMTP id r3U9S0PO028541 for ; Tue, 30 Apr 2013 19:28:02 +1000 From: "Dr Tarek El-Kiki" To: Subject: help with packaging squidGuard beta Date: Tue, 30 Apr 2013 19:27:57 +1000 Message-ID: MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: Ac5FhB4VSwuSvZjAS5SP8cHGecmHgg== Content-Language: en-au Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2013 09:40:05 -0000 Dear Admins, I had an issue with regex statements on SquidGuard-1.4_4 which I addressed with SquidGuard people, as per my embedded message below, and the solution for that issue was to use a better version of SquidGuard. As I found squidGuard-1.5_b, it was in the format that I wouldn't be able to install on my pfSense box, as I do with SquidGuard-1.4_4. For one and half months I have been looking around for someone to help producing the suitable squidGuard package, until I was given your email address in the hope that you would help me. The required file is found at: http://www.squidguard.org/Downloads/Devel/squidGuard-1.5-beta.tar.gz I shall be more than grateful if you could help me with this request. Hope to hear from you very soon. Best regards. Dr Tarek El-Kiki President International Academy of Higher Education, Australia, Pty Ltd PO Box 124 Greenacre NSW 2190, Australia M. 0449 900 400 T. +61 2 9750 4616 F. +61 2 9740 8402 www.heacademy.com.au -----------------------------------------------------------------------Embed ded Message ---------------------------------------------------------------------------- -- -----Original Message----- From: similla@shalla.de [mailto:similla@shalla.de] On Behalf Of Christine Kronberg Sent: Monday, 18 March 2013 7:55 AM To: (IAHEA) Dr Tarek El-Kiki Cc: sg-bugs@squidguard.org Subject: Re: regex help Hi Dr Tarek, > Please kindly pay this message your immediate attention as my request > is of a significant nature to me and my family. > > I'm running pfSense with great squid and squidGuard packages. On > squidGuard lies my problem as follows: > > I have a blacklist of bad words that are blocked if they are used on > any web search engine. Examples of those words are: anal, ass, bum > bra, butt, cum, dick, lust, tit. > > On the other hand, normal words that contain any of these previous > words as part of their structures are accordingly blocked. Examples of > those good words are: analog, canal, analysis, asset, compass, album, > brand, button, circumstance, dickson, illustrate, repetition. > > My suggested solution is to use "word boundary \b" regex on those bad words. > Hence, \banal\b, or \blust\b will block only anal or lust but not > analysis or illustrate. Unfortunately this solution is not working on squidGuard. > What is actually blocked is the expression itself, so \banal\b and > \blust\b are blocked and anal or lust are passed!! Which version of squidGuard are you using? My current installation runs 1.5-alpha and the following expressionlist seems to work correctly: (=)(\banal\b|\bcum\b) This block all searches for anal and cum but not canal or circumstance. Can you please try this version? Kind Regards, Christine Kronberg.