Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2002 13:17:52 -0600
From:      Arthur Peet <arthur.peet@toltec.biz>
To:        freebsd-net@FreeBSD.ORG
Subject:   bpf/netgraph interaction
Message-ID:  <5.1.1.6.2.20020627122834.022c8f50@mail.toltecint.net>

next in thread | raw e-mail | index | archive | help
G'day.

Can anyone explain the relationship between BPF and netgraph sockets?  I am 
trying to intercept packets destined for a process which is using BPF for 
read and write operations on an interface (and drop not-so-good 
packets).  I can see all packets on the interface (using NgRecvData), 
however I am unable to drop the bad packets (by not calling my NgSendData 
function) as the process using BPF seems to be bypassing the netgraph 
functions.

Thanks,

-Art



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?5.1.1.6.2.20020627122834.022c8f50>