Blame CHANGES

Packit 209cc3
Sunday, July 22, 2018
Packit 209cc3
  Summary for 1.9.1 libpcap release
Packit 209cc3
    Mention pcap_get_required_select_timeout() in the main pcap man page
Packit 209cc3
    Fix pcap-usb-linux.c build on systems with musl
Packit 209cc3
    Fix assorted man page and other documentation issues
Packit 209cc3
    Plug assorted memory leaks
Packit 209cc3
    Documentation changes to use https:
Packit 209cc3
    Changes to how time stamp calculations are done
Packit 209cc3
    Lots of tweaks to make newer compilers happier and warning-free and
Packit 209cc3
        to fix instances of C undefined behavior
Packit 209cc3
    Warn if AC_PROG_CC_C99 can't enable C99 support
Packit 209cc3
    Rename pcap_set_protocol() to  pcap_set_protocol_linux().
Packit 209cc3
    Align pcap_t private data on an 8-byte boundary.
Packit 209cc3
    Fix various error messages
Packit 209cc3
    Use 64-bit clean API in dag_findalldevs()
Packit 209cc3
    Fix cleaning up after some errors
Packit 209cc3
    Work around some ethtool ioctl bugs in newer Linux kernels (GitHub
Packit 209cc3
        issue #689)
Packit 209cc3
    Add backwards compatibility sections to some man pages (GitHub issue
Packit 209cc3
        #745)
Packit 209cc3
    Fix autotool configuration on AIX and macOS
Packit 209cc3
    Don't export bpf_filter_with_aux_data() or struct bpf_aux_data;
Packit 209cc3
        they're internal-only and subject to change
Packit 209cc3
    Fix pcapng block size checking
Packit 209cc3
    On macOS, don't build rpcapd or test programs any fatter than they
Packit 209cc3
        need to be
Packit 209cc3
    Fix reading of capture statistics for Linux USB
Packit 209cc3
    Fix packet size values for Linux USB packets (GitHub issue #808)
Packit 209cc3
    Check only VID in VLAN test in filterss (GitHub issue #461)
Packit 209cc3
    Fix pcap_list_datalinks on 802.11 devices on macOS
Packit 209cc3
    Fix overflows with very large snapshot length in pcap file
Packit 209cc3
    Improve parsing of rpcapd configuration file (GitHub issue #767)
Packit 209cc3
    Handle systems without strlcpy() or strlcat() better
Packit 209cc3
    Fix crashes and other errors with invalid filter expressions
Packit 209cc3
    Fix use of uninitialized file descriptor in remote capture
Packit 209cc3
    Fix some CMake issues
Packit 209cc3
    Fix some divide-by-zero issues with the filter compiler
Packit 209cc3
    Work around a GNU libc bug in pcap_nametonetaddr()
Packit 209cc3
    Add support for DLT_LINUX_SLL2
Packit 209cc3
    Fix handling of the packet-count argument for Myricom SNF devices
Packit 209cc3
    Fix --disable-rdma in configure script (GitHub issue #782)
Packit 209cc3
    Fix compilation of TurboCap support (GitHub issue #764)
Packit 209cc3
    Constify first argument to pcap_findalldevs_ex()
Packit 209cc3
    Fix a number of issues when running rpcapd as an inetd-style daemon
Packit 209cc3
    Fix CMake issues with D-Bus libraries
Packit 209cc3
    In rpcapd, clean up termination of a capture session
Packit 209cc3
    Redo remote capture protocol negotiation
Packit 209cc3
    In rpcapd, report the same error for "invalid user name" and
Packit 209cc3
        "invalid password", to make brute-forcing harder
Packit 209cc3
    For remote captures, add an error code for "the server requires TLS"
Packit 209cc3
    Fix pcap_dump_fopen() on Windows to avoid clashes between
Packit 209cc3
        {Win,N}Pcap and application C runtimes
Packit 209cc3
    Fix exporting of functions from Windows DLLs (GitHub issue #810)
Packit 209cc3
    Fix building as part of Npcap
Packit 209cc3
    Allow rpcapd to rebind more rapidly
Packit 209cc3
    Fix building shared libpcap library on midipix (midipix.org)
Packit 209cc3
    Fix hack to detect UTF-16LE adapter names on Windows not to go past
Packit 209cc3
        the end of the string
Packit 209cc3
    Fix handling of "wireless WAN" (mobile phone network modems) on
Packit 209cc3
        Windows with WinPcap/Npcap (GitHub issue #824)
Packit 209cc3
    Have pcap_dump_open_append() create the dump file if it doesn't
Packit 209cc3
        exists (GitHub issue #247)
Packit 209cc3
    Fix the maxmum snapshot length for DLT_USBPCAP
Packit 209cc3
    Use -fPIC when building for 64-bit SPARC on Linux (GitHub issue #837)
Packit 209cc3
    Fix CMake 64-bit library installation directory on some Linux
Packit 209cc3
        distributions
Packit 209cc3
    Boost the TPACKET_V3 timeout to the maximum if a timeout of 0 was
Packit 209cc3
        specified
Packit 209cc3
    Five CVE-2019-15161, CVE-2019-15162, CVE-2019-15163, CVE-2019-15164, CVE-2019-15165
Packit 209cc3
    Fixes for CVE-2018-16301, errors in pcapng reading.
Packit 209cc3
    PCAPNG reader applies some sanity checks before doing malloc().
Packit 209cc3
Packit 209cc3
Sunday, June 24, 2018, by mcr@sandelman.ca
Packit 209cc3
  Summary for 1.9.0 libpcap release
Packit 209cc3
    Added testing system to libpcap, independent of tcpdump
Packit 209cc3
    Changes to how pcap_t is activated
Packit 209cc3
    Adding support for Large stream buffers on Endace DAG cards
Packit 209cc3
    Changes to BSD 3-clause license to 2-clause licence
Packit 209cc3
    Additions to TCP header parsing, per RFC3168
Packit 209cc3
    Add CMake build process (extensive number of changes)
Packit 209cc3
    Assign a value for OpenBSD DLT_OPENFLOW.
Packit 209cc3
    Support setting non-blocking mode before activating.
Packit 209cc3
    Extensive build support for Windows VS2010 and MINGW (many many changes, over many months)
Packit 209cc3
    Added RPCAPD support when --enable-remote (default no)
Packit 209cc3
    Add the rpcap daemon source and build instructions.
Packit 209cc3
    Put back the greasy "save the capture filter string so we can tweak it"
Packit 209cc3
        hack, that keeps libpcap from capturing rpcap traffic.
Packit 209cc3
    Fixes for captures on MacOS, utun0
Packit 209cc3
    fixes so that non-AF_INET addresses, are not ==AF_INET6 addresses.
Packit 209cc3
    Add a linktype for IBM SDLC frames containing SNA PDUs.
Packit 209cc3
    pcap_compile() in 1.8.0 and later is newly thread-safe.
Packit 209cc3
    bound snaplen for linux tpacket_v2 to ~64k
Packit 209cc3
    Make VLAN filter handle both metadata and inline tags
Packit 209cc3
    D-Bus captures can now be up to 128MB in size
Packit 209cc3
    Added LORATAP DLT value
Packit 209cc3
    Added DLT_VSOCK for http://qemu-project.org/Features/VirtioVsock
Packit 209cc3
    probe_devices() fixes not to overrun buffer for name of device
Packit 209cc3
    Add linux-specific pcap_set_protocol_linux() to allow specifying a specific capture protocol.
Packit 209cc3
    RDMA sniffing support for pcap
Packit 209cc3
    Add Nordic Semiconductor Bluetooth LE sniffer link-layer header type.
Packit 209cc3
    fixes for reading /etc/ethers
Packit 209cc3
    Make it possible to build on Windows without packet.dll.
Packit 209cc3
    Add tests for large file support on UN*X.
Packit 209cc3
    Solaris fixes to work with 2.8.6
Packit 209cc3
    configuration test now looks for header files, not capture devices present
Packit 209cc3
    Fix to work with Berkeley YACC.
Packit 209cc3
    fixes for DragonBSD compilation of pcap-netmap.c
Packit 209cc3
    Clean up the ether_hostton() stuff.
Packit 209cc3
    Add an option to disable Linux memory-mapped capture support.
Packit 209cc3
    Add DAG API support checks.
Packit 209cc3
    Add Septel, Myricom SNF, and Riverbed TurboCap checks.
Packit 209cc3
    Add checks for Linux USB, Linux Bluetooth, D-Bus, and RDMA sniffing support.
Packit 209cc3
    Add a check for hardware time stamping on Linux.
Packit 209cc3
    Don't bother supporting pre-2005 Visual Studio.
Packit 209cc3
    Increased minimum autoconf version requirement to 2.64
Packit 209cc3
    Add DLT value 273 for XRA-31 sniffer
Packit 209cc3
    Clean up handing of signal interrupts in pcap_read_nocb_remote().
Packit 209cc3
    Use the XPG 4.2 versions of the networking APIs in Solaris.
Packit 209cc3
    Fix, and better explain, the "IPv6 means IPv6, not IPv4" option setting.
Packit 209cc3
    Explicitly warn that negative packet buffer timeouts should not be used.
Packit 209cc3
    rpcapd: Add support inetd-likes, including xinetd.conf, and systemd units
Packit 209cc3
    Rename DLT_IEEE802_15_4 to DLT_IEEE802_15_4_WITHFCS.
Packit 209cc3
    Add DISPLAYPORT AUX link type
Packit 209cc3
    Remove the sunos4 kernel modules and all references to them.
Packit 209cc3
    Add more interface flags to pcap_findalldevs().
Packit 209cc3
  Summary for 1.9.0 libpcap release (to 2017-01-25 by guy@alum.mit.edu)
Packit 209cc3
    Man page improvements
Packit 209cc3
    Fix Linux cooked mode userspace filtering (GitHub pull request #429)
Packit 209cc3
    Fix compilation if IPv6 support not enabled
Packit 209cc3
    Fix some Linux memory-mapped capture buffer size issues
Packit 209cc3
    Don't fail if kernel filter can't be set on Linux (GitHub issue
Packit 209cc3
      #549)
Packit 209cc3
    Improve sorting of interfaces for pcap_findalldevs()
Packit 209cc3
    Don't list Linux usbmon devices if usbmon module isn't loaded
Packit 209cc3
    Report PCAP_ERROR_PERM_DENIED if no permission to open Linux usbmon
Packit 209cc3
      devices
Packit 209cc3
    Fix DLT_ type for Solaris IPNET devices
Packit 209cc3
    Always return an error message for errors finding DAG or Myricom
Packit 209cc3
      devices
Packit 209cc3
    If possible, don't require that a device be openable when
Packit 209cc3
      enumerating them for pcap_findalldevs()
Packit 209cc3
    Don't put incompletely-initialized addresses in the address list for
Packit 209cc3
    When finding Myricom devices, update description for regular
Packit 209cc3
      interfaces that are Myricom devices and handle SNF_FLAGS=0x2(port
Packit 209cc3
      aggregation enabled)
Packit 209cc3
    Fix compilation error in DAG support
Packit 209cc3
    Fix issues with CMake configuration
Packit 209cc3
    Add support for stream buffers larger than 2GB on newer DAG cards
Packit 209cc3
    Remove support for building against DAG versions without STREAMS
Packit 209cc3
      support (before dag-3.0.0 2007)
Packit 209cc3
Packit 209cc3
Tuesday, Oct. 25, 2016 mcr@sandelman.ca
Packit 209cc3
  Summary for 1.8.1 libpcap release
Packit 209cc3
    Add a target in Makefile.in for Exuberant Ctags use: 'extags'.
Packit 209cc3
    Rename configure.in to configure.ac: autoconf 2.59
Packit 209cc3
    Clean up the name-to-DLT mapping table.
Packit 209cc3
    Add some newer DLT_ values: IPMI_HPM_2,ZWAVE_R1_R2,ZWAVE_R3,WATTSTOPPER_DLM,ISO_14443,RDS
Packit 209cc3
    Clarify what the return values are for both success and failure.
Packit 209cc3
    Many changes to build on windows
Packit 209cc3
    Check for the "break the loop" condition in the inner loop for TPACKET_V3.
Packit 209cc3
    Fix handling of packet count in the TPACKET_V3 inner loop: GitHub issue #493.
Packit 209cc3
    Filter out duplicate looped back CAN frames.
Packit 209cc3
    Fix the handling of loopback filters for IPv6 packets.
Packit 209cc3
    Add a link-layer header type for RDS (IEC 62106) groups.
Packit 209cc3
    Use different intermediate folders for x86 and x64 builds on Windows.
Packit 209cc3
    On Linux, handle all CAN captures with pcap-linux.c, in cooked mode.
Packit 209cc3
    Removes the need for the "host-endian" link-layer header type.
Packit 209cc3
    Compile with '-Wused-but-marked-unused' in devel mode if supported
Packit 209cc3
    Have separate DLTs for big-endian and host-endian SocketCAN headers.
Packit 209cc3
    Reflect version.h being renamed to pcap_version.h.
Packit 209cc3
    Require that version.h be generated: all build procedures we support generate version.h (autoconf, CMake, MSVC)!
Packit 209cc3
    Properly check for sock_recv() errors.
Packit 209cc3
    Re-impose some of Winsock's limitations on sock_recv().
Packit 209cc3
    Replace sprintf() with pcap_snprintf().
Packit 209cc3
    Fix signature of pcap_stats_ex_remote().
Packit 209cc3
    Initial cmake support for remote packet capture.
Packit 209cc3
    Have rpcap_remoteact_getsock() return a SOCKET and supply an "is active" flag.
Packit 209cc3
    Clean up {DAG, Septel, Myricom SNF}-only builds.
Packit 209cc3
    Do UTF-16-to-ASCII conversion into the right place.
Packit 209cc3
    pcap_create_interface() needs the interface name on Linux.
Packit 209cc3
    Clean up hardware time stamp support: the "any" device does not support any time stamp types.
Packit 209cc3
    Add support for capturing on FreeBSD usbusN interfaces.
Packit 209cc3
    Add a LINKTYPE/DLT_ value for FreeBSD USB.
Packit 209cc3
    Go back to using PCAP_API on Windows.
Packit 209cc3
    CMake support
Packit 209cc3
    Add TurboCap support from WinPcap.
Packit 209cc3
    Recognize 802.1ad nested VLAN tag in vlan filter.
Packit 209cc3
Packit 209cc3
Thursday Sep. 3, 2015 guy@alum.mit.edu
Packit 209cc3
  Summary for 1.7.5 libpcap release
Packit 209cc3
	Man page cleanups.
Packit 209cc3
	Add some allocation failure checks.
Packit 209cc3
	Fix a number of Linux/ucLinux configure/build issues.
Packit 209cc3
	Fix some memory leaks.
Packit 209cc3
	Recognize 802.1ad nested VLAN tag in vlan filter.
Packit 209cc3
	Fix building Bluetooth Linux Monitor support with BlueZ 5.1+
Packit 209cc3
Packit 209cc3
Saturday Jun. 27, 2015 mcr@sandelman.ca
Packit 209cc3
  Summary for 1.7.4 libpcap release
Packit 209cc3
	Include fix for GitHub issue #424 -- out of tree builds.
Packit 209cc3
Packit 209cc3
Friday Apr. 10, 2015 guy@alum.mit.edu
Packit 209cc3
  Summary for 1.7.3 libpcap release
Packit 209cc3
	Work around a Linux bonding driver bug.
Packit 209cc3
Packit 209cc3
Thursday Feb. 12, 2015 guy@alum.mit.edu/mcr@sandelman.ca
Packit 209cc3
  Summary for 1.7.2 libpcap release
Packit 209cc3
	Support for filtering Geneve encapsulated packets.
Packit 209cc3
	Generalize encapsulation handling, fixing some bugs.
Packit 209cc3
	Don't add null addresses to address lists.
Packit 209cc3
	Add pcap_dump_open_append() to open for appending.
Packit 209cc3
	Fix the swapping of isochronous descriptors in Linux USB.
Packit 209cc3
	Attempt to handle TPACKET_V1 with 32-bit userland and 64-bit kernel.
Packit 209cc3
Packit 209cc3
Wednesday Nov. 12, 2014 guy@alum.mit.edu/mcr@sandelman.ca
Packit 209cc3
  Summary for 1.7.0 libpcap release
Packit 209cc3
	Fix handling of zones for BPF on Solaris
Packit 209cc3
	new DLT for ZWAVE
Packit 209cc3
	clarifications for read timeouts.
Packit 209cc3
	Use BPF extensions in compiled filters, fixing VLAN filters
Packit 209cc3
	some fixes to compilation without stdint.h
Packit 209cc3
	EBUSY can now be returned by SNFv3 code.
Packit 209cc3
	Fix the range checks in BPF loads
Packit 209cc3
	Various DAG fixes.
Packit 209cc3
	Various Linux fixes.
Packit 209cc3
Packit 209cc3
Monday Aug. 12, 2014 guy@alum.mit.edu
Packit 209cc3
  Summary for 1.6.2 libpcap release
Packit 209cc3
	Don't crash on filters testing a non-existent link-layer type
Packit 209cc3
	    field.
Packit 209cc3
	Fix sending in non-blocking mode on Linux with memory-mapped
Packit 209cc3
	    capture.
Packit 209cc3
	Fix timestamps when reading pcap-ng files on big-endian
Packit 209cc3
	    machines.
Packit 209cc3
Packit 209cc3
Saturday  Jul. 19, 2014 mcr@sandelman.ca
Packit 209cc3
  Summary for 1.6.1 libpcap release
Packit 209cc3
	some fixes for the any device
Packit 209cc3
	changes for how --enable-XXX (--enable-sniffing, --enable-can) works
Packit 209cc3
Packit 209cc3
Wednesday Jul. 2, 2014 mcr@sandelman.ca
Packit 209cc3
  Summary for 1.6.0 libpcap release
Packit 209cc3
        Don't support D-Bus sniffing on OS X
Packit 209cc3
        fixes for byte order issues with NFLOG captures
Packit 209cc3
        Handle using cooked mode for DLT_NETLINK in activate_new().
Packit 209cc3
        on platforms where you can not capture on down interfaces, do not list them
Packit 209cc3
        but: do list interfaces which are down, if you can capture on them!
Packit 209cc3
Packit 209cc3
Wednesday December 18, 2013 guy@alum.mit.edu
Packit 209cc3
Summary for 1.5.3 libpcap release
Packit 209cc3
	Don't let packets that don't match the current filter get to the
Packit 209cc3
	    application when TPACKET_V3 is used. (GitHub issue #331)
Packit 209cc3
	Fix handling of pcap_loop()/pcap_dispatch() with a packet count
Packit 209cc3
	    of 0 on some platforms (including Linux with TPACKET_V3).
Packit 209cc3
	    (GitHub issue #333)
Packit 209cc3
	Work around TPACKET_V3 deficiency that causes packets to be lost
Packit 209cc3
	    when a timeout of 0 is specified. (GitHub issue #335)
Packit 209cc3
	Man page formatting fixes.
Packit 209cc3
Packit 209cc3
Wednesday December 4, 2013 guy@alum.mit.edu
Packit 209cc3
Summary for 1.5.2 libpcap release
Packit 209cc3
	Fix libpcap to work when compiled with TPACKET_V3 support and
Packit 209cc3
	    running on a kernel without TPACKET_V3 support. (GitHub
Packit 209cc3
	    issue #329)
Packit 209cc3
Packit 209cc3
Wednesday November 20, 2013 guy@alum.mit.edu
Packit 209cc3
Summary for 1.5.1 libpcap release
Packit 209cc3
	Report an error, rather than crashing, if an IPv6 address is
Packit 209cc3
	    used for link-layer filtering.  (Wireshark bug 9376)
Packit 209cc3
Packit 209cc3
Wednesday October 30, 2013 guy@alum.mit.edu
Packit 209cc3
Summary for 1.5.0 libpcap release
Packit 209cc3
	TPACKET_V3 support added for Linux
Packit 209cc3
	Point users to the the-tcpdump-group repository on GitHub rather
Packit 209cc3
	    than the mcr repository
Packit 209cc3
	Checks added for malloc()/realloc()/etc. failures
Packit 209cc3
	Fixed build on Solaris 11
Packit 209cc3
	Support filtering filtering E1 SS7 traffic on MTP2 layer Annex A
Packit 209cc3
	Use "ln -s" to link man pages by default
Packit 209cc3
        Add support for getting nanosecond-resolution time stamps when
Packit 209cc3
	    capturing and reading capture files
Packit 209cc3
        Many changes to autoconf to deal better with non-GCC compilers
Packit 209cc3
        added many new DLT types
Packit 209cc3
Packit 209cc3
Saturday April 6, 2013 guy@alum.mit.edu
Packit 209cc3
Summary for 1.4.0 libpcap release
Packit 209cc3
	Add netfilter/nfqueue interface.
Packit 209cc3
	If we don't have support for IPv6 address resolution, support,
Packit 209cc3
	    in filter expressions, what IPv6 stuff we can.
Packit 209cc3
	Fix pcap-config to include -lpthread if canusb support is
Packit 209cc3
	    present
Packit 209cc3
	Try to fix "pcap_parse not defined" problems when --without-flex
Packit 209cc3
	    and --without-bison are used when you have Flex and Bison
Packit 209cc3
	Fix some issues with the pcap_loop man page.
Packit 209cc3
	Fix pcap_getnonblock() and pcap_setnonblock() to fill in the
Packit 209cc3
	    supplied error message buffer
Packit 209cc3
	Fix typo that, it appeared, would cause pcap-libdlpi.c not to
Packit 209cc3
	    compile (perhaps systems with libdlpi also have BPF and use
Packit 209cc3
	    that instead)
Packit 209cc3
	Catch attempts to call pcap_compile() on a non-activated pcap_t
Packit 209cc3
	Fix crash on Linux with CAN-USB support without usbfs
Packit 209cc3
	Fix addition of VLAN tags for Linux cooked captures
Packit 209cc3
	Check for both EOPNOTSUPP and EINVAL after SIOCETHTOOL ioctl, so
Packit 209cc3
	    that the driver can report either one if it doesn't support
Packit 209cc3
	    SIOCETHTOOL
Packit 209cc3
	Add DLT_INFINIBAND and DLT_SCTP
Packit 209cc3
	Describe "proto XXX" and "protochain XXX" in the pcap-filter man
Packit 209cc3
	    page
Packit 209cc3
	Handle either directories, or symlinks to directories, that
Packit 209cc3
	    correspond to interfaces in /sys/class/net
Packit 209cc3
	Fix handling of VLAN tag insertion to check, on Linux 3.x
Packit 209cc3
	    kernels, for VLAN tag valid flag
Packit 209cc3
	Clean up some man pages
Packit 209cc3
	Support libnl3 as well as libnl1 and libnl2 on Linux
Packit 209cc3
	Fix handling of Bluetooth devices on 3.x Linux kernels
Packit 209cc3
Packit 209cc3
Friday  March 30, 2012.  mcr@sandelman.ca
Packit 209cc3
Summary for 1.3.0 libpcap release
Packit 209cc3
        Handle DLT_PFSYNC in {FreeBSD, other *BSD+Mac OS X, other}.
Packit 209cc3
        Linux: Don't fail if netfilter isn't enabled in the kernel.
Packit 209cc3
        Add new link-layer type for NFC Forum LLCP.
Packit 209cc3
        Put the CANUSB stuff into EXTRA_DIST, so it shows up in the release tarball.
Packit 209cc3
        Add LINKTYPE_NG40/DLT_NG40.
Packit 209cc3
        Add DLT_MPEG_2_TS/LINKTYPE_MPEG_2_TS for MPEG-2 transport streams.
Packit 209cc3
        [PATCH] Fix AIX-3.5 crash with read failure during stress
Packit 209cc3
        AIX fixes.
Packit 209cc3
        Introduce --disable-shared configure option.
Packit 209cc3
        Added initial support for canusb devices.
Packit 209cc3
        Include the pcap(3PCAP) additions as 1.2.1 changes.
Packit 209cc3
        many updates to documentation: pcap.3pcap.in
Packit 209cc3
        Improve 'inbound'/'outbound' capture filters under Linux.
Packit 209cc3
        Note the cleanup of handling of new DLT_/LINKTYPE_ values.
Packit 209cc3
        On Lion, don't build for PPC.
Packit 209cc3
        For mac80211 devices we need to clean up monitor mode on exit.
Packit 209cc3
Packit 209cc3
Friday  December 9, 2011.  guy@alum.mit.edu.
Packit 209cc3
Summary for 1.2.1 libpcap release
Packit 209cc3
	Update README file.
Packit 209cc3
	Fix typoes in README.linux file.
Packit 209cc3
	Clean up some compiler warnings.
Packit 209cc3
	Fix Linux compile problems and tests for ethtool.h.
Packit 209cc3
	Treat Debian/kFreeBSD and GNU/Hurd as systems with GNU
Packit 209cc3
	 toolchains.
Packit 209cc3
	Support 802.1 QinQ as a form of VLAN in filters.
Packit 209cc3
	Treat "carp" as equivalent to "vrrp" in filters.
Packit 209cc3
	Fix code generated for "ip6 protochain".
Packit 209cc3
	Add some new link-layer header types.
Packit 209cc3
	Support capturing NetFilter log messages on Linux.
Packit 209cc3
	Clean up some error messages.
Packit 209cc3
	Turn off monitor mode on exit for mac80211 interfaces on Linux.
Packit 209cc3
	Fix problems turning monitor mode on for non-mac80211 interfaces
Packit 209cc3
	 on Linux.
Packit 209cc3
	Properly fail if /sys/class/net or /proc/net/dev exist but can't
Packit 209cc3
	 be opened.
Packit 209cc3
	Fail if pcap_activate() is called on an already-activated
Packit 209cc3
	 pcap_t, and add a test program for that.
Packit 209cc3
	Fix filtering in pcap-ng files.
Packit 209cc3
	Don't build for PowerPC on Mac OS X Lion.
Packit 209cc3
	Simplify handling of new DLT_/LINKTYPE_ values.
Packit 209cc3
	Expand pcap(3PCAP) man page.
Packit 209cc3
Packit 209cc3
Sunday  July 24, 2011.  mcr@sandelman.ca.
Packit 209cc3
Summary for 1.2 libpcap release
Packit 209cc3
        All of the changes listed below for 1.1.1 and 1.1.2.
Packit 209cc3
        Changes to error handling for pcap_findalldevs().
Packit 209cc3
        Fix the calculation of the frame size in memory-mapped captures.
Packit 209cc3
        Add a link-layer header type for STANAG 5066 D_PDUs.
Packit 209cc3
        Add a link-layer type for a variant of 3GPP TS 27.010.
Packit 209cc3
        Noted real nature of LINKTYPE_ARCNET.
Packit 209cc3
        Add a link-layer type for DVB-CI.
Packit 209cc3
        Fix configure-script discovery of VLAN acceleration support.
Packit 209cc3
         see http://netoptimizer.blogspot.com/2010/09/tcpdump-vs-vlan-tags.html
Packit 209cc3
        Linux, HP-UX, AIX, NetBSD and OpenBSD compilation/conflict fixes.
Packit 209cc3
        Protect against including AIX 5.x's <net/bpf.h> having been included.
Packit 209cc3
        Add DLT_DBUS, for raw D-Bus messages.
Packit 209cc3
        Treat either EPERM or EACCES as "no soup for you".
Packit 209cc3
        Changes to permissions on DLPI systems.
Packit 209cc3
        Add DLT_IEEE802_15_4_NOFCS for 802.15.4 interfaces.
Packit 209cc3
Packit 209cc3
Fri.    August 6, 2010.  guy@alum.mit.edu.
Packit 209cc3
Summary for 1.1.2 libpcap release
Packit 209cc3
	Return DLT_ values, not raw LINKTYPE_ values from
Packit 209cc3
	  pcap_datalink() when reading pcap-ng files
Packit 209cc3
	Add support for "wlan ra" and "wlan ta", to check the RA and TA
Packit 209cc3
	  of WLAN frames that have them
Packit 209cc3
	Don't crash if "wlan addr{1,2,3,4}" are used without 802.11
Packit 209cc3
	  headers
Packit 209cc3
	Do filtering on USB and Bluetooth capturing
Packit 209cc3
	On FreeBSD/SPARC64, use -fPIC - it's apparently necessary
Packit 209cc3
	Check for valid port numbers (fit in a 16-bit unsigned field) in
Packit 209cc3
	  "port" filters
Packit 209cc3
	Reject attempts to put savefiles into non-blocking mode
Packit 209cc3
	Check for "no such device" for the "get the media types" ioctl
Packit 209cc3
	  in *BSD
Packit 209cc3
	Improve error messages from bpf_open(), and let it do the error
Packit 209cc3
	  handling
Packit 209cc3
	Return more specific errors from pcap_can_set_rfmon(); fix
Packit 209cc3
	  documentation
Packit 209cc3
	Update description fetching code for FreeBSD, fix code for
Packit 209cc3
	  OpenBSD
Packit 209cc3
	Ignore /sys/net/dev files if we get ENODEV for them, not just
Packit 209cc3
	  ENXIO; fixes handling of bonding devices on Linux
Packit 209cc3
	Fix check for a constant 0 argument to BPF_DIV
Packit 209cc3
	Use the right version of ar when cross-building
Packit 209cc3
	Free any filter set on a savefile when the savefile is closed
Packit 209cc3
	Include the CFLAGS setting when configure was run in the
Packit 209cc3
	  compiler flags
Packit 209cc3
	Add support for 802.15.4 interfaces on Linux
Packit 209cc3
Packit 209cc3
Thu.    April 1, 2010.  guy@alum.mit.edu.
Packit 209cc3
Summary for 1.1.1 libpcap release
Packit 209cc3
	Update CHANGES to reflect more of the changes in 1.1.0.
Packit 209cc3
	Fix build on RHEL5.
Packit 209cc3
	Fix shared library build on AIX.
Packit 209cc3
Packit 209cc3
Thu.	March 11, 2010.  ken@netfunctional.ca/guy@alum.mit.edu.
Packit 209cc3
Summary for 1.1.0 libpcap release
Packit 209cc3
	Add SocketCAN capture support
Packit 209cc3
	Add Myricom SNF API support
Packit 209cc3
	Update Endace DAG and ERF support
Packit 209cc3
	Add support for shared libraries on Solaris, HP-UX, and AIX
Packit 209cc3
	Build, install, and un-install shared libraries by default;
Packit 209cc3
	  don't build/install shared libraries on platforms we don't support
Packit 209cc3
	Fix building from a directory other than the source directory
Packit 209cc3
	Fix compiler warnings and builds on some platforms
Packit 209cc3
	Update config.guess and config.sub
Packit 209cc3
	Support monitor mode on mac80211 devices on Linux
Packit 209cc3
	Fix USB memory-mapped capturing on Linux; it requires a new DLT_
Packit 209cc3
	  value
Packit 209cc3
	On Linux, scan /sys/class/net for devices if we have it; scan
Packit 209cc3
	  it, or /proc/net/dev if we don't have /sys/class/net, even if
Packit 209cc3
	  we have getifaddrs(), as it'll find interfaces with no
Packit 209cc3
	  addresses
Packit 209cc3
	Add limited support for reading pcap-ng files
Packit 209cc3
	Fix BPF driver-loading error handling on AIX
Packit 209cc3
	Support getting the full-length interface description on FreeBSD
Packit 209cc3
	In the lexical analyzer, free up any addrinfo structure we got back
Packit 209cc3
	  from getaddrinfo().
Packit 209cc3
	Add support for BPF and libdlpi in OpenSolaris (and SXCE)
Packit 209cc3
	Hyphenate "link-layer" everywhere
Packit 209cc3
	Add /sys/kernel/debug/usb/usbmon to the list of usbmon locations
Packit 209cc3
	In pcap_read_linux_mmap(), if there are no frames available, call
Packit 209cc3
	  poll() even if we're in non-blocking mode, so we pick up
Packit 209cc3
	  errors, and check for the errors in question.
Packit 209cc3
	Note that poll() works on BPF devices is Snow Leopard
Packit 209cc3
	If an ENXIO or ENETDOWN is received, it may mean the device has
Packit 209cc3
	  gone away.  Deal with it.
Packit 209cc3
	For BPF, raise the default capture buffer size to from 32k to 512k
Packit 209cc3
	Support ps_ifdrop on Linux
Packit 209cc3
	Added a bunch of #ifdef directives to make wpcap.dll (WinPcap) compile
Packit 209cc3
	 under cygwin.
Packit 209cc3
	Changes to Linux mmapped captures.
Packit 209cc3
	Fix bug where create_ring would fail for particular snaplen and
Packit 209cc3
	  buffer size combinations
Packit 209cc3
	Update pcap-config so that it handles libpcap requiring
Packit 209cc3
	  additional libraries
Packit 209cc3
	Add workaround for threadsafeness on Windows
Packit 209cc3
	Add missing mapping for DLT_ENC <-> LINKTYPE_ENC
Packit 209cc3
	DLT: Add DLT_CAN_SOCKETCAN
Packit 209cc3
	DLT: Add Solaris ipnet
Packit 209cc3
	Don't check for DLT_IPNET if it's not defined
Packit 209cc3
	Add link-layer types for Fibre Channel FC-2
Packit 209cc3
	Add link-layer types for Wireless HART
Packit 209cc3
	Add link-layer types for AOS
Packit 209cc3
	Add link-layer types for DECT
Packit 209cc3
	Autoconf fixes (AIX, HP-UX, OSF/1, Tru64 cleanups)
Packit 209cc3
	Install headers unconditionally, and include vlan.h/bluetooth.h if
Packit 209cc3
	  enabled
Packit 209cc3
	Autoconf fixes+cleanup
Packit 209cc3
	Support enabling/disabling bluetooth (--{en,dis}able-bluetooth)
Packit 209cc3
	Support disabling SITA support (--without-sita)
Packit 209cc3
	Return -1 on failure to create packet ring (if supported but
Packit 209cc3
	  creation failed)
Packit 209cc3
	Fix handling of 'any' device, so that it can be opened, and no longer
Packit 209cc3
	  attempt to open it in Monitor mode
Packit 209cc3
	Add support for snapshot length for USB Memory-Mapped Interface
Packit 209cc3
	Fix configure and build on recent Linux kernels
Packit 209cc3
	Fix memory-mapped Linux capture to support pcap_next() and
Packit 209cc3
	  pcap_next_ex()
Packit 209cc3
	Fixes for Linux USB capture
Packit 209cc3
	DLT: Add DLT_LINUX_EVDEV
Packit 209cc3
	DLT: Add DLT_GSMTAP_UM
Packit 209cc3
	DLT: Add DLT_GSMTAP_ABIS
Packit 209cc3
Packit 209cc3
Mon.    October 27, 2008.  ken@netfunctional.ca.  Summary for 1.0.0 libpcap release
Packit 209cc3
	Compile with IPv6 support by default
Packit 209cc3
	Compile with large file support on by default
Packit 209cc3
	Add pcap-config script, which deals with -I/-L flags for compiling
Packit 209cc3
	DLT: Add IPMB
Packit 209cc3
	DLT: Add LAPD
Packit 209cc3
	DLT: Add AX25 (AX.25 w/KISS header)
Packit 209cc3
	DLT: Add JUNIPER_ST
Packit 209cc3
	802.15.4 support
Packit 209cc3
	Variable length 802.11 header support
Packit 209cc3
	X2E data type support
Packit 209cc3
	SITA ACN Interface support - see README.sita
Packit 209cc3
	Support for memory-mapped capture on Linux
Packit 209cc3
	Support for zerocopy BPF on platforms that support it
Packit 209cc3
	Support for setting buffer size when opening devices
Packit 209cc3
	Support for setting monitor mode when opening 802.11 devices
Packit 209cc3
	Better support for dealing with VLAN tagging/stripping on Linux
Packit 209cc3
	Fix dynamic library support on OSX
Packit 209cc3
	Return PCAP_ERROR_IFACE_NOT_UP if the interface isn't 'UP', so applications
Packit 209cc3
	 can print better diagnostic information
Packit 209cc3
	Return PCAP_ERROR_PERM_DENIED if we don't have permission to open a device, so
Packit 209cc3
	 applications can tell the user they need to go play with permissions
Packit 209cc3
	On Linux, ignore ENETDOWN so we can continue to capture packets if the
Packit 209cc3
	 interface goes down and comes back up again.
Packit 209cc3
	On Linux, support new tpacket frame headers (2.6.27+)
Packit 209cc3
	On Mac OS X, add scripts for changing permissions on /dev/bpf* and launchd plist
Packit 209cc3
	On Solaris, support 'passive mode' on systems that support it
Packit 209cc3
	Fixes to autoconf and general build environment
Packit 209cc3
	Man page reorganization + cleanup
Packit 209cc3
	Autogenerate VERSION numbers better
Packit 209cc3
Packit 209cc3
Mon.    September 10, 2007.  ken@xelerance.com.  Summary for 0.9.8 libpcap release
Packit 209cc3
        Change build process to put public libpcap headers into pcap subir
Packit 209cc3
        DLT: Add value for IPMI IPMB packets
Packit 209cc3
        DLT: Add value for u10 Networks boards
Packit 209cc3
        Require <net/pfvar.h> for pf definitions - allows reading of pflog formatted
Packit 209cc3
         libpcap files on an OS other than where the file was generated
Packit 209cc3
Packit 209cc3
Wed.	April 25, 2007.  ken@xelerance.com.  Summary for 0.9.6 libpcap release
Packit 209cc3
Packit 209cc3
	Put the public libpcap headers into a pcap subdirectory in both the
Packit 209cc3
	 source directory and the target include directory, and have include
Packit 209cc3
	 files at the top-level directory to include those headers, for
Packit 209cc3
	 backwards compatibility.
Packit 209cc3
	Add Bluetooth support
Packit 209cc3
	Add USB capturing support on Linux
Packit 209cc3
	Add support for the binary USB sniffing interface in Linux
Packit 209cc3
	Add support for new FreeBSD BIOCSDIRECTION ioctl
Packit 209cc3
	Add additional filter operations for 802.11 frame types
Packit 209cc3
	Add support for filtering on MTP2 frame types
Packit 209cc3
	Propagate some changes from the main branch, so the x.9 branch has
Packit 209cc3
	 all the DLT_ and LINKTYPE_ values that the main branch does
Packit 209cc3
	Reserved a DLT_ and SAVEFILE_ value for PPI (Per Packet Info)
Packit 209cc3
	 encapsulated packets
Packit 209cc3
	Add LINKTYPE_ for IEEE 802.15.4, with address fields padded as done
Packit 209cc3
	 by Linux drivers
Packit 209cc3
	Add LINKTYPE_ value corresponding to DLT_IEEE802_16_MAC_CPS.
Packit 209cc3
	Add DLT for IEEE 802.16 (WiMAX) MAC Common Part Sublayer
Packit 209cc3
	Add DLT for Bluetooth HCI UART transport layer
Packit 209cc3
	When building a shared library, build with "-fPIC" on Linux to support x86_64
Packit 209cc3
	Link with "$(CC) -shared" rather than "ld -shared" when building a
Packit 209cc3
	 ".so" shared library
Packit 209cc3
	Add support for autoconf 2.60
Packit 209cc3
	Fixes to discard unread packets when changing filters
Packit 209cc3
	Changes to handle name changes in the DAG library resulting from
Packit 209cc3
	 switching to libtool.
Packit 209cc3
	Add support for new DAG ERF types.
Packit 209cc3
        Add an explicit "-ldag" when building the shared library, so the DAG
Packit 209cc3
	 library dependency is explicit.
Packit 209cc3
	Mac OSX fixes for dealing with "wlt" devices
Packit 209cc3
	Fixes in add_or_find_if() & pcap_findalldevs() to optimize generating
Packit 209cc3
	 device lists
Packit 209cc3
	Fixed a bug in pcap_open_live(). The return value of PacketSetHwFilter
Packit 209cc3
	 was not checked.
Packit 209cc3
Packit 209cc3
Tue.	September 19, 2006. ken@xelerance.com. Summary for 0.9.5 libpcap release
Packit 209cc3
Packit 209cc3
	Support for LAPD frames with vISDN
Packit 209cc3
	Support for ERF on channelized T1/E1 cards via DAG API
Packit 209cc3
	Fix capitalization that caused issues crossc compiling on Linux
Packit 209cc3
	Better failure detection on PacketGetAdapterNames()
Packit 209cc3
	Fixes for MPLS packet generation (link layer)
Packit 209cc3
	OP_PACKET now matches the beginning of the packet, instead of
Packit 209cc3
	 beginning+link-layer
Packit 209cc3
	Add DLT/LINKTYPE for carrying FRF.16 Multi-link Frame Relay
Packit 209cc3
	Fix allocation of buffer for list of link-layer types
Packit 209cc3
	Added a new DLT and LINKTYPE value for ARINC 653 Interpartition Communcation Messages
Packit 209cc3
	Fixed a typo in a DLT value: it should start with DLT_ and not LINKTYPE_
Packit 209cc3
	Redefined DLT_CAN20B and LINKTYPE_CAN20B as #190 (as this is the right value for CAN).
Packit 209cc3
	Added definition for DLT_A429 and LINKTYPE_A429 as #184.
Packit 209cc3
	Added a new DLT and LINKTYPE value for CAN v2.0B frames.
Packit 209cc3
	Add support for DLT_JUNIPER_VP.
Packit 209cc3
	Don't double-count received packets on Linux systems that
Packit 209cc3
	 support the PACKET_STATISTICS getsockopt() argument on
Packit 209cc3
	 PF_PACKET sockets.
Packit 209cc3
	Add support for DLT_IEEE802_11 and DLT_IEEE802_11_RADIO link
Packit 209cc3
	 layers in Windows
Packit 209cc3
	Add support to build libpcap.lib and wpcap.dll under Cygnus and
Packit 209cc3
	 MingW32.
Packit 209cc3
Packit 209cc3
Mon. 	September 5, 2005.  ken@xelerance.com. Summary for 0.9.4 libpcap release
Packit 209cc3
Packit 209cc3
	Support for radiotap on Linux (Mike Kershaw)
Packit 209cc3
	Fixes for HP-UX
Packit 209cc3
	Support for additional Juniper link-layer types
Packit 209cc3
	Fixes for filters on MPLS-encapsulated packets
Packit 209cc3
	"vlan" filter fixed
Packit 209cc3
	"pppoed" and "pppoes" filters added; the latter modifies later
Packit 209cc3
	parts of the filter expression to look at the PPP headers and
Packit 209cc3
	headers in the PPP payload
Packit 209cc3
Packit 209cc3
Tue. 	July 5, 2005.  ken@xelerance.com. Summary for 0.9.3 libpcap release
Packit 209cc3
Packit 209cc3
	Fixes for compiling on nearly every platform,
Packit 209cc3
		including improved 64bit support
Packit 209cc3
	MSDOS Support
Packit 209cc3
	Add support for sending packets
Packit 209cc3
	OpenBSD pf format support
Packit 209cc3
	IrDA capture (Linux only)
Packit 209cc3
Packit 209cc3
Tue.   March 30, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.3 release
Packit 209cc3
Packit 209cc3
	Fixed minor problem in gencode.c that would appear on 64-bit
Packit 209cc3
	platforms.
Packit 209cc3
	Version number is now sane.
Packit 209cc3
Packit 209cc3
Mon.   March 29, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.2 release
Packit 209cc3
Packit 209cc3
	updates for autoconf 2.5
Packit 209cc3
	fixes for ppp interfaces for freebsd 4.1
Packit 209cc3
	pcap gencode can generate code for 802.11, IEEE1394, and pflog.
Packit 209cc3
Packit 209cc3
Wed.   November 12, 2003. mcr@sandelman.ottawa.on.ca. Summary for 0.8 release
Packit 209cc3
Packit 209cc3
	added pcap_findalldevs()
Packit 209cc3
	Win32 patches from NetGroup, Politecnico di Torino (Italy)
Packit 209cc3
	OpenBSD pf, DLT_PFLOG added
Packit 209cc3
	Many changes to ATM support.
Packit 209cc3
	lookup pcap_lookupnet()
Packit 209cc3
	Added DLT_ARCNET_LINUX, DLT_ENC, DLT_IEEE802_11_RADIO, DLT_SUNATM,
Packit 209cc3
		DLT_IP_OVER_FC, DLT_FRELAY, others.
Packit 209cc3
	Sigh.  More AIX wonderfulness.
Packit 209cc3
	Document updates.
Packit 209cc3
	Changes to API: pcap_next_ex(), pcap_breakloop(), pcap_dump_flush(),
Packit 209cc3
			pcap_list_datalinks(), pcap_set_datalink(),
Packit 209cc3
			pcap_lib_version(), pcap_datalink_val_to_name(),
Packit 209cc3
			pcap_datalink_name_to_val(), new error returns.
Packit 209cc3
Packit 209cc3
Tuesday, February 25, 2003. fenner@research.att.com.  0.7.2 release
Packit 209cc3
Packit 209cc3
 	Support link types that use 802.2 always, never, and sometimes.
Packit 209cc3
 	Don't decrease the size of the BPF buffer from the default.
Packit 209cc3
 	Support frame relay.
Packit 209cc3
 	Handle 32-bit timestamps in DLPI, and pass the right buffer size.
Packit 209cc3
 	Handle Linux systems with modern kernel but without
Packit 209cc3
 	 SOL_PACKET in the userland headers.
Packit 209cc3
 	Linux support for ARPHRD_RAWHDLC.
Packit 209cc3
 	Handle 32-bit timestamps in snoop.
Packit 209cc3
 	Support eg (Octane/O2xxx/O3xxx Gigabit) devices.
Packit 209cc3
 	Add new reserved DLT types.
Packit 209cc3
Packit 209cc3
Monday October 23, 2001. mcr@sandelman.ottawa.on.ca. Summary for 0.7 release
Packit 209cc3
Packit 209cc3
	Added pcap_findalldevs() call to get list of interfaces in a MI way.
Packit 209cc3
Packit 209cc3
	pcap_stats() has been documented as to what its counters mean on
Packit 209cc3
	each platform.
Packit 209cc3
Packit 209cc3
Tuesday January 9, 2001. guy@alum.mit.edu. Summary for 0.6 release
Packit 209cc3
Packit 209cc3
	New Linux libpcap implementation, which, in 2.2 and later
Packit 209cc3
	kernels, uses PF_PACKET sockets and supports kernel packet
Packit 209cc3
	filtering (if compiled into the kernel), and supports the "any"
Packit 209cc3
	device for capturing on all interfaces.  Cleans up promiscuous
Packit 209cc3
	mode better on pre-2.2 kernels, and has various other fixes
Packit 209cc3
	(handles 2.4 ARPHRD_IEEE802_TR, handles ISDN devices better,
Packit 209cc3
	doesn't show duplicate packets on loopback interface, etc.).
Packit 209cc3
Packit 209cc3
	Fixed HP-UX libpcap implementation to correctly get the PPA for
Packit 209cc3
	an interface, to allow interfaces to be opened by interface name.
Packit 209cc3
Packit 209cc3
	libpcap savefiles have system-independent link-layer type values
Packit 209cc3
	in the header, rather than sometimes platform-dependent DLT_
Packit 209cc3
	values, to make it easier to exchange capture files between
Packit 209cc3
	different OSes.
Packit 209cc3
Packit 209cc3
	Non-standard capture files produced by some Linux tcpdumps, e.g.
Packit 209cc3
	the one from Red Hat Linux 6.2 and later, can now be read.
Packit 209cc3
Packit 209cc3
	Updated autoconf stock files.
Packit 209cc3
Packit 209cc3
	Filter expressions can filter on VLAN IDs and various OSI
Packit 209cc3
	protocols, and work on Token Ring (with non-source-routed
Packit 209cc3
	packets).
Packit 209cc3
Packit 209cc3
	"pcap_open_dead()" added to allow compiling filter expressions
Packit 209cc3
	to pcap code without opening a capture device or capture file.
Packit 209cc3
Packit 209cc3
	Header files fixed to allow use in C++ programs.
Packit 209cc3
Packit 209cc3
	Removed dependancy on native headers for packet layout.
Packit 209cc3
	Removed Linux specific headers that were shipped.
Packit 209cc3
Packit 209cc3
	Security fixes: Strcpy replaced with strlcpy, sprintf replaced
Packit 209cc3
	with snprintf.
Packit 209cc3
Packit 209cc3
	Fixed bug that could cause subsequent "pcap_compile()"s to fail
Packit 209cc3
	erroneously after one compile failed.
Packit 209cc3
Packit 209cc3
	Assorted other bug fixes.
Packit 209cc3
Packit 209cc3
	README.aix and README.linux files added to describe
Packit 209cc3
	platform-specific issues.
Packit 209cc3
Packit 209cc3
	"getifaddrs()" rather than SIOCGIFCONF used, if available.
Packit 209cc3
Packit 209cc3
v0.5 Sat Jun 10 11:09:15 PDT 2000
Packit 209cc3
Packit 209cc3
itojun@iijlab.net
Packit 209cc3
- Brought in KAME IPv6/IPsec bpf compiler.
Packit 209cc3
- Fixes for NetBSD.
Packit 209cc3
- Support added for OpenBSD DLT_LOOP and BSD/OS DLT_C_HDLC (Cisco HDLC),
Packit 209cc3
  and changes to work around different BSDs having different DLT_ types
Packit 209cc3
  with the same numeric value.
Packit 209cc3
Packit 209cc3
Assar Westerlund  <assar@sics.se>
Packit 209cc3
- Building outside the source code tree fixed.
Packit 209cc3
- Changed to write out time stamps with 32-bit seconds and microseconds
Packit 209cc3
  fields, regardless of whether those fields are 32 bits or 64 bits in
Packit 209cc3
  the OS's native "struct timeval".
Packit 209cc3
- Changed "pcap_lookupdev()" to dynamically grow the buffer into which
Packit 209cc3
  the list of interfaces is read as necessary in order to hold the
Packit 209cc3
  entire list.
Packit 209cc3
Packit 209cc3
Greg Troxel <gdt@ir.bbn.com>
Packit 209cc3
- Added a new "pcap_compile_nopcap()", which lets you compile a filter
Packit 209cc3
  expression into a BPF program without having an open live capture or
Packit 209cc3
  capture file.
Packit 209cc3
Packit 209cc3
v0.4 Sat Jul 25 12:40:09 PDT 1998
Packit 209cc3
Packit 209cc3
- Fix endian problem with DLT_NULL devices. From FreeBSD via Bill
Packit 209cc3
  Fenner (fenner@parc.xerox.com)
Packit 209cc3
Packit 209cc3
- Fix alignment problem with FDDI under DLPI. This was causing core
Packit 209cc3
  dumps under Solaris.
Packit 209cc3
Packit 209cc3
- Added configure options to disable flex and bison. Resulted from a
Packit 209cc3
  bug report by barnett@grymoire.crd.ge.com (Bruce Barnett). Also added
Packit 209cc3
  options to disable gcc and to force a particular packet capture type.
Packit 209cc3
Packit 209cc3
- Added support for Fore ATM interfaces (qaa and fa) under IRIX. Thanks
Packit 209cc3
  to John Hawkinson (jhawk@mit.edu)
Packit 209cc3
Packit 209cc3
- Change Linux PPP and SLIP to use DLT_RAW since the kernel does not
Packit 209cc3
  supply any "link layer" data.
Packit 209cc3
Packit 209cc3
- Change Linux to use SIOCGIFHWADDR ioctl to determine link layer type.
Packit 209cc3
  Thanks to Thomas Sailer (sailer@ife.ee.ethz.ch)
Packit 209cc3
Packit 209cc3
- Change IRIX PPP to use DLT_RAW since the kernel does not supply any
Packit 209cc3
  "link layer" data.
Packit 209cc3
Packit 209cc3
- Modified to support the new BSD/OS 2.1 PPP and SLIP link layer header
Packit 209cc3
  formats.
Packit 209cc3
Packit 209cc3
- Added some new SGI snoop interface types. Thanks to Steve Alexander
Packit 209cc3
  (sca@refugee.engr.sgi.com)
Packit 209cc3
Packit 209cc3
- Fixes for HP-UX 10.20 (which is similar to HP-UX 9). Thanks to
Packit 209cc3
  Richard Allen (ra@hp.is) and Steinar Haug (sthaug@nethelp.no)
Packit 209cc3
Packit 209cc3
- Fddi supports broadcast as reported by Jeff Macdonald
Packit 209cc3
  (jeff@iacnet.com). Also correct ieee802 and arcnet.
Packit 209cc3
Packit 209cc3
- Determine Linux pcap buffer size at run time or else it might not be
Packit 209cc3
  big enough for some interface types (e.g. FDDI). Thanks to Jes
Packit 209cc3
  Sorensen (Jes.Sorensen@cern.ch)
Packit 209cc3
Packit 209cc3
- Fix some linux alignment problems.
Packit 209cc3
Packit 209cc3
- Document promisc argument to pcap_open_live(). Reported by Ian Marsh
Packit 209cc3
  (ianm@sics.se)
Packit 209cc3
Packit 209cc3
- Support Metricom radio packets under Linux. Thanks to Kevin Lai
Packit 209cc3
  (laik@gunpowder.stanford.edu)
Packit 209cc3
Packit 209cc3
- Bind to interface name under Linux to avoid packets from multiple
Packit 209cc3
  interfaces on multi-homed hosts. Thanks to Kevin Lai
Packit 209cc3
  (laik@gunpowder.stanford.edu)
Packit 209cc3
Packit 209cc3
- Change L_SET to SEEK_SET for HP-UX. Thanks to Roland Roberts
Packit 209cc3
  (rroberts@muller.com)
Packit 209cc3
Packit 209cc3
- Fixed an uninitialized memory reference found by Kent Vander Velden
Packit 209cc3
  (graphix@iastate.edu)
Packit 209cc3
Packit 209cc3
- Fixed lex pattern for IDs to allow leading digits. As reported by
Packit 209cc3
  Theo de Raadt (deraadt@cvs.openbsd.org)
Packit 209cc3
Packit 209cc3
- Fixed Linux include file problems when using GNU libc.
Packit 209cc3
Packit 209cc3
- Ifdef ARPHRD_FDDI since not all versions of the Linux kernel have it.
Packit 209cc3
  Reported reported by Eric Jacksch (jacksch@tenebris.ca)
Packit 209cc3
Packit 209cc3
- Fixed bug in pcap_dispatch() that kept it from returning on packet
Packit 209cc3
  timeouts.
Packit 209cc3
Packit 209cc3
- Changed ISLOOPBACK() macro when IFF_LOOPBACK isn't available to check
Packit 209cc3
  for "lo" followed by an eos or digit (newer versions of Linux
Packit 209cc3
  apparently call the loopback "lo" instead of "lo0").
Packit 209cc3
Packit 209cc3
- Fixed Linux networking include files to use ints instead of longs to
Packit 209cc3
  avoid problems with 64 bit longs on the alpha. Thanks to Cristian
Packit 209cc3
  Gafton (gafton@redhat.com)
Packit 209cc3
Packit 209cc3
v0.3 Sat Nov 30 20:56:27 PST 1996
Packit 209cc3
Packit 209cc3
- Added Linux support.
Packit 209cc3
Packit 209cc3
- Fixed savefile bugs.
Packit 209cc3
Packit 209cc3
- Solaris x86 fix from Tim Rylance (t.rylance@elsevier.nl)
Packit 209cc3
Packit 209cc3
- Add support for bpf kernel port filters.
Packit 209cc3
Packit 209cc3
- Remove duplicate atalk protocol table entry. Thanks to Christian
Packit 209cc3
  Hopps (chopps@water.emich.edu)
Packit 209cc3
Packit 209cc3
- Fixed pcap_lookupdev() to ignore nonexistent devices. This was
Packit 209cc3
  reported to happen under BSD/OS by David Vincenzetti
Packit 209cc3
  (vince@cryptonet.it)
Packit 209cc3
Packit 209cc3
- Avoid solaris compiler warnings. Thanks to Bruce Barnett
Packit 209cc3
  (barnett@grymoire.crd.ge.com)
Packit 209cc3
Packit 209cc3
v0.2.1 Sun Jul 14 03:02:26 PDT 1996
Packit 209cc3
Packit 209cc3
- Fixes for HP-UX 10. Thanks in part to to Thomas Wolfram
Packit 209cc3
  (wolf@prz.tu-berlin.de) and Rick Jones (raj@hpisrdq.cup.hp.com)
Packit 209cc3
Packit 209cc3
- Added support for SINIX. Thanks to Andrej Borsenkow
Packit 209cc3
  (borsenkow.msk@sni.de)
Packit 209cc3
Packit 209cc3
- Fixes for AIX (although this system is not yet supported). Thanks to
Packit 209cc3
  John Hawkinson (jhawk@mit.edu)
Packit 209cc3
Packit 209cc3
- Use autoconf's idea of the top level directory in install targets.
Packit 209cc3
  Thanks to John Hawkinson.
Packit 209cc3
Packit 209cc3
- Add missing autoconf packet capture result message. Thanks to Bill
Packit 209cc3
  Fenner (fenner@parc.xerox.com)
Packit 209cc3
Packit 209cc3
- Fixed padding problems in the pf module.
Packit 209cc3
Packit 209cc3
- Fixed some more alignment problems on the alpha.
Packit 209cc3
Packit 209cc3
- Added explicit netmask support. Thanks to Steve Nuchia
Packit 209cc3
  (steve@research.oknet.com)
Packit 209cc3
Packit 209cc3
- Fixed to handle raw ip addresses such as 0.0.0.1 without "left
Packit 209cc3
  justifing"
Packit 209cc3
Packit 209cc3
- Add "sca" keyword (for DEC cluster services) as suggested by Terry
Packit 209cc3
  Kennedy (terry@spcvxa.spc.edu)
Packit 209cc3
Packit 209cc3
- Add "atalk" keyword as suggested by John Hawkinson.
Packit 209cc3
Packit 209cc3
- Add "igrp" keyword.
Packit 209cc3
Packit 209cc3
- Fixed HID definition in grammar.y to be a string, not a value.
Packit 209cc3
Packit 209cc3
- Use $CC when checking gcc version. Thanks to Carl Lindberg
Packit 209cc3
  (carl_lindberg@blacksmith.com)
Packit 209cc3
Packit 209cc3
- Removed obsolete reference to pcap_immediate() from the man page.
Packit 209cc3
  Michael Stolarchuk (mts@terminator.rs.itd.umich.edu)
Packit 209cc3
Packit 209cc3
- DLT_NULL has a 4 byte family header. Thanks to Jeffrey Honig
Packit 209cc3
  (jch@bsdi.com)
Packit 209cc3
Packit 209cc3
v0.2 Sun Jun 23 02:28:42 PDT 1996
Packit 209cc3
Packit 209cc3
- Add support for HP-UX. Resulted from code contributed by Tom Murray
Packit 209cc3
  (tmurray@hpindck.cup.hp.com) and Philippe-Andri Prindeville
Packit 209cc3
  (philipp@res.enst.fr)
Packit 209cc3
Packit 209cc3
- Update INSTALL with a reminder to install include files. Thanks to
Packit 209cc3
  Mark Andrews (mandrews@aw.sgi.com)
Packit 209cc3
Packit 209cc3
- Fix bpf compiler alignment bug on the alpha.
Packit 209cc3
Packit 209cc3
- Use autoconf to detect architectures that can't handle misaligned
Packit 209cc3
  accesses.
Packit 209cc3
Packit 209cc3
- Added loopback support for snoop. Resulted from report Steve
Packit 209cc3
  Alexander (sca@engr.sgi.com)
Packit 209cc3
Packit 209cc3
v0.1 Fri Apr 28 18:11:03 PDT 1995
Packit 209cc3
Packit 209cc3
- Fixed compiler and optimizer bugs.  The BPF filter engine uses unsigned
Packit 209cc3
  comparison operators, while the code generator and optimizer assumed
Packit 209cc3
  signed semantics in several places.  Thanks to Charlie Slater
Packit 209cc3
  (cslater@imatek.com) for pointing this out.
Packit 209cc3
Packit 209cc3
- Removed FDDI ifdef's, they aren't really needed. Resulted from report
Packit 209cc3
  by Gary Veum (veum@boa.gsfc.nasa.gov).
Packit 209cc3
Packit 209cc3
- Add pcap-null.c which allows offline use of libpcap on systems that
Packit 209cc3
  don't support live package capture. This feature resulting from a
Packit 209cc3
  request from Jan van Oorschot (j.p.m.voorschot@et.tudelft.nl).
Packit 209cc3
Packit 209cc3
- Make bpf_compile() reentrant. Fix thanks to Pascal Hennequin
Packit 209cc3
  (Pascal.Hennequin@hugo.int-evry.fr).
Packit 209cc3
Packit 209cc3
- Port to GNU autoconf.
Packit 209cc3
Packit 209cc3
- Fix pcap-dlpi.c to work with isdn. Resulted from report by Flemming
Packit 209cc3
  Johansen (fsj@csd.cri.dk).
Packit 209cc3
Packit 209cc3
- Handle multi-digit interface unit numbers (aka ppa's) under dlpi.
Packit 209cc3
  Resulted from report by Daniel Ehrlich (ehrlich@cse.psu.edu).
Packit 209cc3
Packit 209cc3
- Fix pcap-dlpi.c to work in non-promiscuous mode. Resulted from report
Packit 209cc3
  by Jeff Murphy (jcmurphy@acsu.buffalo.edu).
Packit 209cc3
Packit 209cc3
- Add support for "long jumps". Thanks to Jeffrey Mogul
Packit 209cc3
  (mogul@pa.dec.com).
Packit 209cc3
Packit 209cc3
- Fix minor problems when compiling with BDEBUG as noticed by Scott
Packit 209cc3
  Bertilson (scott@unet.umn.edu).
Packit 209cc3
Packit 209cc3
- Declare sys_errlist "const char *const" to avoid problems under
Packit 209cc3
  FreeBSD. Resulted from report by jher@eden.com.
Packit 209cc3
Packit 209cc3
v0.0.6 Fri Apr 28 04:07:13 PDT 1995
Packit 209cc3
Packit 209cc3
- Add missing variable declaration missing from 0.0.6
Packit 209cc3
Packit 209cc3
v0.0.5 Fri Apr 28 00:22:21 PDT 1995
Packit 209cc3
Packit 209cc3
- Workaround for problems when pcap_read() returns 0 due to the timeout
Packit 209cc3
  expiring.
Packit 209cc3
Packit 209cc3
v0.0.4 Thu Apr 20 20:41:48 PDT 1995
Packit 209cc3
Packit 209cc3
- Change configuration to not use gcc v2 flags with gcc v1.
Packit 209cc3
Packit 209cc3
- Fixed a bug in pcap_next(); if pcap_dispatch() returns 0, pcap_next()
Packit 209cc3
  should also return 0. Thanks to Richard Stevens (rstevens@noao.edu).
Packit 209cc3
Packit 209cc3
- Fixed configure to test for snoop before dlpi to avoid problems under
Packit 209cc3
  IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com).
Packit 209cc3
Packit 209cc3
- Hack around deficiency in Ultrix's make.
Packit 209cc3
Packit 209cc3
- Fix two bugs related to the Solaris pre-5.3.2 bufmod bug; handle
Packit 209cc3
  savefiles that have more than snapshot bytes of data in them (so we
Packit 209cc3
  can read old savefiles) and avoid writing such files.
Packit 209cc3
Packit 209cc3
- Added checkioctl which is used with gcc to check that the
Packit 209cc3
  "fixincludes" script has been run.
Packit 209cc3
Packit 209cc3
v0.0.3 Tue Oct 18 18:13:46 PDT 1994
Packit 209cc3
Packit 209cc3
- Fixed configure to test for snoop before dlpi to avoid problems under
Packit 209cc3
  IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com).
Packit 209cc3
Packit 209cc3
v0.0.2 Wed Oct 12 20:56:37 PDT 1994
Packit 209cc3
Packit 209cc3
- Implement timeout in the dlpi pcap_open_live(). Thanks to Richard
Packit 209cc3
  Stevens.
Packit 209cc3
Packit 209cc3
- Determine pcap link type from dlpi media type. Resulted from report
Packit 209cc3
  by Mahesh Jethanandani (mahesh@npix.com).
Packit 209cc3
Packit 209cc3
v0.0.1 Fri Jun 24 14:50:57 PDT 1994
Packit 209cc3
Packit 209cc3
- Fixed bug in nit_setflags() in pcap-snit.c. The streams ioctl timeout
Packit 209cc3
  wasn't being initialized sometimes resulting in an "NIOCSFLAGS:
Packit 209cc3
  Invalid argument" error under OSF/1. Reported by Matt Day
Packit 209cc3
  (mday@artisoft.com) and Danny Mitzel (dmitzel@whitney.hitc.com).
Packit 209cc3
Packit 209cc3
- Turn on FDDI support by default.
Packit 209cc3
Packit 209cc3
v0.0 Mon Jun 20 19:20:16 PDT 1994
Packit 209cc3
Packit 209cc3
- Initial release.
Packit 209cc3
Packit 209cc3
- Fixed bug with greater/less keywords, reported by Mark Andrews
Packit 209cc3
  (mandrews@alias.com).
Packit 209cc3
Packit 209cc3
- Fix bug where '|' was defined as BPF_AND instead of BPF_OR, reported
Packit 209cc3
  by Elan Amir (elan@leeb.cs.berkeley.edu).
Packit 209cc3
Packit 209cc3
- Machines with little-endian byte ordering are supported thanks to
Packit 209cc3
  Jeff Mogul.
Packit 209cc3
Packit 209cc3
- Add hack for version 2.3 savefiles which don't have caplen and len
Packit 209cc3
  swapped thanks to Vern Paxson.
Packit 209cc3
Packit 209cc3
- Added "&&" and "||" aliases for "and" and "or" thanks to Vern Paxson.
Packit 209cc3
Packit 209cc3
- Added length, inbound and outbound keywords.