From: Ross Vandegrift Subject: Re: iptables match rule for DNS RR? Date: Wed, 4 Apr 2007 16:39:19 -0400 Message-ID: <20070404203918.GA23386@kallisti.us> References: <20070404131825.GB20515@kallisti.us> <20070404135651.GA20727@kallisti.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Samuel Jean , netfilter-devel@lists.netfilter.org, Ross Vandegrift To: Jan Engelhardt Return-path: Content-Disposition: inline In-Reply-To: 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 04, 2007 at 10:12:38PM +0200, Jan Engelhardt wrote: > >Wait, I don't want to perform a DNS lookup - rather, I have DNS > >servers, and I want to be able to filter out DNS requests based on the > >the types of RRs in the question section. > > ...use l7-filter, and write your pattern. Heh, didn't know about that, but I've come up with a userspace ipq program that's working really well. However I'm getting an occasional netlink error for "No such file or directory". It happens every 50-100k requests, I'd guess and doesn't seem to be affecting the functionality. What does it mean for netlink to say "no such file or directory"? -- Ross Vandegrift ross@kallisti.us "The good Christian should beware of mathematicians, and all those who make empty prophecies. The danger already exists that the mathematicians have made a covenant with the devil to darken the spirit and to confine man in the bonds of Hell." --St. Augustine, De Genesi ad Litteram, Book II, xviii, 37