📄 readme
字号:
@(#) $Header: README,v 1.18 97/06/12 14:23:56 leres Exp $ (LBL)LIBPCAP 0.4Lawrence Berkeley National LaboratoryNetwork Research Grouplibpcap@ee.lbl.govftp://ftp.ee.lbl.gov/libpcap.tar.ZThis 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.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 is in: ftp://ftp.ee.lbl.gov/papers/bpf-usenix93.ps.Z.Although 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/386, NetBSD, and FreeBSD. DEC OSF/1uses the packetfilter interface but has been extended to accept BPFfilters (which libpcap utilizes). Also, you can add BPF filter supportto Ultrix using the kernel source and/or object patches available in: ftp://gatekeeper.dec.com/pub/DEC/net/bpfext42.tar.Z.Problems, bugs, questions, desirable enhancements, source codecontributions, etc., should be sent to the email address"libpcap@ee.lbl.gov". - Steve McCanne Craig Leres Van Jacobson
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -