From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexey Toptygin Subject: Re: raw packet capture based on offset Date: Thu, 22 Sep 2005 19:25:11 +0000 (UTC) Message-ID: References: <1127361547.43322c0b7a8da@mail.sify.com> Mime-Version: 1.0 Return-path: In-Reply-To: <1127361547.43322c0b7a8da@mail.sify.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: TEXT/PLAIN; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit To: colorchip@sify.com Cc: netfilter@lists.netfilter.org On Thu, 22 Sep 2005 colorchip@sify.com wrote: > I want to capture raw packets based on the ethernet source (mac) and a > 16 bit identifier following the ethtype. I am unable to find a generic > filter which gives me a freedom to filter the packet based on any bit > length and offset from the beginning of the packet. Can anyone help? I think you want the u32 match from POM-ng. Alexey