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
hannes bd4881668c add BPF_ filters for misc. IS-IS PDU Types 2002-12-06 00:01:33 +00:00
SUNOS4 Initial revision 1999-10-07 23:46:40 +00:00
Win32 Added the Win32 project files, that allow to compile libpcap and include it in the WinPcap source tree to generate wpcap.dll. 2002-08-09 13:54:19 +00:00
bpf/net Add support for RFC 2625 IP-over-Fibre Channel, mapping all the Linux 2002-10-18 08:46:13 +00:00
lbl Get rid of a bogus */ in the middle of a comment. 2002-08-02 03:24:15 +00:00
packaging RPM spec file 2001-05-05 00:57:33 +00:00
.cvsignore Add "stamp-h" and "stamp-h.in" to ".cvsignore"; they're already in 2001-10-13 05:29:27 +00:00
CHANGES started 0.7 CHANGES. 2001-10-23 04:37:31 +00:00
CREDITS From Kazushi Sugyo: address pointers in entries returned by 2002-10-19 02:25:40 +00:00
FILES Remove directory names. 2002-08-03 22:58:26 +00:00
INSTALL.txt An additional update. 2002-07-16 05:03:34 +00:00
LICENSE added license file 2000-10-09 22:38:56 +00:00
Makefile.in Put the different implementations of "pcap_findalldevs()" into separate 2002-07-27 18:45:34 +00:00
README Crank the version up to 0.8, as that's what the next release from this 2002-08-02 04:42:51 +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 Split the README items into "using BPF" and "using DLPI" items; if you 2002-10-08 07:27:39 +00:00
README.hpux Add a note that Rick Jones reports that HP-UX 11i needs no patches for 2002-06-29 04:39:03 +00:00
README.linux From Scott Barron <sb125499@ohiou.edu>: use the 2001-07-29 18:25:46 +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 Crank the version up to 0.8, as that's what the next release from this 2002-08-02 04:42:51 +00:00
acconfig.h Add "const" for autoconf 2.52 compatability. Longer term solution: 2001-11-12 22:18:01 +00:00
aclocal.m4 Put the different implementations of "pcap_findalldevs()" into separate 2002-07-27 18:45:34 +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 <pcap.h> includes <sys/types.h> and <sys/time.h>; there's no need to 2002-03-24 23:21:51 +00:00
bpf_image.c <pcap.h> includes <sys/types.h> and <sys/time.h>; there's no need to 2002-03-24 23:21:51 +00:00
config.guess newest config.guess and config.sub from ftp://sunsite.utk.edu/pub/gnu/ftp/config/ 2001-05-05 20:50:41 +00:00
config.h.in Put the different implementations of "pcap_findalldevs()" into separate 2002-07-27 18:45:34 +00:00
config.sub newest config.guess and config.sub from ftp://sunsite.utk.edu/pub/gnu/ftp/config/ 2001-05-05 20:50:41 +00:00
configure Red Hat Linux 7.2 appears to have a <net/raw.h> file, which causes the 2002-09-04 20:31:33 +00:00
configure.in Red Hat Linux 7.2 appears to have a <net/raw.h> file, which causes the 2002-09-04 20:31:33 +00:00
etherent.c add config.h, remove gnuc.h. remove __dead 2000-07-11 00:37:04 +00:00
ethertype.h I've seen captures with all four different flavors of IPX frames on 2001-01-14 21:26:52 +00:00
fad-getad.c From Kazushi Sugyo: address pointers in entries returned by 2002-10-19 02:25:40 +00:00
fad-gifc.c Put in a note about IPv6 addresses on platforms that have only 2002-08-03 20:24:33 +00:00
fad-glifc.c Leave it up to the platform-dependent "get interface list" code to 2002-07-30 08:12:13 +00:00
fad-null.c Put the different implementations of "pcap_findalldevs()" into separate 2002-07-27 18:45:34 +00:00
fad-win32.c Give it an SCCS and RCS ID. 2002-08-08 09:15:57 +00:00
gencode.c add BPF_ filters for misc. IS-IS PDU Types 2002-12-06 00:01:33 +00:00
gencode.h add BPF_ filters for misc. IS-IS PDU Types 2002-12-06 00:01:33 +00:00
grammar.y add BPF_ filters for misc. IS-IS PDU Types 2002-12-06 00:01:33 +00:00
inet.c As per Ayamura Kikuchi, on some UNIXes, such as IRIX, "sa_len" is 2002-11-13 06:46:16 +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 Include "IP6_misc.h" even on UNIX if __MINGW32__ is defined, as had 2002-08-02 05:53:53 +00:00
nlpid.h add BPF_ filters for misc. IS-IS PDU Types 2002-12-06 00:01:33 +00:00
optimize.c correct arg to calloc() - it is (nelem, size), not (size, nelem). from openbsd 2002-08-12 02:38:11 +00:00
pcap-bpf.c From Jon Lindgren <jonl@yubyub.net>, based on a note from Don Ebright 2002-10-08 07:18:07 +00:00
pcap-dlpi.c Add SunATM support, based on code from Yen Yen Lim at North Dakota State 2002-07-11 09:06:30 +00:00
pcap-enet.c whitespace cleanup 2002-06-11 17:04:44 +00:00
pcap-int.h Since the maximum error message size of libpcap is PCAP_ERRBUF_SIZE, this prevents having problems when using printf() to print the buffer, since the buffer will always be zero-terminated. 2002-08-20 15:33:31 +00:00
pcap-linux.c Add support for RFC 2625 IP-over-Fibre Channel, mapping all the Linux 2002-10-18 08:46:13 +00:00
pcap-namedb.h Pick up, from the FreeBSD libpcap, changes to surround all declarations with 2000-07-29 07:36:41 +00:00
pcap-nit.c Add SunATM support, based on code from Yen Yen Lim at North Dakota State 2002-07-11 09:06:30 +00:00
pcap-nit.h Initial revision 1999-10-07 23:46:40 +00:00
pcap-null.c Add SunATM support, based on code from Yen Yen Lim at North Dakota State 2002-07-11 09:06:30 +00:00
pcap-pf.c The genius who checked in the previous change removed a comma after a 2002-08-03 20:22:27 +00:00
pcap-pf.h Initial revision 1999-10-07 23:46:40 +00:00
pcap-snit.c From Guillaume Pelat <endymion_@users.sourceforge.net>: properly 2002-08-25 21:13:52 +00:00
pcap-snoop.c It appears that SIOCGIFMTU returns the MTU in the sense of "maximum 2002-07-30 07:48:20 +00:00
pcap-stdinc.h Give the file an SCCS and RCS ID. 2002-08-05 07:45:09 +00:00
pcap-win32.c Added support for raw ARCNET (878.1) under Win32. 2002-11-11 10:34:06 +00:00
pcap.3 Add support for RFC 2625 IP-over-Fibre Channel, mapping all the Linux 2002-10-18 08:46:13 +00:00
pcap.c Use <pcap-stdinc.h> only on Windows; on UNIX, selectively include, in 2002-08-02 03:44:19 +00:00
pcap.h Use <pcap-stdinc.h> only on Windows; on UNIX, selectively include, in 2002-08-02 03:44:19 +00:00
ppp.h IPv6 packet filtering code. 1999-10-19 15:18:28 +00:00
savefile.c There was a bug in pcap_open_offline: in case of error, the returned pointer was freed but the open file was not closed. Thus, a handle on the opened file was kept and could not be released as the returned pointer was null. 2002-10-24 08:09:42 +00:00
scanner.l add BPF_ filters for misc. IS-IS PDU Types 2002-12-06 00:01:33 +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.27 2002-08-02 04:42:51 guy Exp $ (LBL)

LIBPCAP 0.8
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.7.1 of LIBPCAP can be retrieved with the CVS tag "libpcap_0_7rel1":
	cvs -d :pserver:tcpdump@cvs.tcpdump.org:/tcpdump/master checkout -r libpcap_0_7rel1 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