Commit graph

16 commits

Author SHA1 Message Date
hans
e67e009fb7 Recent SunOS has AF_PACKET, but that doesn't mean the code works there. 2011-09-14 17:30:04 +00:00
adam
f42510b1d2 Changes 1.1.1:
* Fix build on RHEL5.
* Fix shared library build on AIX.

Changes 1.1.0:
* 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
2011-02-11 12:11:26 +00:00
dholland
1161ae161f AC_CHECK_HEADERS with no args causes autoconf to generate a shell for loop
with nothing to iterate over, which some shells don't like. Patch it out.
Fixes PR 40415. Build fix only; no version change.
2009-05-17 22:28:51 +00:00
tron
aa12f1867e Fix botched updated so that this package can actually be installed. 2008-10-30 16:35:08 +00:00
adam
4be811407c Changes 1.0.0:
* Compile with IPv6 support by default
* Compile with large file support on by default
* Add pcap-config script, which deals with -I/-L flags for compiling
* DLT: Add IPMB
* DLT: Add LAPD
* DLT: Add AX25 (AX.25 w/KISS header)
* DLT: Add JUNIPER_ST
* 802.15.4 support
* Variable length 802.11 header support
* X2E data type support
* SITA ACN Interface support - see README.sita
* Support for zerocopy BPF on platforms that support it
* Better support for dealing with VLAN tagging/stripping on Linux
* Fix dynamic library support on OSX
2008-10-30 08:12:34 +00:00
adam
1f61b85130 Fix for PR#37066 2007-10-08 20:38:17 +00:00
taca
9e49fd6cc7 Update libpcap to 0.9.7.
libpcap

Wed.	July 23, 2007.  mcr@xelerance.com.  Summary for 0.9.7 libpcap release

	FIXED version file to be 0.9.7 instead of 0.9.5.
	added flags/configuration for cloning bpf device.
	added DLT_MTP2_WITH_PHDR support (PPI)
        "fix" the "memory leak" in icode_to_fcode() -- documentation bug
        Various link-layer types, with a pseudo-header, for SITA http://www.sita.aero/
	introduces support for the DAG ERF type TYPE_COLOR_MC_HDLC_POS.
	Basic BPF filtering support for DLT_MTP2_WITH_PHDR is also added.
        check for IPv4 and IPv6, even for DLT_RAW
	add support for DLT_JUNIPER_ISM
  	Pick up changes from NetBSD: many from tron, christos, drochner
	Allocate DLT_ for 802.15.4 without any header munging, for Mikko Saarnivala.
	Header for 802.16 MAC Common Part Sublayer plus a radiotap radio header

Wed.	April 25, 2007. ken@xelerance.com.  Summary for 0.9.6 libpcap release

	Put the public libpcap headers into a pcap subdirectory in both the
	 source directory and the target include directory, and have include
	 files at the top-level directory to include those headers, for
	 backwards compatibility.
	Add Bluetooth support
	Add USB capturing support on Linux
	Add support for the binary USB sniffing interface in Linux
	Add support for new FreeBSD BIOCSDIRECTION ioctl
	Add additional filter operations for 802.11 frame types
	Add support for filtering on MTP2 frame types
	Propagate some changes from the main branch, so the x.9 branch has
	 all the DLT_ and LINKTYPE_ values that the main branch does
	Reserved a DLT_ and SAVEFILE_ value for PPI (Per Packet Info)
	 encapsulated packets
	Add LINKTYPE_ for IEEE 802.15.4, with address fields padded as done
	 by Linux drivers
	Add LINKTYPE_ value corresponding to DLT_IEEE802_16_MAC_CPS.
	Add DLT for IEEE 802.16 (WiMAX) MAC Common Part Sublayer
	Add DLT for Bluetooth HCI UART transport layer
	When building a shared library, build with "-fPIC" on Linux to support x86_64
	Link with "$(CC) -shared" rather than "ld -shared" when building a
	 ".so" shared library
	Add support for autoconf 2.60
	Fixes to discard unread packets when changing filters
	Changes to handle name changes in the DAG library resulting from
	 switching to libtool.
	Add support for new DAG ERF types.
        Add an explicit "-ldag" when building the shared library, so the DAG
	 library dependency is explicit.
	Mac OSX fixes for dealing with "wlt" devices
	Fixes in add_or_find_if() & pcap_findalldevs() to optimize generating
	 device lists
	Fixed a bug in pcap_open_live(). The return value of PacketSetHwFilter
	 was not checked.
2007-08-02 15:15:20 +00:00
schwarz
ea7bfc21e2 use libtool version of LIBOBJS 2006-12-06 21:17:28 +00:00
drochner
d6270b234e use unsigned ints in filter, to avoid possible portability problems
with bit shifts,
this is part of PR lib/16518 by yamt
(which is filed against base NetBSD sources, but anyway)
2006-02-24 23:39:44 +00:00
drochner
fa0f29757f import from the NetBSD tree: use the cloning /dev/bpf on NetBSD
if _PATH_BPF is defined
bump PKGREVISION
2006-02-24 22:53:41 +00:00
adrianp
aebb4c17b7 Remove obsolete patch hanginground from the 0.9.3 to 0.9.4 update 2005-12-21 11:20:03 +00:00
wiz
9339373f51 Apply patch-aa to correct file. 2005-10-23 16:10:58 +00:00
wiz
3c4a3d31a4 Fix included version string. Addresses part of PR 31423 by Zafer Aydogan.
Bump PKGREVISION.
2005-10-22 14:14:42 +00:00
drochner
0313d10b32 libtoolize, to get a shared library
bump PKGREVISION
2005-08-10 13:48:22 +00:00
drochner
4323568256 update to 0.9.1
changes:
        Fixes for compiling on nearly every platform,
	including improved 64bit support
	MSDOS Support
	Add support for sending packets
	OpenBSD pf format support
	IrDA capture (Linux only)

appearently filtering in ieee802_11_radio packets works now
pkgsrc: enabled IPv6 for NetBSD too
2005-07-13 14:31:49 +00:00
yyamano
f584d10015 Make this build on Darwin 8.1.0. 2005-05-30 16:46:21 +00:00