From owner-freebsd-pf@FreeBSD.ORG Mon May 2 15:54:48 2011 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AC041065702 for ; Mon, 2 May 2011 15:54:48 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4FC918FC21 for ; Mon, 2 May 2011 15:54:48 +0000 (UTC) Received: by vxc34 with SMTP id 34so5782743vxc.13 for ; Mon, 02 May 2011 08:54:47 -0700 (PDT) Received: by 10.52.175.99 with SMTP id bz3mr4952130vdc.117.1304350328063; Mon, 02 May 2011 08:32:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.112.199 with HTTP; Mon, 2 May 2011 08:31:28 -0700 (PDT) In-Reply-To: <4DBEC293.1010607@yahoo.com.br> References: <4DBEC293.1010607@yahoo.com.br> From: Vlad Galu Date: Mon, 2 May 2011 17:31:28 +0200 Message-ID: To: Zhu Sha Zang Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-pf@freebsd.org Subject: Re: blocking facebook X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 May 2011 15:54:48 -0000 On Mon, May 2, 2011 at 4:41 PM, Zhu Sha Zang wrote: > I'm trying to block facebook access only using PF in FreeBSD 8.2. > > But putting the name or the ip returned with the command host > www.facebook.com i can't deny any user to connect facebook. > > Some trick to do that? > > You could simply block all their prefixes: http://www.robtex.com/as/as32934.html -- Good, fast & cheap. Pick any two.