dect
/
libpcap
Archived
10
0
Fork 0
PCAP Library with DECT support
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 
 
 
guy 231404ec64 Add pcap_platform_finddevs() to WinPcap. 16 years ago
ChmodBPF Add an OS X startup item to set the permissions and/or ownership of the 19 years ago
SUNOS4 Initial revision 24 years ago
Win32 Do not compile gai_strerrorA on Windows under MingW. gai_strerror is already 16 years ago
bpf/net Put the public libpcap headers into a pcap subdirectory in both the 17 years ago
doc documentation for proposed pcap format 19 years ago
lbl Get rid of a bogus */ in the middle of a comment. 21 years ago
missing Move "snprintf.c" to the "missing" directory, as that's where 19 years ago
msdos Actually add the RCS ID claimed to be added by the previous checkin. 18 years ago
packaging Go with 0.9, not 1.0, for the next release. 19 years ago
pcap From Paolo Abeni: 16 years ago
.cvsignore From Motonori Shindo: version.h is a generated file, ignore it when 20 years ago
CHANGES changes from 3.9 branch. 16 years ago
CREDITS From RCB-ISIS on SourceForge: handle LynxOS, which has AF_PACKET but 16 years ago
FILES From Paolo Abeni: 16 years ago
INSTALL.txt From Paolo Abeni: 16 years ago
LICENSE added license file 23 years ago
Makefile.in fixed up the releasetar target to create proper version numbered symlink/. 16 years ago
README Another update for the new version number. 19 years ago
README.Win32 Added a readme that explains how to compile libpcap under win32. 21 years ago
README.aix From Shaun Clowes: update the to reflect the fact that it should now 20 years ago
README.dag From Stephen Donnelly: 17 years ago
README.hpux Add to the beginning a note from Rick Jones that 11i (11.11) and later 18 years ago
README.linux From Scott Barron <sb125499@ohiou.edu>: use the 22 years ago
README.macosx Add an OS X startup item to set the permissions and/or ownership of the 19 years ago
README.septel From Gilbert Hoyek <gil_hoyek@hotmail.com>: support for capturing SS7 18 years ago
README.tru64 Pick up the "README.tru64" file from Ethereal, and change it to refer to 22 years ago
TODO No, that's not the right fix for the Linux kernel interface; the right 17 years ago
VERSION Go with 0.9, not 1.0, for the next release. 19 years ago
acconfig.h Add "const" for autoconf 2.52 compatability. Longer term solution: 22 years ago
aclocal.m4 AC_TRY_COMPILE works only for code that fits inside "main()"; the test 18 years ago
arcnet.h Fix up the RCS ID, and put in a line indicating the NetBSD header file 22 years ago
atmuni31.h Add SunATM support, based on code from Yen Yen Lim at North Dakota State 21 years ago
bpf_dump.c Add _U_ to "rcsid[]" definitions, to eliminate "unused variable" 19 years ago
bpf_image.c Pick up changes from NetBSD: 16 years ago
config.guess Latest config.guess and config.sub from 19 years ago
config.h.in From Max Laier: check whether the system has <net/pfvar.h> and: 16 years ago
config.sub Latest config.guess and config.sub from 19 years ago
configure From Max Laier: check whether the system has <net/pfvar.h> and: 16 years ago
configure.in From Max Laier: check whether the system has <net/pfvar.h> and: 16 years ago
etherent.c Put the public libpcap headers into a pcap subdirectory in both the 17 years ago
ethertype.h Add "pppoed" and "pppoes" keywords, for PPPoE Discovery and Session 18 years ago
fad-getad.c From RCB-ISIS on SourceForge: handle LynxOS, which has AF_PACKET but 16 years ago
fad-gifc.c Checking whether the amount of data returned by SIOCGIFCONF is less than 18 years ago
fad-glifc.c From Albert Chin: fix a cut-and-pasteo. 18 years ago
fad-null.c Add _U_ to "rcsid[]" definitions, to eliminate "unused variable" 19 years ago
fad-win32.c Add pcap_platform_finddevs() to WinPcap. 16 years ago
filtertest.c We're building with the current version of libpcap, so we know we have 18 years ago
findalldevstest.c Add another test program, based on the test program for 18 years ago
gencode.c New DLT for Bluetooth H:4 with pseudo-header giving direction. 16 years ago
gencode.h Pick up changes from NetBSD: 16 years ago
grammar.y From Max Laier: check whether the system has <net/pfvar.h> and: 16 years ago
ieee80211.h From Sepherosa Ziehau: additional filter operations for 802.11 frame 16 years ago
inet.c Pick up changes from NetBSD: 16 years ago
install-sh Initial revision 24 years ago
llc.h Add a "netbeui" keyword, which selects NetBEUI packets (LLC packets with 22 years ago
mkdep Initial revision 24 years ago
nametoaddr.c Pick up changes from NetBSD: 16 years ago
nlpid.h add BPF_ filters for misc. IS-IS PDU Types 20 years ago
optimize.c From OpenBSD: use calloc() to avoid malloc(n * m) overflows. 16 years ago
pcap-bpf.c Check for "/dev/bpf"; if we find it, use BPF as the capture mechanism, 16 years ago
pcap-bpf.h Add RCS IDs. 16 years ago
pcap-bt-linux.c From Paolo Abeni: 16 years ago
pcap-bt-linux.h From Paolo Abeni: fix copyrights. 16 years ago
pcap-dag.c From Stephen Donnelly of Endace: 16 years ago
pcap-dag.h From Stephen Donnelly: updates to the DAG support, to support their 18 years ago
pcap-dlpi.c putmsg() returns 0 or -1, not the number of bytes written. 17 years ago
pcap-dos.c From Pawel Pokrywka: add support for requesting that only received 18 years ago
pcap-dos.h From Gisle Vanem: MS-DOS support. 18 years ago
pcap-enet.c Put the public libpcap headers into a pcap subdirectory in both the 17 years ago
pcap-int.h Include <pcap/pcap.h>, as that's now where we're putting it. 16 years ago
pcap-linux.c Move the Linux Bluetooth and USB declarations to a header file. 17 years ago
pcap-namedb.h Add a cautionary note to OS vendors here as well. 17 years ago
pcap-nit.c From Pawel Pokrywka: add support for requesting that only received 18 years ago
pcap-nit.h Initial revision 24 years ago
pcap-null.c Add _U_ to "rcsid[]" definitions, to eliminate "unused variable" 19 years ago
pcap-pf.c Put the public libpcap headers into a pcap subdirectory in both the 17 years ago
pcap-pf.h Initial revision 24 years ago
pcap-septel.c The data link layer isn't settable, so get rid of 18 years ago
pcap-septel.h From Gilbert Hoyek <gil_hoyek@hotmail.com>: support for capturing SS7 18 years ago
pcap-snit.c From Pawel Pokrywka: add support for requesting that only received 18 years ago
pcap-snoop.c From Pawel Pokrywka: add support for requesting that only received 18 years ago
pcap-stdinc.h Add RCS IDs. 16 years ago
pcap-usb-linux.c From Paolo Abeni: fix copyrights. 16 years ago
pcap-usb-linux.h From Paolo Abeni: fix copyrights. 16 years ago
pcap-win32.c Add pcap_platform_finddevs() to WinPcap. 16 years ago
pcap.3 Pick up changes from NetBSD: 16 years ago
pcap.c New DLT for Bluetooth H:4 with pseudo-header giving direction. 16 years ago
pcap.h Put the public libpcap headers into a pcap subdirectory in both the 17 years ago
pcap1.h Put the public libpcap headers into a pcap subdirectory in both the 17 years ago
ppp.h The DLT_LINUX_PPP_WITHDIRECTION is also used for pppd on some BSDs, so 18 years ago
savefile.c New DLT for Bluetooth H:4 with pseudo-header giving direction. 16 years ago
scanner.l Pick up changes from NetBSD: 16 years ago
sunatmpos.h Add SunATM support, based on code from Yen Yen Lim at North Dakota State 21 years ago

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