Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/libpcap/dist Import libpcap-1.5.2
details: https://anonhg.NetBSD.org/src/rev/3e8e315a2009
branches: trunk
changeset: 325602:3e8e315a2009
user: christos <christos%NetBSD.org@localhost>
date: Tue Dec 31 16:57:18 2013 +0000
description:
Import libpcap-1.5.2
diffstat:
external/bsd/libpcap/dist/CHANGES | 45 +
external/bsd/libpcap/dist/CREDITS | 34 +-
external/bsd/libpcap/dist/Makefile-devel-adds | 22 +
external/bsd/libpcap/dist/Makefile.in | 101 +-
external/bsd/libpcap/dist/README | 25 +-
external/bsd/libpcap/dist/README.aix | 8 +-
external/bsd/libpcap/dist/README.dag | 20 +-
external/bsd/libpcap/dist/VERSION | 2 +-
external/bsd/libpcap/dist/aclocal.m4 | 472 ++-
external/bsd/libpcap/dist/bpf_image.c | 17 +-
external/bsd/libpcap/dist/config.h.in | 29 +-
external/bsd/libpcap/dist/configure | 1578 ++++++--
external/bsd/libpcap/dist/configure.in | 244 +-
external/bsd/libpcap/dist/dlpisubs.c | 63 +-
external/bsd/libpcap/dist/dlpisubs.h | 20 +-
external/bsd/libpcap/dist/fad-getad.c | 29 +-
external/bsd/libpcap/dist/fad-gifc.c | 16 +-
external/bsd/libpcap/dist/fad-glifc.c | 13 +-
external/bsd/libpcap/dist/fad-null.c | 4 +-
external/bsd/libpcap/dist/fad-sita.c | 4 +-
external/bsd/libpcap/dist/fad-win32.c | 22 +-
external/bsd/libpcap/dist/gencode.h | 21 +-
external/bsd/libpcap/dist/mkdep | 10 +-
external/bsd/libpcap/dist/nametoaddr.c | 5 +-
external/bsd/libpcap/dist/pcap-bt-linux.c | 63 +-
external/bsd/libpcap/dist/pcap-bt-linux.h | 6 +-
external/bsd/libpcap/dist/pcap-can-linux.c | 69 +-
external/bsd/libpcap/dist/pcap-can-linux.h | 5 +-
external/bsd/libpcap/dist/pcap-canusb-linux.c | 390 +-
external/bsd/libpcap/dist/pcap-canusb-linux.h | 6 +-
external/bsd/libpcap/dist/pcap-common.c | 55 +-
external/bsd/libpcap/dist/pcap-dag.c | 233 +-
external/bsd/libpcap/dist/pcap-dag.h | 6 +-
external/bsd/libpcap/dist/pcap-dbus.c | 281 +
external/bsd/libpcap/dist/pcap-dbus.h | 4 +
external/bsd/libpcap/dist/pcap-dlpi.c | 52 +-
external/bsd/libpcap/dist/pcap-dos.c | 51 +-
external/bsd/libpcap/dist/pcap-filter.manmisc.in | 108 +-
external/bsd/libpcap/dist/pcap-int.h | 302 +-
external/bsd/libpcap/dist/pcap-libdlpi.c | 40 +-
external/bsd/libpcap/dist/pcap-linux.c | 1781 ++++++---
external/bsd/libpcap/dist/pcap-netfilter-linux.c | 289 +-
external/bsd/libpcap/dist/pcap-netfilter-linux.h | 6 +-
external/bsd/libpcap/dist/pcap-nit.c | 56 +-
external/bsd/libpcap/dist/pcap-null.c | 4 +-
external/bsd/libpcap/dist/pcap-pf.c | 78 +-
external/bsd/libpcap/dist/pcap-savefile.manfile.in | 33 +-
external/bsd/libpcap/dist/pcap-septel.c | 53 +-
external/bsd/libpcap/dist/pcap-septel.h | 6 +-
external/bsd/libpcap/dist/pcap-sita.c | 139 +-
external/bsd/libpcap/dist/pcap-snf.c | 92 +-
external/bsd/libpcap/dist/pcap-snf.h | 6 +-
external/bsd/libpcap/dist/pcap-snit.c | 56 +-
external/bsd/libpcap/dist/pcap-snoop.c | 21 +-
external/bsd/libpcap/dist/pcap-usb-linux.c | 99 +-
external/bsd/libpcap/dist/pcap-usb-linux.h | 6 +-
external/bsd/libpcap/dist/pcap-win32.c | 72 +-
external/bsd/libpcap/dist/pcap_breakloop.3pcap | 19 +-
external/bsd/libpcap/dist/pcap_datalink.3pcap.in | 29 +
external/bsd/libpcap/dist/pcap_get_tstamp_precision.3pcap.in | 47 +
external/bsd/libpcap/dist/pcap_is_swapped.3pcap | 15 +-
external/bsd/libpcap/dist/pcap_list_datalinks.3pcap.in | 17 +-
external/bsd/libpcap/dist/pcap_loop.3pcap | 45 +-
external/bsd/libpcap/dist/pcap_next_ex.3pcap | 38 +-
external/bsd/libpcap/dist/pcap_offline_filter.3pcap | 2 +-
external/bsd/libpcap/dist/pcap_open_dead.3pcap.in | 41 +-
external/bsd/libpcap/dist/pcap_set_immediate_mode.3pcap | 47 +
external/bsd/libpcap/dist/pcap_set_tstamp_precision.3pcap.in | 61 +
external/bsd/libpcap/dist/pcap_snapshot.3pcap | 10 +
external/bsd/libpcap/dist/savefile.c | 90 +-
external/bsd/libpcap/dist/sf-pcap-ng.h | 5 +-
external/bsd/libpcap/dist/sf-pcap.h | 5 +-
external/bsd/libpcap/dist/tests/valgrindtest.c | 410 ++
73 files changed, 5734 insertions(+), 2419 deletions(-)
diffs (truncated from 14468 to 300 lines):
diff -r 15d9d6aa0509 -r 3e8e315a2009 external/bsd/libpcap/dist/CHANGES
--- a/external/bsd/libpcap/dist/CHANGES Tue Dec 31 14:51:46 2013 +0000
+++ b/external/bsd/libpcap/dist/CHANGES Tue Dec 31 16:57:18 2013 +0000
@@ -1,3 +1,48 @@
+Wednesday October 30, 2013 guy%alum.mit.edu@localhost
+Summary for 1.5.0 libpcap release
+ TPACKET_V3 support added for Linux
+ Point users to the the-tcpdump-group repository on GitHub rather
+ than the mcr repository
+ Checks added for malloc()/realloc()/etc. failures
+ Fixed build on Solaris 11
+ Support filtering filtering E1 SS7 traffic on MTP2 layer Annex A
+ Use "ln -s" to link man pages by default
+ Added pcap_open_dead_with_tstamp_precision API interface.
+ Many changes to autoconf to deal better with non-GCC compilers
+ added many new DLT types
+
+Saturday April 6, 2013 guy%alum.mit.edu@localhost
+Summary for 1.4.0 libpcap release
+ Add netfilter/nfqueue interface.
+ If we don't have support for IPv6 address resolution, support,
+ in filter expressions, what IPv6 stuff we can.
+ Fix pcap-config to include -lpthread if canusb support is
+ present
+ Try to fix "pcap_parse not defined" problems when --without-flex
+ and --without-bison are used when you have Flex and Bison
+ Fix some issues with the pcap_loop man page.
+ Fix pcap_getnonblock() and pcap_setnonblock() to fill in the
+ supplied error message buffer
+ Fix typo that, it appeared, would cause pcap-libdlpi.c not to
+ compile (perhaps systems with libdlpi also have BPF and use
+ that instead)
+ Catch attempts to call pcap_compile() on a non-activated pcap_t
+ Fix crash on Linux with CAN-USB support without usbfs
+ Fix addition of VLAN tags for Linux cooked captures
+ Check for both EOPNOTSUPP and EINVAL after SIOCETHTOOL ioctl, so
+ that the driver can report either one if it doesn't support
+ SIOCETHTOOL
+ Add DLT_INFINIBAND and DLT_SCTP
+ Describe "proto XXX" and "protochain XXX" in the pcap-filter man
+ page
+ Handle either directories, or symlinks to directories, that
+ correspond to interfaces in /sys/class/net
+ Fix handling of VLAN tag insertion to check, on Linux 3.x
+ kernels, for VLAN tag valid flag
+ Clean up some man pages
+ Support libnl3 as well as libnl1 and libnl2 on Linux
+ Fix handling of Bluetooth devices on 3.x Linux kernels
+
Friday March 30, 2012. mcr%sandelman.ca@localhost
Summary for 1.3.0 libpcap release
Handle DLT_PFSYNC in {FreeBSD, other *BSD+Mac OS X, other}.
diff -r 15d9d6aa0509 -r 3e8e315a2009 external/bsd/libpcap/dist/CREDITS
--- a/external/bsd/libpcap/dist/CREDITS Tue Dec 31 14:51:46 2013 +0000
+++ b/external/bsd/libpcap/dist/CREDITS Tue Dec 31 16:57:18 2013 +0000
@@ -2,6 +2,7 @@
The current maintainers:
Bill Fenner <fenner at research dot att dot com>
+ Denis Ovsienko <infrastation at yandex dot ru>
Fulvio Risso <risso at polito dot it>
Guy Harris <guy at alum dot mit dot edu>
Hannes Gredler <hannes at juniper dot net>
@@ -9,18 +10,23 @@
Additional people who have contributed patches:
+ Akos Vandra <axos88 at gmail dot com>
Alan Bawden <Alan at LCS dot MIT dot EDU>
Albert Chin <china at thewrittenword dot com>
Alexander 'Leo' Bergolth <Leo dot Bergolth at wu-wien dot ac dot at>
Alexey Kuznetsov <kuznet at ms2 dot inr dot ac dot ru>
Alon Bar-Lev <alonbl at sourceforge dot net>
+ Andres Perera <andres dot p at zoho dot com>
Andrew Brown <atatat at atatdot dot net>
<andy-1 at sourceforge dot net>
+ Ani Sinha <ani at aristanetworks dot com>
Antti Kantee <pooka at netbsd dot org>
Arien Vijn <arienvijn at sourceforge dot net>
Arkadiusz Miskiewicz <misiek at pld dot org dot pl>
Armando L. Caro Jr. <acaro at mail dot eecis dot udel dot edu>
Assar Westerlund <assar at sics dot se>
+ Bill Parker <wp02855 at gmail dot com>
+ Brent Cook <brent at boundary dot com>
Brian Ginsbach <ginsbach at cray dot com>
Charles M. Hannum <mycroft at netbsd dot org>
Chris G. Demetriou <cgd at netbsd dot org>
@@ -29,15 +35,21 @@
Chris Pepper <pepper at mail dot reppep dot com>
Christian Bell <csbell at myri dot com>
Christian Peron <csjp at freebsd dot org>
+ Christian Svensson <blue at cmd dot nu>
Daniele Orlandi <daniele at orlandi dot com>
+ Darren Lim <darren dot lim at endace dot com>
Darren Reed <darrenr at sun dot com>
+ David Clark <david dot clark at datasoft dot com>
David Kaelbling <drk at sgi dot com>
+ David Ward <david dot ward at ll dot mit dot edu>
David Young <dyoung at ojctech dot com>
Dean Gaudet <dean at arctic dot org>
dhruv <rsrivat at sourceforge dot net>
Don Ebright <Don dot Ebright at compuware dot com>
Dug Song <dugsong at monkey dot org>
Dustin Spicuzza <dustin at virtualroadside dot com>
+ dzejarczech <dzejarczech at sourceforge dot net>
+ Edward Sheldrake <ejs1920 at sourceforge dot net>
Eric Anderson <anderse at hpl dot hp dot com>
Erik de Castro Lopo <erik dot de dot castro dot lopo at sensorynetworks dot com>
Felix Obenhuber <felix at obenhuber dot de>
@@ -46,31 +58,37 @@
frederich <frederich at sourceforge dot net>
Fulko Hew <fulko dot hew at gmail dot com>
Fumiyuki Shimizu <fumifumi at abacustech dot jp>
+ Gabor Tatarka <gabor dot tatarka at ericsson dot com>
Garrett Cooper <yaberauneya at sourceforge dot net>
+ George Neville-Neil <gnn at freebsd dot org>
Gianluca Varenni <gianluca dot varenni at gmail dot com>
Gilbert Hoyek <gil_hoyek at hotmail dot com>
Gisle Vanem <gvanem at broadpark dot no>
Graeme Hewson <ghewson at cix dot compulink dot co dot uk>
+ Gregor Maier <gregor at net dot in dot tum dot de>
Greg Stark <gsstark at mit dot edu>
Greg Troxel <gdt at ir dot bbn dot com>
- Gregor Maier <gregor at net dot in dot tum dot de>
Guillaume Pelat <endymion_ at users dot sourceforge dot net>
+ Gustavo Zacarias <gustavo at zacarias dot com dot ar>
Hagen Paul Pfeifer <hagen at jauu dot net>
Henri Doreau <hdoreau at sourceforge dot net>
Hyung Sik Yoon <hsyn at kr dot ibm dot com>
Igor Khristophorov <igor at atdot dot org>
+ Jakub Zawadzki <darkjames at darkjames dot pl>
Jan-Philip Velders <jpv at veldersjes dot net>
Jason R. Thorpe <thorpej at netbsd dot org>
Javier Achirica <achirica at ttd dot net>
+ Jean-Louis Charton <Jean-Louis dot CHARTON at oikialog dot com>
Jean Tourrilhes <jt at hpl dot hp dot com>
- Jean-Louis Charton <Jean-Louis.CHARTON at oikialog dot com>
Jefferson Ogata <jogata at nodc dot noaa dot gov>
Jesper Dangaard Brouer <hawk at comx dot dk>
Jesper Peterson <jesper at endace dot com>
+ Jiri Slaby <jirislaby at gmail dot com>
Joerg Mayer <jmayer at loplof dot de>
John Bankier <jbankier at rainfinity dot com>
Jon Lindgren <jonl at yubyub dot net>
Jon Smirl <jonsmirl at gmail dot com>
+ Jorge Boncompte [DTI2] <jorge at dti2 dot net>
Juergen Schoenwaelder <schoenw at ibr dot cs dot tu-bs dot de>
Julien Moutinho <julm at savines dot alpes dot fr dot eu dot org>
Jung-uk Kim <jkim at FreeBSD dot org>
@@ -84,6 +102,7 @@
Love Hörnquist-�strand <lha at stacken dot kth dot se>
Luis MartinGarcia <luis dot mgarc at gmail dot com>
Maciej W. Rozycki <macro at ds2 dot pg dot gda dot pl>
+ Mansour Behabadi <mansour at oxplot dot com>
Marcus Felipe Pereira <marcus at task dot com dot br>
Mark C. Brown <mbrown at hp dot com>
Mark Pizzolato <List-tcpdump-workers at subscriptions dot pizzolato dot net>
@@ -92,14 +111,17 @@
Márton Németh <nm127 at freemail dot hu>
Matthew Luckie <mjl at luckie dot org dot nz>
Max Laier <max at love2party dot net>
+ Michal Labedzki
+ Michal Sekletar <msekleta at redhat dot com>
Mike Frysinger <vapier at gmail dot com>
Mike Kershaw <dragorn at kismetwireless dot net>
Mike Wiacek <mike at iroot dot net>
Miroslav Lichvar <mlichvar at redhat dot com>
Monroe Williams <monroe at pobox dot com>
- <nvercamm at sourceforge dot net>
+ Nicolas Dade <ndade at nsd dot dyndns dot org>
+ Niko Delarich <niko dot delarich at gmail dot com>
N. Leiten <nleiten at sourceforge dot net>
- Nicolas Dade <ndade at nsd dot dyndns dot org>
+ <nvercamm at sourceforge dot net>
Octavian Cerna <tavy at ylabs dot com>
Olaf Kirch <okir at caldera dot de>
Ollie Wild <aaw at users dot sourceforge dot net>
@@ -143,8 +165,8 @@
Xianjie Zhang <xzhang at cup dot hp dot com>
Xin Li <delphij at FreeBSD dot org>
Yen Yen Lim
+ Yoann Vandoorselaere <yoann at prelude-ids dot org>
Yvan Vanhullebus <vanhu at sourceforge dot net>
- Yoann Vandoorselaere <yoann at prelude-ids dot org>
The original LBL crew:
Steve McCanne
@@ -152,4 +174,4 @@
Van Jacobson
Past maintainers:
- Jun-ichiro itojun Hagino <itojun at iijlab dot net>
+ Jun-ichiro itojun Hagino <itojun at iijlab dot net> Also see: http://www.wide.ad.jp/itojun-award/
diff -r 15d9d6aa0509 -r 3e8e315a2009 external/bsd/libpcap/dist/Makefile-devel-adds
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/libpcap/dist/Makefile-devel-adds Tue Dec 31 16:57:18 2013 +0000
@@ -0,0 +1,22 @@
+#
+# Auto-regenerate configure script or Makefile when things change.
+# From autoconf.info . Works best with GNU Make.
+#
+${srcdir}/configure: configure.in aclocal.m4
+ cd ${srcdir} && autoconf
+
+# autoheader might not change config.h.in, so touch a stamp file.
+${srcdir}/config.h.in: ${srcdir}/stamp-h.in
+${srcdir}/stamp-h.in: configure.in aclocal.m4
+ cd ${srcdir} && autoheader
+ echo timestamp > ${srcdir}/stamp-h.in
+
+config.h: stamp-h
+stamp-h: ${srcdir}/config.h.in config.status
+ ./config.status
+
+Makefile: Makefile.in config.status
+ ./config.status
+
+config.status: ${srcdir}/configure
+ ./config.status --recheck
diff -r 15d9d6aa0509 -r 3e8e315a2009 external/bsd/libpcap/dist/Makefile.in
--- a/external/bsd/libpcap/dist/Makefile.in Tue Dec 31 14:51:46 2013 +0000
+++ b/external/bsd/libpcap/dist/Makefile.in Tue Dec 31 16:57:18 2013 +0000
@@ -47,6 +47,8 @@
LD = /usr/bin/ld
CC = @CC@
AR = @AR@
+LN_S = @LN_S@
+MKDEP = @MKDEP@
CCOPT = @V_CCOPT@
INCLS = -I. @V_INCLS@
DEFS = @DEFS@ @V_DEFS@
@@ -57,6 +59,7 @@
LDFLAGS = @LDFLAGS@
DYEXT = @DYEXT@
V_RPATH_OPT = @V_RPATH_OPT@
+DEPENDENCY_CFLAG = @DEPENDENCY_CFLAG@
PROG=libpcap
# Standard CFLAGS
@@ -82,7 +85,7 @@
@rm -f $@
$(CC) $(FULL_CFLAGS) -c $(srcdir)/$*.c
-PSRC = pcap-@V_PCAP@.c @USB_SRC@ @BT_SRC@ @CAN_SRC@ @NETFILTER_SRC@ @CANUSB_SRC@
+PSRC = pcap-@V_PCAP@.c @USB_SRC@ @BT_SRC@ @CAN_SRC@ @NETFILTER_SRC@ @CANUSB_SRC@ @DBUS_SRC@
FSRC = fad-@V_FINDALLDEVS@.c
SSRC = @SSRC@
CSRC = pcap.c inet.c gencode.c optimize.c nametoaddr.c etherent.c \
@@ -130,7 +133,8 @@
findalldevstest \
nonblocktest \
opentest \
- selpolltest
+ selpolltest \
+ valgrindtest
TESTS_SRC = \
tests/filtertest.c \
@@ -138,7 +142,8 @@
tests/nonblocktest.c \
tests/opentest.c \
tests/reactivatetest.c \
- tests/selpolltest.c
+ tests/selpolltest.c \
+ tests/valgrindtest.c
GENHDR = \
scanner.h tokdefs.h version.h
@@ -157,10 +162,12 @@
pcap_compile.3pcap.in \
pcap_datalink.3pcap.in \
pcap_dump_open.3pcap.in \
+ pcap_get_tstamp_precision.3pcap.in \
pcap_list_datalinks.3pcap.in \
pcap_list_tstamp_types.3pcap.in \
pcap_open_dead.3pcap.in \
pcap_open_offline.3pcap.in \
+ pcap_set_tstamp_precision.3pcap.in \
pcap_set_tstamp_type.3pcap.in
MAN3PCAP_NOEXPAND = \
@@ -194,6 +201,7 @@
pcap_open_live.3pcap \
pcap_set_buffer_size.3pcap \
pcap_set_datalink.3pcap \
+ pcap_set_immediate_mode.3pcap \
pcap_set_promisc.3pcap \
pcap_set_rfmon.3pcap \
pcap_set_snaplen.3pcap \
@@ -227,6 +235,7 @@
INSTALL.txt \
LICENSE \
Makefile.in \
+ Makefile-devel-adds \
README \
README.aix \
README.dag \
@@ -294,6 +303,8 @@
pcap-config.in \
pcap-dag.c \
Home |
Main Index |
Thread Index |
Old Index