Dan Groves wrote:
Hello all,
As part of project Clearview
(http://www.opensolaris.org/os/project/clearview/), we are updating
snoop so that it can filter VLAN tagged packets. I've posted a design
document and some background information to:
http://www.opensolaris.org/os/project/clearview/vlan_filtering/
A quick summary:
4.2 - Yes
4.3 - We can't replace pfmod, we need to add bpfmod
4.4 - No
4.5 - No
Maybe 4.2 can introduce a whole set of new commands for pfmod that
allows it to do variable-header retrieving of data?
After doing 4.3, a seperate(?) project/fast-track should be created
to integrate libpcap into ON. The libpcap shipped with ON should
present the same interface as open source (www.tcpdump.org) and
use bpfmod in Solaris. The downside is that interface provided by
libpcap isn't as stable as we'd like. The upside is that open source
applications could "auto-configure", find it present and use that
rather than opening up a DLPI STREAM and doing user-space
filtering on packets. And of course source code form an integrated
libpcap should be fed back to the original open source project to
get it supporting bpfmod and reduce future overhead of maintaining
libpcap in ON.
Despite pfmod being an unattractive interface to use, it is in man
pages and it has been around for a long time, so removing it may
not necessarily be an easy process, however bad it may be.
Darren
_______________________________________________
networking-discuss mailing list
[email protected]