From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Samuel Jean" Subject: Re: iptables match rule for DNS RR? Date: Wed, 4 Apr 2007 13:49:28 -0000 Message-ID: References: <20070404131825.GB20515@kallisti.us> Reply-To: jix@bugmachine.ca To: "Ross Vandegrift" , Return-path: In-Reply-To: <20070404131825.GB20515@kallisti.us> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org On Wed, Apr 4, 2007, Ross Vandegrift said: > Hi everyone, Hi! > > Is there any netfilter work, either production or in development, that > provides a way to filter traffic based on DNS RR type? Sorry -- matching packets based on RR is not possible inside the kernel. Netfilter needs to make a decision pretty fast and cannot wait for DNS queries each time a packet passes by. IMO, this makes huge sense. However, it's possible to queue packets and let userspace tools handle the decision. That's where such match should be implemented. Still, the latency remains the same. > > Thanks in advance for any info, > > Ross > HTH, Samuel