dect
/
libpcap
Archived
13
0
Fork 0
PCAP Library with DECT support
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
guy 2f23c057fc Add to the beginning a note from Rick Jones that 11i (11.11) and later
don't have any known issues with promiscuous mode.
2005-01-15 01:23:56 +00:00
ChmodBPF Add an OS X startup item to set the permissions and/or ownership of the 2004-10-18 09:51:02 +00:00
SUNOS4 Initial revision 1999-10-07 23:46:40 +00:00
Win32 Corrected the definition of IN_EXPERIMENTAL (0xfxxxxxxx is the experimental space) 2004-07-06 23:45:29 +00:00
bpf/net Add _U_ to "rcsid[]" definitions, to eliminate "unused variable" 2003-11-15 23:23:57 +00:00
doc documentation for proposed pcap format 2004-04-05 20:26:58 +00:00
lbl Get rid of a bogus */ in the middle of a comment. 2002-08-02 03:24:15 +00:00
missing Move "snprintf.c" to the "missing" directory, as that's where 2004-04-05 22:43:50 +00:00
msdos Actually add the RCS ID claimed to be added by the previous checkin. 2004-12-19 19:47:01 +00:00
packaging Go with 0.9, not 1.0, for the next release. 2004-10-12 01:55:47 +00:00
.cvsignore From Motonori Shindo: version.h is a generated file, ignore it when 2003-03-01 05:04:40 +00:00
CHANGES update changes file 2004-03-30 14:42:50 +00:00
CREDITS From Dug Song <dugsong@monkey.org>: don't fetch the filter code until 2004-11-30 10:51:41 +00:00
FILES From Gisle Vanem: MS-DOS support. 2004-12-18 08:52:08 +00:00
INSTALL.txt From Gisle Vanem: MS-DOS support. 2004-12-18 08:52:08 +00:00
LICENSE added license file 2000-10-09 22:38:56 +00:00
Makefile.in From Albert Chin <china@thewrittenword.com>: on platforms that lack 2003-12-15 01:35:03 +00:00
README Another update for the new version number. 2004-10-12 02:02:28 +00:00
README.Win32 Added a readme that explains how to compile libpcap under win32. 2002-08-09 13:55:12 +00:00
README.aix From Shaun Clowes: update the to reflect the fact that it should now 2003-04-17 06:32:37 +00:00
README.dag Check in Jesper Peterson's README.dag file, unintentionally left out of 2003-07-24 08:02:34 +00:00
README.hpux Add to the beginning a note from Rick Jones that 11i (11.11) and later 2005-01-15 01:23:56 +00:00
README.linux From Scott Barron <sb125499@ohiou.edu>: use the 2001-07-29 18:25:46 +00:00
README.macosx Add an OS X startup item to set the permissions and/or ownership of the 2004-10-18 09:51:02 +00:00
README.tru64 Pick up the "README.tru64" file from Ethereal, and change it to refer to 2001-01-24 06:52:52 +00:00
TODO Documentation fixes from Chris Pepper <pepper@mail.reppep.com>. 2001-06-05 03:45:53 +00:00
VERSION Go with 0.9, not 1.0, for the next release. 2004-10-12 01:55:47 +00:00
acconfig.h Add "const" for autoconf 2.52 compatability. Longer term solution: 2001-11-12 22:18:01 +00:00
aclocal.m4 From Brian Ginsbach: add the Cray NV1 CPU to the list of CPUs that don't 2003-11-16 09:45:31 +00:00
arcnet.h Fix up the RCS ID, and put in a line indicating the NetBSD header file 2001-04-24 02:17:52 +00:00
atmuni31.h Add SunATM support, based on code from Yen Yen Lim at North Dakota State 2002-07-11 09:06:30 +00:00
bpf_dump.c Add _U_ to "rcsid[]" definitions, to eliminate "unused variable" 2003-11-15 23:23:57 +00:00
bpf_image.c Add _U_ to "rcsid[]" definitions, to eliminate "unused variable" 2003-11-15 23:23:57 +00:00
config.guess Latest config.guess and config.sub from 2003-11-18 06:30:50 +00:00
config.h.in Use "version.h" if autoconf is being used (as that assumes a 2004-12-17 23:25:36 +00:00
config.sub Latest config.guess and config.sub from 2003-11-18 06:30:50 +00:00
configure Use "version.h" if autoconf is being used (as that assumes a 2004-12-17 23:25:36 +00:00
configure.in Use "version.h" if autoconf is being used (as that assumes a 2004-12-17 23:25:36 +00:00
etherent.c Add _U_ to "rcsid[]" definitions, to eliminate "unused variable" 2003-11-15 23:23:57 +00:00
ethertype.h add baseline support for MPLS protocol and per-label filtering 2004-06-16 08:20:28 +00:00
fad-getad.c From Dean Gaudet <dean@arctic.org>: handle AF_PACKET addresses on OSes 2004-11-04 07:26:04 +00:00
fad-gifc.c From Shaun Clowes: work around brokenness in the 32-bit compatibility 2004-02-27 08:03:05 +00:00
fad-glifc.c Add _U_ to "rcsid[]" definitions, to eliminate "unused variable" 2003-11-15 23:23:57 +00:00
fad-null.c Add _U_ to "rcsid[]" definitions, to eliminate "unused variable" 2003-11-15 23:23:57 +00:00
fad-win32.c Fixed a bug in pcap_findalldevs on Win32 that not initialized *alldevsp to NULL 2004-04-30 09:12:42 +00:00
gencode.c add gencode support for Juniper ML/LS PIC DLT_ 2005-01-12 09:02:55 +00:00
gencode.h add baseline support for MPLS protocol and per-label filtering 2004-06-16 08:20:28 +00:00
grammar.y From Gisle Vanem: there's no need to include <sys/time.h> in 2004-12-18 08:49:23 +00:00
inet.c From Gisle Vanem: MS-DOS support. 2004-12-18 08:52:08 +00:00
install-sh Initial revision 1999-10-07 23:46:40 +00:00
llc.h Add a "netbeui" keyword, which selects NetBEUI packets (LLC packets with 2001-01-28 09:44:48 +00:00
mkdep Initial revision 1999-10-07 23:46:40 +00:00
nametoaddr.c typo 2003-12-24 09:14:21 +00:00
nlpid.h add BPF_ filters for misc. IS-IS PDU Types 2002-12-06 00:01:33 +00:00
optimize.c From Gisle Vanem: MS-DOS support. 2004-12-18 08:52:08 +00:00
pcap-bpf.c Put the FDDI padding (if any) into the pcap_t structure on platforms 2004-12-15 00:25:08 +00:00
pcap-bpf.h add support for Juniper PIC Peer DLT_ 2005-01-12 09:15:05 +00:00
pcap-dag.c From Koryn Grant: 2004-11-10 09:28:25 +00:00
pcap-dag.h Add a "read" function pointer to the pcap_t structure, which handles 2003-07-25 05:32:02 +00:00
pcap-dlpi.c Add a "pcap_close_common()" routine which can be used as the close 2004-10-19 07:06:11 +00:00
pcap-dos.c From Gisle Vanem: MS-DOS support. 2004-12-18 08:52:08 +00:00
pcap-dos.h From Gisle Vanem: MS-DOS support. 2004-12-18 08:52:08 +00:00
pcap-enet.c Add _U_ to "rcsid[]" definitions, to eliminate "unused variable" 2003-11-15 23:23:57 +00:00
pcap-int.h From Gisle Vanem: MS-DOS support. 2004-12-18 08:52:08 +00:00
pcap-linux.c Add a "pcap_close_common()" routine which can be used as the close 2004-10-19 07:06:11 +00:00
pcap-namedb.h From Gisle Vanem: fix the include-only-once #define's name. 2004-12-19 19:48:37 +00:00
pcap-nit.c Add a "pcap_close_common()" routine which can be used as the close 2004-10-19 07:06:11 +00:00
pcap-nit.h Initial revision 1999-10-07 23:46:40 +00:00
pcap-null.c Add _U_ to "rcsid[]" definitions, to eliminate "unused variable" 2003-11-15 23:23:57 +00:00
pcap-pf.c Put the FDDI padding (if any) into the pcap_t structure on platforms 2004-12-15 00:25:08 +00:00
pcap-pf.h Initial revision 1999-10-07 23:46:40 +00:00
pcap-snit.c Add a "pcap_close_common()" routine which can be used as the close 2004-10-19 07:06:11 +00:00
pcap-snoop.c Add a "pcap_close_common()" routine which can be used as the close 2004-10-19 07:06:11 +00:00
pcap-stdinc.h Avoids a compiler warning in case _WINSOCKAPI_ was already defined (someone defined _WINSOCKAPI_ when including 'windows.h', in order * to prevent it from including 'winsock.h') 2003-09-25 15:59:42 +00:00
pcap-win32.c On Win32, don't close "p->fd" in "pcap_close_common()", as there is no 2004-12-17 20:41:59 +00:00
pcap.3 Don't boldface the period at the end of a sentence. 2004-12-17 21:27:54 +00:00
pcap.c add support for Juniper PIC Peer DLT_ 2005-01-12 09:15:05 +00:00
pcap.h From Gisle Vanem: MS-DOS support. 2004-12-18 08:52:08 +00:00
pcap1.h update changes file 2004-03-30 14:42:50 +00:00
pf.h Not all systems have "sa_family_t"; use "u_int8_t" instead. 2004-04-02 06:33:30 +00:00
ppp.h add support for another PPP variant as per request from Karsten Keil <kkeil@suse.de> 2004-08-18 14:25:01 +00:00
rawss7.h renamed rawssw7 to rawss7.h 2003-09-10 19:55:36 +00:00
savefile.c add support for Juniper PIC Peer DLT_ 2005-01-12 09:15:05 +00:00
scanner.l add baseline support for MPLS protocol and per-label filtering 2004-06-16 08:20:28 +00:00
sll.h whitespace cleanup 2002-06-11 17:04:44 +00:00
sunatmpos.h Add SunATM support, based on code from Yen Yen Lim at North Dakota State 2002-07-11 09:06:30 +00:00

README

@(#) $Header: /tcpdump/master/libpcap/README,v 1.30 2004-10-12 02:02:28 guy Exp $ (LBL)

LIBPCAP 0.9
Now maintained by "The Tcpdump Group"
See 		www.tcpdump.org

Please send inquiries/comments/reports to 	tcpdump-workers@tcpdump.org

Anonymous 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 libpcap

Version 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 libpcap

Please 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-independent
interface for user-level packet capture.  libpcap provides a portable
framework for low-level network monitoring.  Applications include
network statistics collection, security monitoring, network debugging,
etc.  Since almost every system vendor provides a different interface
for packet capture, and since we've developed several tools that
require this functionality, we've created this system-independent API
to ease in porting and to alleviate the need for several
system-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 issues
with the OS's interface for packet capture on those platforms, such as
how to enable support for that interface in the OS, if it's not built in
by default.

The libpcap interface supports a filtering mechanism based on the
architecture in the BSD packet filter.  BPF is described in the 1993
Winter Usenix paper ``The BSD Packet Filter: A New Architecture for
User-level Packet Capture''.  A compressed PostScript version can be
found at

	ftp://ftp.ee.lbl.gov/papers/bpf-usenix93.ps.Z

or

	http://www.tcpdump.org/papers/bpf-usenix93.ps.Z

and a gzipped version can be found at

	http://www.tcpdump.org/papers/bpf-usenix93.ps.gz

A PDF version can be found at

	http://www.tcpdump.org/papers/bpf-usenix93.pdf

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-space
and the BPF filters are evaluated in the libpcap library, incurring
added overhead (especially, for selective filters).  Ideally, libpcap
would translate BPF filters into a filter program that is compatible
with the underlying kernel subsystem, but this is not yet implemented.

BPF is standard in 4.4BSD, BSD/OS, NetBSD, FreeBSD, and OpenBSD.  DEC
OSF/1/Digital UNIX/Tru64 UNIX uses the packetfilter interface but has
been extended to accept BPF filters (which libpcap utilizes).  Also, you
can add BPF filter support to Ultrix using the kernel source and/or
object 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 for
information on configuring that option.

Problems, bugs, questions, desirable enhancements, etc. should be sent
to the address "tcpdump-workers@tcpdump.org".  Bugs, support requests,
and feature requests may also be submitted on the SourceForge site for
libpcap 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 site
for libpcap.

Current versions can be found at www.tcpdump.org, or the SourceForge
site for libpcap.

 - The TCPdump team