aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix libpcap issue #893: check for invalid IPv4 addresses.vendor/libpcapCy Schubert2019-12-192-2/+16
| | | | | | | | | | | | | | | | This fixes errors such as: tcpdump -i lagg0 net 999.999.999.999 This was originally discovered on a Red Hat 7.7 server and verified to also be a bug on FreeBSD. Obtained from: https://github.com/the-tcpdump-group/libpcap/commit/ \ 07070918d5e81a515315b395f334e52589fe0fb Fixed by: https://github.com/guyharris Notes: svn path=/vendor/libpcap/dist/; revision=355890
* Import libpcap 1.9.1vendor/libpcap/1.9.1Philip Paeps2019-10-06175-4544/+17654
| | | | | Notes: svn path=/vendor/libpcap/dist/; revision=353141 svn path=/vendor/libpcap/1.9.1/; revision=353142; tag=vendor/libpcap/1.9.1
* Import vendor revision 77da77c36e5d958f9b8d6729876a33f670de031f from:Hans Petter Selasky2018-05-18175-15549/+20998
| | | | | | | | | | | https://github.com/the-tcpdump-group/libpcap.git This among other minor fixes adds support for sniffing RDMA devices. Sponsored by: Mellanox Technologies Notes: svn path=/vendor/libpcap/dist/; revision=333789
* Apply vendor revision 470df104c6f55f6d6f390df7448d8eb65c7642b9:Xin LI2017-03-291-7/+7
| | | | | | | | | | | | From: Guy Harris <guy@alum.mit.edu> Subject: [PATCH] Fix compilation if INET6 isn't defined. Addresses GitHub issue #541, but differently from the pull request (it defines gen_gateway() with a function prototype rather than using a pre-prototype-style definition). Notes: svn path=/vendor/libpcap/dist/; revision=316124
* Import license changes from upstream 5c5039637f2be0e3167ff6806b4c2741ebab2181.Xin LI2017-02-152-10/+2
| | | | Notes: svn path=/vendor/libpcap/dist/; revision=313759
* Vendor import of libpcap 1.8.1.vendor/libpcap/1.8.1Xin LI2017-02-12227-14656/+24711
| | | | | Notes: svn path=/vendor/libpcap/dist/; revision=313676 svn path=/vendor/libpcap/1.8.1/; revision=313677; tag=vendor/libpcap/1.8.1
* Vendor import of libpcap 1.6.2.vendor/libpcap/1.6.2Xin LI2015-01-06171-10309/+11279
| | | | | Notes: svn path=/vendor/libpcap/dist/; revision=276759 svn path=/vendor/libpcap/1.6.2/; revision=276760; tag=vendor/libpcap/1.6.2
* Vendor import of libpcap 1.4.0.vendor/libpcap/1.4.0Xin LI2013-05-3056-4004/+8624
| | | | | Notes: svn path=/vendor/libpcap/dist/; revision=251125 svn path=/vendor/libpcap/1.4.0/; revision=251126; tag=vendor/libpcap/1.4.0
* Vendor import of libpcap 1.3.0.vendor/libpcap/1.3.0Xin LI2012-10-0426-6916/+3908
| | | | | Notes: svn path=/vendor/libpcap/dist/; revision=241199 svn path=/vendor/libpcap/1.3.0/; revision=241200; tag=vendor/libpcap/1.3.0
* Add, remove and move files for the 1.2.1 import of libpcapvendor/libpcap/1.2.1George V. Neville-Neil2012-01-3115-0/+1170
| | | | | | | | Submitted by: wxs Notes: svn path=/vendor/libpcap/dist/; revision=230832 svn path=/vendor/libpcap/1.2.1/; revision=230835; tag=vendor/libpcap/1.2.1
* Update sources to 1.2.1George V. Neville-Neil2012-01-3161-2392/+5105
| | | | | | | Submitted by: wxs@ Notes: svn path=/vendor/libpcap/dist/; revision=230828
* Update libpcap to 1.1.1.vendor/libpcap/1.1.1Rui Paulo2010-10-28205-4613/+19965
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: Thu. April 1, 2010. guy@alum.mit.edu. Summary for 1.1.1 libpcap release Update CHANGES to reflect more of the changes in 1.1.0. Fix build on RHEL5. Fix shared library build on AIX. Thu. March 11, 2010. ken@netfunctional.ca/guy@alum.mit.edu. Summary for 1.1.0 libpcap release Add SocketCAN capture support Add Myricom SNF API support Update Endace DAG and ERF support Add support for shared libraries on Solaris, HP-UX, and AIX Build, install, and un-install shared libraries by default; don't build/install shared libraries on platforms we don't support Fix building from a directory other than the source directory Fix compiler warnings and builds on some platforms Update config.guess and config.sub Support monitor mode on mac80211 devices on Linux Fix USB memory-mapped capturing on Linux; it requires a new DLT_ value On Linux, scan /sys/class/net for devices if we have it; scan it, or /proc/net/dev if we don't have /sys/class/net, even if we have getifaddrs(), as it'll find interfaces with no addresses Add limited support for reading pcap-ng files Fix BPF driver-loading error handling on AIX Support getting the full-length interface description on FreeBSD In the lexical analyzer, free up any addrinfo structure we got back from getaddrinfo(). Add support for BPF and libdlpi in OpenSolaris (and SXCE) Hyphenate "link-layer" everywhere Add /sys/kernel/debug/usb/usbmon to the list of usbmon locations In pcap_read_linux_mmap(), if there are no frames available, call poll() even if we're in non-blocking mode, so we pick up errors, and check for the errors in question. Note that poll() works on BPF devices is Snow Leopard If an ENXIO or ENETDOWN is received, it may mean the device has gone away. Deal with it. For BPF, raise the default capture buffer size to from 32k to 512k Support ps_ifdrop on Linux Added a bunch of #ifdef directives to make wpcap.dll (WinPcap) compile under cygwin. Changes to Linux mmapped captures. Fix bug where create_ring would fail for particular snaplen and buffer size combinations Update pcap-config so that it handles libpcap requiring additional libraries Add workaround for threadsafeness on Windows Add missing mapping for DLT_ENC <-> LINKTYPE_ENC DLT: Add DLT_CAN_SOCKETCAN DLT: Add Solaris ipnet Don't check for DLT_IPNET if it's not defined Add link-layer types for Fibre Channel FC-2 Add link-layer types for Wireless HART Add link-layer types for AOS Add link-layer types for DECT Autoconf fixes (AIX, HP-UX, OSF/1, Tru64 cleanups) Install headers unconditionally, and include vlan.h/bluetooth.h if enabled Autoconf fixes+cleanup Support enabling/disabling bluetooth (--{en,dis}able-bluetooth) Support disabling SITA support (--without-sita) Return -1 on failure to create packet ring (if supported but creation failed) Fix handling of 'any' device, so that it can be opened, and no longer attempt to open it in Monitor mode Add support for snapshot length for USB Memory-Mapped Interface Fix configure and build on recent Linux kernels Fix memory-mapped Linux capture to support pcap_next() and pcap_next_ex() Fixes for Linux USB capture DLT: Add DLT_LINUX_EVDEV DLT: Add DLT_GSMTAP_UM DLT: Add DLT_GSMTAP_ABIS Notes: svn path=/vendor/libpcap/dist/; revision=214455 svn path=/vendor/libpcap/1.1.1/; revision=214469; tag=vendor/libpcap/1.1.1
* Import of libpcap 1.0.0.vendor/libpcap/1.0.0Rui Paulo2009-03-21153-11692/+22406
| | | | | Notes: svn path=/vendor/libpcap/dist/; revision=190214 svn path=/vendor/libpcap/1.0.0/; revision=190215; tag=vendor/libpcap/1.0.0
* Flatten vendor/libpcap and remove keyword expansion.Rui Paulo2009-03-2097-13/+0
| | | | Notes: svn path=/vendor/libpcap/dist/; revision=190153
* Import of libpcap v0.9.8Max Laier2007-10-1634-3478/+5892
| | | | Notes: svn path=/vendor/libpcap/dist/; revision=172677
* Import of libpcap v0.9.4Sam Leffler2006-09-0429-381/+4246
| | | | Notes: svn path=/vendor/libpcap/dist/; revision=162012
* correct dlt buffer alloc; this goes on the vendor branch as itSam Leffler2006-01-161-1/+1
| | | | | | | | | will be committed there shortly MFC after: 3 days Notes: svn path=/vendor/libpcap/dist/; revision=154439
* Virgin import of libpcap v0.9.1 (release) from tcpdump.orgSam Leffler2005-07-1138-730/+2803
| | | | | | | Approved by: re (scottl) Notes: svn path=/vendor/libpcap/dist/; revision=147894
* Virgin import of libpcap v0.9.1 (alpha 096) from tcpdump.orgSam Leffler2005-05-2953-1344/+7271
| | | | Notes: svn path=/vendor/libpcap/dist/; revision=146768
* Import libpcap 0.8.3, from http://www.tcpdump.org/releases/libpcap-0.8.3.tar.gzBruce M Simpson2004-03-3164-3499/+16463
| | | | Notes: svn path=/vendor/libpcap/dist/; revision=127664
* Commit tcpdump.org's multi-DLT support to vendor branch.Bill Fenner2003-01-267-1/+113
| | | | Notes: svn path=/vendor/libpcap/dist/; revision=109839
* Import libpcap 0.7.1, fromBill Fenner2002-06-2142-949/+4511
| | | | | | | http://www.tcpdump.org/release/libpcap-0.7.1.tar.gz Notes: svn path=/vendor/libpcap/dist/; revision=98530
* Virgin import of tcpdump.org libpcap v0.6.2Bill Fenner2001-04-0351-1316/+6255
| | | | Notes: svn path=/vendor/libpcap/dist/; revision=75107
* Import rev 1.26 of tcpdump.org's inet.c -- don't freeBill Fenner2000-07-201-2/+3
| | | | | | | the buffer before it's used. Notes: svn path=/vendor/libpcap/dist/; revision=63696
* Import of updated file for 0.5 releaseBill Fenner2000-03-041-5/+15
| | | | Notes: svn path=/vendor/libpcap/dist/; revision=57761
* Virgin import of tcpdump.org libpcap v0.5Bill Fenner2000-01-3042-210/+1629
| | | | Notes: svn path=/vendor/libpcap/dist/; revision=56889
* Virgin import of LBL libpcap v0.4Bill Fenner1998-09-1525-379/+1140
| | | | Notes: svn path=/vendor/libpcap/dist/; revision=39291
* Virgin import of libpcap 0.3Bill Fenner1997-05-2737-469/+1619
| | | | Notes: svn path=/vendor/libpcap/dist/; revision=26175
* Virgin import of LBL libpcap version 0.2.1.vendor/libpcap/0.2.1Paul Traina1996-08-1944-0/+15504
Obtained from: ftp://ftp.ee.lbl.gov/libpcap.tar.Z on 19-Aug-1996. Notes: svn path=/vendor/libpcap/dist/; revision=17683 svn path=/vendor/libpcap/0.2.1/; revision=17685; tag=vendor/libpcap/0.2.1