Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2007 16:25:04 +0200
From:      Ghislain <gigi_8439@yahoo.fr>
To:        freebsd-questions@freebsd.org
Subject:   BPF and buffering
Message-ID:  <AF02899D-E5F1-432D-BA19-D3D7DB22305E@yahoo.fr>

next in thread | raw e-mail | index | archive | help
Hi,

I'd like to write a specific BPF filter in order to read all packets  
( before routing them ) on a network interface and buffering them in  
order to process them and after routing them if I decide that they  
are correct. But I don't know how to intercept them ( then they are  
not processed immediatly by the kernel ) in order to buffering them  
before giving them back to the kernel.

Can you show me example, tutorials or documentation.

Thanks

Ghislain
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AF02899D-E5F1-432D-BA19-D3D7DB22305E>