Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Sep 2005 13:13:39 +0400
From:      "Vladimir Yu. Stepanov" <vys@renet.ru>
Cc:        hackers@freebsd.org
Subject:   Re: BPF patch
Message-ID:  <431D5DC3.7090907@renet.ru>
In-Reply-To: <79722fad05090103363fc910@mail.gmail.com>
References:  <4316C9B1.9070003@renet.ru> <79722fad05090103363fc910@mail.gmail.com>

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

Vlad GALU wrote:
> On 9/1/05, Vladimir Yu. Stepanov <vys@renet.ru> wrote:
> [snip]
> 
>    You can always control which traffic to sniff (ingress/egress)
> using layer 2 filters (ether src/dst host <>).
> 


It's not a simple way. BPF filter code must be used depending on type
of device. For some of drivers (ppp, tun and etc) BPF filter cannot help
for filtering layer 2.


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