Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jun 2010 13:41:07 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        Valerian Galeru <valerian_ro@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD router (IPFW-based): how to block an URL (all IPs of an A-like HOSTNAME)
Message-ID:  <761D9A06-7AB3-4A7D-BDE4-A5BBC8CBA4B9@mac.com>
In-Reply-To: <939113.8942.qm@web30705.mail.mud.yahoo.com>
References:  <939113.8942.qm@web30705.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 17, 2010, at 1:01 PM, Valerian Galeru wrote:
> Does anyone have any ideas how to block all requests using an IPFW-based router (FreeBSD 6.4) to and from a HOSTNAME (which has more DNS A entries) or better, from any *.HOSTNAME.COM ????

Start by blocking all traffic, add permit rules to only pass traffic which is allowed.  :-)

Judging by your question, however, it sounds more like you want to use regex based blocking of hostnames within a web proxy like Squid or Varnish than IP-level firewalls.

Regards,
-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?761D9A06-7AB3-4A7D-BDE4-A5BBC8CBA4B9>