Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Sep 2001 12:57:04 +0530 (IST)
From:      Brahma Naidu Golla <gbnaidu@sasken.com>
To:        Julian Elischer <julian@elischer.org>
Cc:        freebsd-net@FreeBSD.ORG, sameerbr@sasken.com
Subject:   Re: Packet capturing at Link Layer...
Message-ID:  <15253.54216.381750.779254@sunk2.sasi.com>
In-Reply-To: <Pine.BSF.4.21.0109041034260.18360-100000@InterJet.elischer.org>
References:  <15252.40345.212692.832960@sunk2.sasi.com> <Pine.BSF.4.21.0109041034260.18360-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi Julian,

Thanks for your reply. I forgot about the netgraph. Thanks for reminding.

regards
--gb

Julian Elischer writes:
 > 
 > you can use a netgraph node to filter them
 > feed the ones you DON'T want back into the 
 > "upper" hook of the ethernet interface.
 > 
 > (I actually have a special node written to do this if I can get a release
 > from Monzoon networks to release it)
 > 
 > On Tue, 4 Sep 2001, Brahma Naidu Golla wrote:
 > 
 > > Hi,
 > > 
 > > I would like to capture certain packets (Based on the Protocol type of
 > > ether header) at the link layer. I dont want the copies of the packets, but
 > > I want the packets to be received by my user land application and not to be
 > > processed by the L3 and L4. Could some body give me some pointers on this?
 > > 
 > > One possibility is to use Raw sockets at the link layer. But how do I
 > > specify the protocol type of ether header to filter the packets?
 > > 
 > > TIA
 > > --gb
 > > 
 > > To Unsubscribe: send mail to majordomo@FreeBSD.org
 > > with "unsubscribe freebsd-net" in the body of the message
 > > 
 > 
 > 
 > To Unsubscribe: send mail to majordomo@FreeBSD.org
 > with "unsubscribe freebsd-net" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15253.54216.381750.779254>