From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Brenton Subject: Re: blocking by domain Date: Sun, 13 Jun 2004 07:26:37 -0400 Sender: netfilter-admin@lists.netfilter.org Message-ID: <1087125996.2011.6.camel@grendel> References: <200406122127.i5CLR0bJ009276@ylpvm15.prodigy.net> <1087115340.1891.2.camel@anduril.intranet.cartel-securite.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1087115340.1891.2.camel@anduril.intranet.cartel-securite.net> Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: netfilter On Sun, 2004-06-13 at 04:29, Cedric Blancher wrote: > > Moreover, I > think it would generate too much latency if you had to check DNS for > packets at firewall level. Not to mention the accuracy is pretty poor. Say I'm fubar.com and you have a rule blocking traffic from my domain. I can either: 1) Not create a PTR record for my IP 2) Create a PTR calling myself www.microsoft.com or similar Both methods will defeat a domain based filter. So blocking at an IP level is faster and more accurate. Best bet is to just do a few whois queries to identify the IP range for the domain and block accordingly. HTH, Chris