📄 readme
字号:
@(#) $Header: /tcpdump/master/libpcap/README,v 1.30 2004/10/12 02:02:28 guy Exp $ (LBL)LIBPCAP 0.9Now maintained by "The Tcpdump Group"See www.tcpdump.orgPlease send inquiries/comments/reports to tcpdump-workers@tcpdump.orgAnonymous CVS is available via: cvs -d :pserver:tcpdump@cvs.tcpdump.org:/tcpdump/master login (password "anoncvs") cvs -d :pserver:tcpdump@cvs.tcpdump.org:/tcpdump/master checkout libpcapVersion 0.9 of LIBPCAP can be retrieved with the CVS tag "libpcap_0_9rel1": cvs -d :pserver:tcpdump@cvs.tcpdump.org:/tcpdump/master checkout -r libpcap_0_9rel1 libpcapPlease send patches against the master copy to patches@tcpdump.org.formerly from Lawrence Berkeley National Laboratory Network Research Group <libpcap@ee.lbl.gov> ftp://ftp.ee.lbl.gov/libpcap.tar.Z (0.4)This directory contains source code for libpcap, a system-independentinterface for user-level packet capture. libpcap provides a portableframework for low-level network monitoring. Applications includenetwork statistics collection, security monitoring, network debugging,etc. Since almost every system vendor provides a different interfacefor packet capture, and since we've developed several tools thatrequire this functionality, we've created this system-independent APIto ease in porting and to alleviate the need for severalsystem-dependent packet capture modules in each application.Note well: this interface is new and is likely to change.For some platforms there are README.{system} files that discuss issueswith the OS's interface for packet capture on those platforms, such ashow to enable support for that interface in the OS, if it's not built inby default.The libpcap interface supports a filtering mechanism based on thearchitecture in the BSD packet filter. BPF is described in the 1993Winter Usenix paper ``The BSD Packet Filter: A New Architecture forUser-level Packet Capture''. A compressed PostScript version can befound at ftp://ftp.ee.lbl.gov/papers/bpf-usenix93.ps.Zor http://www.tcpdump.org/papers/bpf-usenix93.ps.Zand a gzipped version can be found at http://www.tcpdump.org/papers/bpf-usenix93.ps.gzA PDF version can be found at http://www.tcpdump.org/papers/bpf-usenix93.pdfAlthough most packet capture interfaces support in-kernel filtering,libpcap utilizes in-kernel filtering only for the BPF interface.On systems that don't have BPF, all packets are read into user-spaceand the BPF filters are evaluated in the libpcap library, incurringadded overhead (especially, for selective filters). Ideally, libpcapwould translate BPF filters into a filter program that is compatiblewith the underlying kernel subsystem, but this is not yet implemented.BPF is standard in 4.4BSD, BSD/OS, NetBSD, FreeBSD, and OpenBSD. DECOSF/1/Digital UNIX/Tru64 UNIX uses the packetfilter interface but hasbeen extended to accept BPF filters (which libpcap utilizes). Also, youcan add BPF filter support to Ultrix using the kernel source and/orobject patches available in: ftp://gatekeeper.dec.com/pub/DEC/net/bpfext42.tar.Z.Linux, in the 2.2 kernel and later kernels, has a "Socket Filter"mechanism that accepts BPF filters; see the README.linux file forinformation on configuring that option.Problems, bugs, questions, desirable enhancements, etc. should be sentto the address "tcpdump-workers@tcpdump.org". Bugs, support requests,and feature requests may also be submitted on the SourceForge site forlibpcap at http://sourceforge.net/projects/libpcap/Source code contributions, etc. should be sent to the email address"patches@tcpdump.org", or submitted as patches on the SourceForge sitefor libpcap.Current versions can be found at www.tcpdump.org, or the SourceForgesite for libpcap. - The TCPdump team
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -