1*57e22627SCy SchubertSunday, July 22, 2018 2*57e22627SCy Schubert Summary for 1.9.1 libpcap release 3*57e22627SCy Schubert Mention pcap_get_required_select_timeout() in the main pcap man page 4*57e22627SCy Schubert Fix pcap-usb-linux.c build on systems with musl 5*57e22627SCy Schubert Fix assorted man page and other documentation issues 6*57e22627SCy Schubert Plug assorted memory leaks 7*57e22627SCy Schubert Documentation changes to use https: 8*57e22627SCy Schubert Changes to how time stamp calculations are done 9*57e22627SCy Schubert Lots of tweaks to make newer compilers happier and warning-free and 10*57e22627SCy Schubert to fix instances of C undefined behavior 11*57e22627SCy Schubert Warn if AC_PROG_CC_C99 can't enable C99 support 12*57e22627SCy Schubert Rename pcap_set_protocol() to pcap_set_protocol_linux(). 13*57e22627SCy Schubert Align pcap_t private data on an 8-byte boundary. 14*57e22627SCy Schubert Fix various error messages 15*57e22627SCy Schubert Use 64-bit clean API in dag_findalldevs() 16*57e22627SCy Schubert Fix cleaning up after some errors 17*57e22627SCy Schubert Work around some ethtool ioctl bugs in newer Linux kernels (GitHub 18*57e22627SCy Schubert issue #689) 19*57e22627SCy Schubert Add backwards compatibility sections to some man pages (GitHub issue 20*57e22627SCy Schubert #745) 21*57e22627SCy Schubert Fix autotool configuration on AIX and macOS 22*57e22627SCy Schubert Don't export bpf_filter_with_aux_data() or struct bpf_aux_data; 23*57e22627SCy Schubert they're internal-only and subject to change 24*57e22627SCy Schubert Fix pcapng block size checking 25*57e22627SCy Schubert On macOS, don't build rpcapd or test programs any fatter than they 26*57e22627SCy Schubert need to be 27*57e22627SCy Schubert Fix reading of capture statistics for Linux USB 28*57e22627SCy Schubert Fix packet size values for Linux USB packets (GitHub issue #808) 29*57e22627SCy Schubert Check only VID in VLAN test in filterss (GitHub issue #461) 30*57e22627SCy Schubert Fix pcap_list_datalinks on 802.11 devices on macOS 31*57e22627SCy Schubert Fix overflows with very large snapshot length in pcap file 32*57e22627SCy Schubert Improve parsing of rpcapd configuration file (GitHub issue #767) 33*57e22627SCy Schubert Handle systems without strlcpy() or strlcat() better 34*57e22627SCy Schubert Fix crashes and other errors with invalid filter expressions 35*57e22627SCy Schubert Fix use of uninitialized file descriptor in remote capture 36*57e22627SCy Schubert Fix some CMake issues 37*57e22627SCy Schubert Fix some divide-by-zero issues with the filter compiler 38*57e22627SCy Schubert Work around a GNU libc bug in pcap_nametonetaddr() 39*57e22627SCy Schubert Add support for DLT_LINUX_SLL2 40*57e22627SCy Schubert Fix handling of the packet-count argument for Myricom SNF devices 41*57e22627SCy Schubert Fix --disable-rdma in configure script (GitHub issue #782) 42*57e22627SCy Schubert Fix compilation of TurboCap support (GitHub issue #764) 43*57e22627SCy Schubert Constify first argument to pcap_findalldevs_ex() 44*57e22627SCy Schubert Fix a number of issues when running rpcapd as an inetd-style daemon 45*57e22627SCy Schubert Fix CMake issues with D-Bus libraries 46*57e22627SCy Schubert In rpcapd, clean up termination of a capture session 47*57e22627SCy Schubert Redo remote capture protocol negotiation 48*57e22627SCy Schubert In rpcapd, report the same error for "invalid user name" and 49*57e22627SCy Schubert "invalid password", to make brute-forcing harder 50*57e22627SCy Schubert For remote captures, add an error code for "the server requires TLS" 51*57e22627SCy Schubert Fix pcap_dump_fopen() on Windows to avoid clashes between 52*57e22627SCy Schubert {Win,N}Pcap and application C runtimes 53*57e22627SCy Schubert Fix exporting of functions from Windows DLLs (GitHub issue #810) 54*57e22627SCy Schubert Fix building as part of Npcap 55*57e22627SCy Schubert Allow rpcapd to rebind more rapidly 56*57e22627SCy Schubert Fix building shared libpcap library on midipix (midipix.org) 57*57e22627SCy Schubert Fix hack to detect UTF-16LE adapter names on Windows not to go past 58*57e22627SCy Schubert the end of the string 59*57e22627SCy Schubert Fix handling of "wireless WAN" (mobile phone network modems) on 60*57e22627SCy Schubert Windows with WinPcap/Npcap (GitHub issue #824) 61*57e22627SCy Schubert Have pcap_dump_open_append() create the dump file if it doesn't 62*57e22627SCy Schubert exists (GitHub issue #247) 63*57e22627SCy Schubert Fix the maxmum snapshot length for DLT_USBPCAP 64*57e22627SCy Schubert Use -fPIC when building for 64-bit SPARC on Linux (GitHub issue #837) 65*57e22627SCy Schubert Fix CMake 64-bit library installation directory on some Linux 66*57e22627SCy Schubert distributions 67*57e22627SCy Schubert Boost the TPACKET_V3 timeout to the maximum if a timeout of 0 was 68*57e22627SCy Schubert specified 69*57e22627SCy Schubert Five CVE-2019-15161, CVE-2019-15162, CVE-2019-15163, CVE-2019-15164, CVE-2019-15165 70*57e22627SCy Schubert Fixes for CVE-2018-16301, errors in pcapng reading. 71*57e22627SCy Schubert PCAPNG reader applies some sanity checks before doing malloc(). 72*57e22627SCy Schubert 73*57e22627SCy SchubertSunday, June 24, 2018, by mcr@sandelman.ca 74b00ab754SHans Petter Selasky Summary for 1.9.0 libpcap release 75*57e22627SCy Schubert Added testing system to libpcap, independent of tcpdump 76*57e22627SCy Schubert Changes to how pcap_t is activated 77*57e22627SCy Schubert Adding support for Large stream buffers on Endace DAG cards 78*57e22627SCy Schubert Changes to BSD 3-clause license to 2-clause licence 79*57e22627SCy Schubert Additions to TCP header parsing, per RFC3168 80*57e22627SCy Schubert Add CMake build process (extensive number of changes) 81*57e22627SCy Schubert Assign a value for OpenBSD DLT_OPENFLOW. 82*57e22627SCy Schubert Support setting non-blocking mode before activating. 83*57e22627SCy Schubert Extensive build support for Windows VS2010 and MINGW (many many changes, over many months) 84*57e22627SCy Schubert Added RPCAPD support when --enable-remote (default no) 85*57e22627SCy Schubert Add the rpcap daemon source and build instructions. 86*57e22627SCy Schubert Put back the greasy "save the capture filter string so we can tweak it" 87*57e22627SCy Schubert hack, that keeps libpcap from capturing rpcap traffic. 88*57e22627SCy Schubert Fixes for captures on MacOS, utun0 89*57e22627SCy Schubert fixes so that non-AF_INET addresses, are not ==AF_INET6 addresses. 90*57e22627SCy Schubert Add a linktype for IBM SDLC frames containing SNA PDUs. 91*57e22627SCy Schubert pcap_compile() in 1.8.0 and later is newly thread-safe. 92*57e22627SCy Schubert bound snaplen for linux tpacket_v2 to ~64k 93*57e22627SCy Schubert Make VLAN filter handle both metadata and inline tags 94*57e22627SCy Schubert D-Bus captures can now be up to 128MB in size 95*57e22627SCy Schubert Added LORATAP DLT value 96*57e22627SCy Schubert Added DLT_VSOCK for http://qemu-project.org/Features/VirtioVsock 97*57e22627SCy Schubert probe_devices() fixes not to overrun buffer for name of device 98*57e22627SCy Schubert Add linux-specific pcap_set_protocol_linux() to allow specifying a specific capture protocol. 99*57e22627SCy Schubert RDMA sniffing support for pcap 100*57e22627SCy Schubert Add Nordic Semiconductor Bluetooth LE sniffer link-layer header type. 101*57e22627SCy Schubert fixes for reading /etc/ethers 102*57e22627SCy Schubert Make it possible to build on Windows without packet.dll. 103*57e22627SCy Schubert Add tests for large file support on UN*X. 104*57e22627SCy Schubert Solaris fixes to work with 2.8.6 105*57e22627SCy Schubert configuration test now looks for header files, not capture devices present 106*57e22627SCy Schubert Fix to work with Berkeley YACC. 107*57e22627SCy Schubert fixes for DragonBSD compilation of pcap-netmap.c 108*57e22627SCy Schubert Clean up the ether_hostton() stuff. 109*57e22627SCy Schubert Add an option to disable Linux memory-mapped capture support. 110*57e22627SCy Schubert Add DAG API support checks. 111*57e22627SCy Schubert Add Septel, Myricom SNF, and Riverbed TurboCap checks. 112*57e22627SCy Schubert Add checks for Linux USB, Linux Bluetooth, D-Bus, and RDMA sniffing support. 113*57e22627SCy Schubert Add a check for hardware time stamping on Linux. 114*57e22627SCy Schubert Don't bother supporting pre-2005 Visual Studio. 115*57e22627SCy Schubert Increased minimum autoconf version requirement to 2.64 116*57e22627SCy Schubert Add DLT value 273 for XRA-31 sniffer 117*57e22627SCy Schubert Clean up handing of signal interrupts in pcap_read_nocb_remote(). 118*57e22627SCy Schubert Use the XPG 4.2 versions of the networking APIs in Solaris. 119*57e22627SCy Schubert Fix, and better explain, the "IPv6 means IPv6, not IPv4" option setting. 120*57e22627SCy Schubert Explicitly warn that negative packet buffer timeouts should not be used. 121*57e22627SCy Schubert rpcapd: Add support inetd-likes, including xinetd.conf, and systemd units 122*57e22627SCy Schubert Rename DLT_IEEE802_15_4 to DLT_IEEE802_15_4_WITHFCS. 123*57e22627SCy Schubert Add DISPLAYPORT AUX link type 124*57e22627SCy Schubert Remove the sunos4 kernel modules and all references to them. 125*57e22627SCy Schubert Add more interface flags to pcap_findalldevs(). 126*57e22627SCy Schubert Summary for 1.9.0 libpcap release (to 2017-01-25 by guy@alum.mit.edu) 127b00ab754SHans Petter Selasky Man page improvements 128b00ab754SHans Petter Selasky Fix Linux cooked mode userspace filtering (GitHub pull request #429) 129b00ab754SHans Petter Selasky Fix compilation if IPv6 support not enabled 130b00ab754SHans Petter Selasky Fix some Linux memory-mapped capture buffer size issues 131b00ab754SHans Petter Selasky Don't fail if kernel filter can't be set on Linux (GitHub issue 132b00ab754SHans Petter Selasky #549) 133b00ab754SHans Petter Selasky Improve sorting of interfaces for pcap_findalldevs() 134b00ab754SHans Petter Selasky Don't list Linux usbmon devices if usbmon module isn't loaded 135b00ab754SHans Petter Selasky Report PCAP_ERROR_PERM_DENIED if no permission to open Linux usbmon 136b00ab754SHans Petter Selasky devices 137b00ab754SHans Petter Selasky Fix DLT_ type for Solaris IPNET devices 138b00ab754SHans Petter Selasky Always return an error message for errors finding DAG or Myricom 139b00ab754SHans Petter Selasky devices 140b00ab754SHans Petter Selasky If possible, don't require that a device be openable when 141b00ab754SHans Petter Selasky enumerating them for pcap_findalldevs() 142b00ab754SHans Petter Selasky Don't put incompletely-initialized addresses in the address list for 143b00ab754SHans Petter Selasky When finding Myricom devices, update description for regular 144b00ab754SHans Petter Selasky interfaces that are Myricom devices and handle SNF_FLAGS=0x2(port 145b00ab754SHans Petter Selasky aggregation enabled) 146b00ab754SHans Petter Selasky Fix compilation error in DAG support 147b00ab754SHans Petter Selasky Fix issues with CMake configuration 148b00ab754SHans Petter Selasky Add support for stream buffers larger than 2GB on newer DAG cards 149b00ab754SHans Petter Selasky Remove support for building against DAG versions without STREAMS 150b00ab754SHans Petter Selasky support (before dag-3.0.0 2007) 151b00ab754SHans Petter Selasky 152ada6f083SXin LITuesday, Oct. 25, 2016 mcr@sandelman.ca 153ada6f083SXin LI Summary for 1.8.1 libpcap release 154ada6f083SXin LI Add a target in Makefile.in for Exuberant Ctags use: 'extags'. 155ada6f083SXin LI Rename configure.in to configure.ac: autoconf 2.59 156ada6f083SXin LI Clean up the name-to-DLT mapping table. 157ada6f083SXin LI Add some newer DLT_ values: IPMI_HPM_2,ZWAVE_R1_R2,ZWAVE_R3,WATTSTOPPER_DLM,ISO_14443,RDS 158ada6f083SXin LI Clarify what the return values are for both success and failure. 159ada6f083SXin LI Many changes to build on windows 160ada6f083SXin LI Check for the "break the loop" condition in the inner loop for TPACKET_V3. 161ada6f083SXin LI Fix handling of packet count in the TPACKET_V3 inner loop: GitHub issue #493. 162ada6f083SXin LI Filter out duplicate looped back CAN frames. 163ada6f083SXin LI Fix the handling of loopback filters for IPv6 packets. 164ada6f083SXin LI Add a link-layer header type for RDS (IEC 62106) groups. 165ada6f083SXin LI Use different intermediate folders for x86 and x64 builds on Windows. 166ada6f083SXin LI On Linux, handle all CAN captures with pcap-linux.c, in cooked mode. 167ada6f083SXin LI Removes the need for the "host-endian" link-layer header type. 168ada6f083SXin LI Compile with '-Wused-but-marked-unused' in devel mode if supported 169ada6f083SXin LI Have separate DLTs for big-endian and host-endian SocketCAN headers. 170ada6f083SXin LI Reflect version.h being renamed to pcap_version.h. 171ada6f083SXin LI Require that version.h be generated: all build procedures we support generate version.h (autoconf, CMake, MSVC)! 172ada6f083SXin LI Properly check for sock_recv() errors. 173ada6f083SXin LI Re-impose some of Winsock's limitations on sock_recv(). 174ada6f083SXin LI Replace sprintf() with pcap_snprintf(). 175ada6f083SXin LI Fix signature of pcap_stats_ex_remote(). 176ada6f083SXin LI Initial cmake support for remote packet capture. 177ada6f083SXin LI Have rpcap_remoteact_getsock() return a SOCKET and supply an "is active" flag. 178ada6f083SXin LI Clean up {DAG, Septel, Myricom SNF}-only builds. 179ada6f083SXin LI Do UTF-16-to-ASCII conversion into the right place. 180ada6f083SXin LI pcap_create_interface() needs the interface name on Linux. 181ada6f083SXin LI Clean up hardware time stamp support: the "any" device does not support any time stamp types. 182ada6f083SXin LI Add support for capturing on FreeBSD usbusN interfaces. 183ada6f083SXin LI Add a LINKTYPE/DLT_ value for FreeBSD USB. 184ada6f083SXin LI Go back to using PCAP_API on Windows. 185ada6f083SXin LI CMake support 186ada6f083SXin LI Add TurboCap support from WinPcap. 187ada6f083SXin LI Recognize 802.1ad nested VLAN tag in vlan filter. 188ada6f083SXin LI 189ada6f083SXin LIThursday Sep. 3, 2015 guy@alum.mit.edu 190ada6f083SXin LI Summary for 1.7.5 libpcap release 191ada6f083SXin LI Man page cleanups. 192ada6f083SXin LI Add some allocation failure checks. 193ada6f083SXin LI Fix a number of Linux/ucLinux configure/build issues. 194ada6f083SXin LI Fix some memory leaks. 195ada6f083SXin LI Recognize 802.1ad nested VLAN tag in vlan filter. 196ada6f083SXin LI Fix building Bluetooth Linux Monitor support with BlueZ 5.1+ 197ada6f083SXin LI 198ada6f083SXin LISaturday Jun. 27, 2015 mcr@sandelman.ca 199ada6f083SXin LI Summary for 1.7.4 libpcap release 200ada6f083SXin LI Include fix for GitHub issue #424 -- out of tree builds. 201ada6f083SXin LI 202ada6f083SXin LIFriday Apr. 10, 2015 guy@alum.mit.edu 203ada6f083SXin LI Summary for 1.7.3 libpcap release 204ada6f083SXin LI Work around a Linux bonding driver bug. 205ada6f083SXin LI 206ada6f083SXin LIThursday Feb. 12, 2015 guy@alum.mit.edu/mcr@sandelman.ca 207ada6f083SXin LI Summary for 1.7.2 libpcap release 208ada6f083SXin LI Support for filtering Geneve encapsulated packets. 209ada6f083SXin LI Generalize encapsulation handling, fixing some bugs. 210ada6f083SXin LI Don't add null addresses to address lists. 211ada6f083SXin LI Add pcap_dump_open_append() to open for appending. 212ada6f083SXin LI Fix the swapping of isochronous descriptors in Linux USB. 213ada6f083SXin LI Attempt to handle TPACKET_V1 with 32-bit userland and 64-bit kernel. 214ada6f083SXin LI 215ada6f083SXin LIWednesday Nov. 12, 2014 guy@alum.mit.edu/mcr@sandelman.ca 216ada6f083SXin LI Summary for 1.7.0 libpcap release 217ada6f083SXin LI Fix handling of zones for BPF on Solaris 218ada6f083SXin LI new DLT for ZWAVE 219ada6f083SXin LI clarifications for read timeouts. 220ada6f083SXin LI Use BPF extensions in compiled filters, fixing VLAN filters 221ada6f083SXin LI some fixes to compilation without stdint.h 222ada6f083SXin LI EBUSY can now be returned by SNFv3 code. 223ada6f083SXin LI Fix the range checks in BPF loads 224ada6f083SXin LI Various DAG fixes. 225ada6f083SXin LI Various Linux fixes. 226ada6f083SXin LI 227681ed54cSXin LIMonday Aug. 12, 2014 guy@alum.mit.edu 228ada6f083SXin LI Summary for 1.6.2 libpcap release 229681ed54cSXin LI Don't crash on filters testing a non-existent link-layer type 230681ed54cSXin LI field. 231681ed54cSXin LI Fix sending in non-blocking mode on Linux with memory-mapped 232681ed54cSXin LI capture. 233681ed54cSXin LI Fix timestamps when reading pcap-ng files on big-endian 234681ed54cSXin LI machines. 235681ed54cSXin LI 236681ed54cSXin LISaturday Jul. 19, 2014 mcr@sandelman.ca 237ada6f083SXin LI Summary for 1.6.1 libpcap release 238681ed54cSXin LI some fixes for the any device 239ada6f083SXin LI changes for how --enable-XXX (--enable-sniffing, --enable-can) works 240681ed54cSXin LI 241681ed54cSXin LIWednesday Jul. 2, 2014 mcr@sandelman.ca 242ada6f083SXin LI Summary for 1.6.0 libpcap release 243681ed54cSXin LI Don't support D-Bus sniffing on OS X 244681ed54cSXin LI fixes for byte order issues with NFLOG captures 245681ed54cSXin LI Handle using cooked mode for DLT_NETLINK in activate_new(). 246681ed54cSXin LI on platforms where you can not capture on down interfaces, do not list them 247681ed54cSXin LI but: do list interfaces which are down, if you can capture on them! 248681ed54cSXin LI 249681ed54cSXin LIWednesday December 18, 2013 guy@alum.mit.edu 250681ed54cSXin LISummary for 1.5.3 libpcap release 251681ed54cSXin LI Don't let packets that don't match the current filter get to the 252681ed54cSXin LI application when TPACKET_V3 is used. (GitHub issue #331) 253681ed54cSXin LI Fix handling of pcap_loop()/pcap_dispatch() with a packet count 254681ed54cSXin LI of 0 on some platforms (including Linux with TPACKET_V3). 255681ed54cSXin LI (GitHub issue #333) 256681ed54cSXin LI Work around TPACKET_V3 deficiency that causes packets to be lost 257681ed54cSXin LI when a timeout of 0 is specified. (GitHub issue #335) 258681ed54cSXin LI Man page formatting fixes. 259681ed54cSXin LI 260681ed54cSXin LIWednesday December 4, 2013 guy@alum.mit.edu 261681ed54cSXin LISummary for 1.5.2 libpcap release 262681ed54cSXin LI Fix libpcap to work when compiled with TPACKET_V3 support and 263681ed54cSXin LI running on a kernel without TPACKET_V3 support. (GitHub 264681ed54cSXin LI issue #329) 265681ed54cSXin LI 266681ed54cSXin LIWednesday November 20, 2013 guy@alum.mit.edu 267681ed54cSXin LISummary for 1.5.1 libpcap release 268681ed54cSXin LI Report an error, rather than crashing, if an IPv6 address is 269681ed54cSXin LI used for link-layer filtering. (Wireshark bug 9376) 270681ed54cSXin LI 271681ed54cSXin LIWednesday October 30, 2013 guy@alum.mit.edu 272681ed54cSXin LISummary for 1.5.0 libpcap release 273681ed54cSXin LI TPACKET_V3 support added for Linux 274681ed54cSXin LI Point users to the the-tcpdump-group repository on GitHub rather 275681ed54cSXin LI than the mcr repository 276681ed54cSXin LI Checks added for malloc()/realloc()/etc. failures 277681ed54cSXin LI Fixed build on Solaris 11 278681ed54cSXin LI Support filtering filtering E1 SS7 traffic on MTP2 layer Annex A 279681ed54cSXin LI Use "ln -s" to link man pages by default 280681ed54cSXin LI Add support for getting nanosecond-resolution time stamps when 281681ed54cSXin LI capturing and reading capture files 282681ed54cSXin LI Many changes to autoconf to deal better with non-GCC compilers 283681ed54cSXin LI added many new DLT types 284681ed54cSXin LI 285681ed54cSXin LISaturday April 6, 2013 guy@alum.mit.edu 286edc89b24SXin LISummary for 1.4.0 libpcap release 287edc89b24SXin LI Add netfilter/nfqueue interface. 288edc89b24SXin LI If we don't have support for IPv6 address resolution, support, 289edc89b24SXin LI in filter expressions, what IPv6 stuff we can. 290edc89b24SXin LI Fix pcap-config to include -lpthread if canusb support is 291edc89b24SXin LI present 292edc89b24SXin LI Try to fix "pcap_parse not defined" problems when --without-flex 293edc89b24SXin LI and --without-bison are used when you have Flex and Bison 294edc89b24SXin LI Fix some issues with the pcap_loop man page. 295edc89b24SXin LI Fix pcap_getnonblock() and pcap_setnonblock() to fill in the 296edc89b24SXin LI supplied error message buffer 297edc89b24SXin LI Fix typo that, it appeared, would cause pcap-libdlpi.c not to 298edc89b24SXin LI compile (perhaps systems with libdlpi also have BPF and use 299edc89b24SXin LI that instead) 300edc89b24SXin LI Catch attempts to call pcap_compile() on a non-activated pcap_t 301edc89b24SXin LI Fix crash on Linux with CAN-USB support without usbfs 302edc89b24SXin LI Fix addition of VLAN tags for Linux cooked captures 303edc89b24SXin LI Check for both EOPNOTSUPP and EINVAL after SIOCETHTOOL ioctl, so 304edc89b24SXin LI that the driver can report either one if it doesn't support 305edc89b24SXin LI SIOCETHTOOL 306edc89b24SXin LI Add DLT_INFINIBAND and DLT_SCTP 307edc89b24SXin LI Describe "proto XXX" and "protochain XXX" in the pcap-filter man 308edc89b24SXin LI page 309edc89b24SXin LI Handle either directories, or symlinks to directories, that 310edc89b24SXin LI correspond to interfaces in /sys/class/net 311edc89b24SXin LI Fix handling of VLAN tag insertion to check, on Linux 3.x 312edc89b24SXin LI kernels, for VLAN tag valid flag 313edc89b24SXin LI Clean up some man pages 314edc89b24SXin LI Support libnl3 as well as libnl1 and libnl2 on Linux 315681ed54cSXin LI Fix handling of Bluetooth devices on 3.x Linux kernels 316edc89b24SXin LI 31715752fa8SXin LIFriday March 30, 2012. mcr@sandelman.ca 31815752fa8SXin LISummary for 1.3.0 libpcap release 31915752fa8SXin LI Handle DLT_PFSYNC in {FreeBSD, other *BSD+Mac OS X, other}. 32015752fa8SXin LI Linux: Don't fail if netfilter isn't enabled in the kernel. 32115752fa8SXin LI Add new link-layer type for NFC Forum LLCP. 32215752fa8SXin LI Put the CANUSB stuff into EXTRA_DIST, so it shows up in the release tarball. 32315752fa8SXin LI Add LINKTYPE_NG40/DLT_NG40. 32415752fa8SXin LI Add DLT_MPEG_2_TS/LINKTYPE_MPEG_2_TS for MPEG-2 transport streams. 32515752fa8SXin LI [PATCH] Fix AIX-3.5 crash with read failure during stress 32615752fa8SXin LI AIX fixes. 32715752fa8SXin LI Introduce --disable-shared configure option. 32815752fa8SXin LI Added initial support for canusb devices. 32915752fa8SXin LI Include the pcap(3PCAP) additions as 1.2.1 changes. 33015752fa8SXin LI many updates to documentation: pcap.3pcap.in 33115752fa8SXin LI Improve 'inbound'/'outbound' capture filters under Linux. 33215752fa8SXin LI Note the cleanup of handling of new DLT_/LINKTYPE_ values. 33315752fa8SXin LI On Lion, don't build for PPC. 33415752fa8SXin LI For mac80211 devices we need to clean up monitor mode on exit. 33515752fa8SXin LI 336d1e87331SXin LIFriday December 9, 2011. guy@alum.mit.edu. 337d1e87331SXin LISummary for 1.2.1 libpcap release 338d1e87331SXin LI Update README file. 339d1e87331SXin LI Fix typoes in README.linux file. 340d1e87331SXin LI Clean up some compiler warnings. 341d1e87331SXin LI Fix Linux compile problems and tests for ethtool.h. 342d1e87331SXin LI Treat Debian/kFreeBSD and GNU/Hurd as systems with GNU 343d1e87331SXin LI toolchains. 344d1e87331SXin LI Support 802.1 QinQ as a form of VLAN in filters. 345d1e87331SXin LI Treat "carp" as equivalent to "vrrp" in filters. 346d1e87331SXin LI Fix code generated for "ip6 protochain". 347d1e87331SXin LI Add some new link-layer header types. 348d1e87331SXin LI Support capturing NetFilter log messages on Linux. 349d1e87331SXin LI Clean up some error messages. 350d1e87331SXin LI Turn off monitor mode on exit for mac80211 interfaces on Linux. 351d1e87331SXin LI Fix problems turning monitor mode on for non-mac80211 interfaces 352d1e87331SXin LI on Linux. 353d1e87331SXin LI Properly fail if /sys/class/net or /proc/net/dev exist but can't 354d1e87331SXin LI be opened. 355d1e87331SXin LI Fail if pcap_activate() is called on an already-activated 356d1e87331SXin LI pcap_t, and add a test program for that. 357d1e87331SXin LI Fix filtering in pcap-ng files. 358d1e87331SXin LI Don't build for PowerPC on Mac OS X Lion. 359d1e87331SXin LI Simplify handling of new DLT_/LINKTYPE_ values. 360d1e87331SXin LI Expand pcap(3PCAP) man page. 361d1e87331SXin LI 362d1e87331SXin LISunday July 24, 2011. mcr@sandelman.ca. 363d1e87331SXin LISummary for 1.2 libpcap release 364d1e87331SXin LI All of the changes listed below for 1.1.1 and 1.1.2. 365d1e87331SXin LI Changes to error handling for pcap_findalldevs(). 366d1e87331SXin LI Fix the calculation of the frame size in memory-mapped captures. 367d1e87331SXin LI Add a link-layer header type for STANAG 5066 D_PDUs. 368d1e87331SXin LI Add a link-layer type for a variant of 3GPP TS 27.010. 369d1e87331SXin LI Noted real nature of LINKTYPE_ARCNET. 370d1e87331SXin LI Add a link-layer type for DVB-CI. 371d1e87331SXin LI Fix configure-script discovery of VLAN acceleration support. 372d1e87331SXin LI see http://netoptimizer.blogspot.com/2010/09/tcpdump-vs-vlan-tags.html 373d1e87331SXin LI Linux, HP-UX, AIX, NetBSD and OpenBSD compilation/conflict fixes. 374d1e87331SXin LI Protect against including AIX 5.x's <net/bpf.h> having been included. 375d1e87331SXin LI Add DLT_DBUS, for raw D-Bus messages. 376d1e87331SXin LI Treat either EPERM or EACCES as "no soup for you". 377d1e87331SXin LI Changes to permissions on DLPI systems. 378d1e87331SXin LI Add DLT_IEEE802_15_4_NOFCS for 802.15.4 interfaces. 379d1e87331SXin LI 380d1e87331SXin LIFri. August 6, 2010. guy@alum.mit.edu. 381d1e87331SXin LISummary for 1.1.2 libpcap release 382d1e87331SXin LI Return DLT_ values, not raw LINKTYPE_ values from 383d1e87331SXin LI pcap_datalink() when reading pcap-ng files 384d1e87331SXin LI Add support for "wlan ra" and "wlan ta", to check the RA and TA 385d1e87331SXin LI of WLAN frames that have them 386d1e87331SXin LI Don't crash if "wlan addr{1,2,3,4}" are used without 802.11 387d1e87331SXin LI headers 388d1e87331SXin LI Do filtering on USB and Bluetooth capturing 389d1e87331SXin LI On FreeBSD/SPARC64, use -fPIC - it's apparently necessary 390d1e87331SXin LI Check for valid port numbers (fit in a 16-bit unsigned field) in 391d1e87331SXin LI "port" filters 392d1e87331SXin LI Reject attempts to put savefiles into non-blocking mode 393d1e87331SXin LI Check for "no such device" for the "get the media types" ioctl 394d1e87331SXin LI in *BSD 395d1e87331SXin LI Improve error messages from bpf_open(), and let it do the error 396d1e87331SXin LI handling 397d1e87331SXin LI Return more specific errors from pcap_can_set_rfmon(); fix 398d1e87331SXin LI documentation 399d1e87331SXin LI Update description fetching code for FreeBSD, fix code for 400d1e87331SXin LI OpenBSD 401d1e87331SXin LI Ignore /sys/net/dev files if we get ENODEV for them, not just 402d1e87331SXin LI ENXIO; fixes handling of bonding devices on Linux 403d1e87331SXin LI Fix check for a constant 0 argument to BPF_DIV 404d1e87331SXin LI Use the right version of ar when cross-building 405d1e87331SXin LI Free any filter set on a savefile when the savefile is closed 406d1e87331SXin LI Include the CFLAGS setting when configure was run in the 407d1e87331SXin LI compiler flags 408d1e87331SXin LI Add support for 802.15.4 interfaces on Linux 409d1e87331SXin LI 410a0ee43a1SRui PauloThu. April 1, 2010. guy@alum.mit.edu. 411a0ee43a1SRui PauloSummary for 1.1.1 libpcap release 412a0ee43a1SRui Paulo Update CHANGES to reflect more of the changes in 1.1.0. 413a0ee43a1SRui Paulo Fix build on RHEL5. 414a0ee43a1SRui Paulo Fix shared library build on AIX. 415a0ee43a1SRui Paulo 416a0ee43a1SRui PauloThu. March 11, 2010. ken@netfunctional.ca/guy@alum.mit.edu. 417a0ee43a1SRui PauloSummary for 1.1.0 libpcap release 418a0ee43a1SRui Paulo Add SocketCAN capture support 419a0ee43a1SRui Paulo Add Myricom SNF API support 420a0ee43a1SRui Paulo Update Endace DAG and ERF support 421a0ee43a1SRui Paulo Add support for shared libraries on Solaris, HP-UX, and AIX 422a0ee43a1SRui Paulo Build, install, and un-install shared libraries by default; 423a0ee43a1SRui Paulo don't build/install shared libraries on platforms we don't support 424a0ee43a1SRui Paulo Fix building from a directory other than the source directory 425a0ee43a1SRui Paulo Fix compiler warnings and builds on some platforms 426a0ee43a1SRui Paulo Update config.guess and config.sub 427a0ee43a1SRui Paulo Support monitor mode on mac80211 devices on Linux 428a0ee43a1SRui Paulo Fix USB memory-mapped capturing on Linux; it requires a new DLT_ 429a0ee43a1SRui Paulo value 430a0ee43a1SRui Paulo On Linux, scan /sys/class/net for devices if we have it; scan 431a0ee43a1SRui Paulo it, or /proc/net/dev if we don't have /sys/class/net, even if 432a0ee43a1SRui Paulo we have getifaddrs(), as it'll find interfaces with no 433a0ee43a1SRui Paulo addresses 434a0ee43a1SRui Paulo Add limited support for reading pcap-ng files 435a0ee43a1SRui Paulo Fix BPF driver-loading error handling on AIX 436a0ee43a1SRui Paulo Support getting the full-length interface description on FreeBSD 437a0ee43a1SRui Paulo In the lexical analyzer, free up any addrinfo structure we got back 438a0ee43a1SRui Paulo from getaddrinfo(). 439a0ee43a1SRui Paulo Add support for BPF and libdlpi in OpenSolaris (and SXCE) 440a0ee43a1SRui Paulo Hyphenate "link-layer" everywhere 441a0ee43a1SRui Paulo Add /sys/kernel/debug/usb/usbmon to the list of usbmon locations 442a0ee43a1SRui Paulo In pcap_read_linux_mmap(), if there are no frames available, call 443a0ee43a1SRui Paulo poll() even if we're in non-blocking mode, so we pick up 444a0ee43a1SRui Paulo errors, and check for the errors in question. 445a0ee43a1SRui Paulo Note that poll() works on BPF devices is Snow Leopard 446a0ee43a1SRui Paulo If an ENXIO or ENETDOWN is received, it may mean the device has 447a0ee43a1SRui Paulo gone away. Deal with it. 448a0ee43a1SRui Paulo For BPF, raise the default capture buffer size to from 32k to 512k 449a0ee43a1SRui Paulo Support ps_ifdrop on Linux 450a0ee43a1SRui Paulo Added a bunch of #ifdef directives to make wpcap.dll (WinPcap) compile 451a0ee43a1SRui Paulo under cygwin. 452a0ee43a1SRui Paulo Changes to Linux mmapped captures. 453a0ee43a1SRui Paulo Fix bug where create_ring would fail for particular snaplen and 454a0ee43a1SRui Paulo buffer size combinations 455a0ee43a1SRui Paulo Update pcap-config so that it handles libpcap requiring 456a0ee43a1SRui Paulo additional libraries 457a0ee43a1SRui Paulo Add workaround for threadsafeness on Windows 458a0ee43a1SRui Paulo Add missing mapping for DLT_ENC <-> LINKTYPE_ENC 459a0ee43a1SRui Paulo DLT: Add DLT_CAN_SOCKETCAN 460a0ee43a1SRui Paulo DLT: Add Solaris ipnet 461a0ee43a1SRui Paulo Don't check for DLT_IPNET if it's not defined 462a0ee43a1SRui Paulo Add link-layer types for Fibre Channel FC-2 463a0ee43a1SRui Paulo Add link-layer types for Wireless HART 464a0ee43a1SRui Paulo Add link-layer types for AOS 465a0ee43a1SRui Paulo Add link-layer types for DECT 466a0ee43a1SRui Paulo Autoconf fixes (AIX, HP-UX, OSF/1, Tru64 cleanups) 467a0ee43a1SRui Paulo Install headers unconditionally, and include vlan.h/bluetooth.h if 468a0ee43a1SRui Paulo enabled 469a0ee43a1SRui Paulo Autoconf fixes+cleanup 470a0ee43a1SRui Paulo Support enabling/disabling bluetooth (--{en,dis}able-bluetooth) 471a0ee43a1SRui Paulo Support disabling SITA support (--without-sita) 472a0ee43a1SRui Paulo Return -1 on failure to create packet ring (if supported but 473a0ee43a1SRui Paulo creation failed) 474a0ee43a1SRui Paulo Fix handling of 'any' device, so that it can be opened, and no longer 475a0ee43a1SRui Paulo attempt to open it in Monitor mode 476a0ee43a1SRui Paulo Add support for snapshot length for USB Memory-Mapped Interface 477a0ee43a1SRui Paulo Fix configure and build on recent Linux kernels 478a0ee43a1SRui Paulo Fix memory-mapped Linux capture to support pcap_next() and 479a0ee43a1SRui Paulo pcap_next_ex() 480a0ee43a1SRui Paulo Fixes for Linux USB capture 481a0ee43a1SRui Paulo DLT: Add DLT_LINUX_EVDEV 482a0ee43a1SRui Paulo DLT: Add DLT_GSMTAP_UM 483a0ee43a1SRui Paulo DLT: Add DLT_GSMTAP_ABIS 484a8e07101SRui Paulo 485a8e07101SRui PauloMon. October 27, 2008. ken@netfunctional.ca. Summary for 1.0.0 libpcap release 486a8e07101SRui Paulo Compile with IPv6 support by default 487a8e07101SRui Paulo Compile with large file support on by default 488a8e07101SRui Paulo Add pcap-config script, which deals with -I/-L flags for compiling 489a8e07101SRui Paulo DLT: Add IPMB 490a8e07101SRui Paulo DLT: Add LAPD 491a8e07101SRui Paulo DLT: Add AX25 (AX.25 w/KISS header) 492a8e07101SRui Paulo DLT: Add JUNIPER_ST 493a8e07101SRui Paulo 802.15.4 support 494a8e07101SRui Paulo Variable length 802.11 header support 495a8e07101SRui Paulo X2E data type support 496a8e07101SRui Paulo SITA ACN Interface support - see README.sita 497a0ee43a1SRui Paulo Support for memory-mapped capture on Linux 498a8e07101SRui Paulo Support for zerocopy BPF on platforms that support it 499a0ee43a1SRui Paulo Support for setting buffer size when opening devices 500a0ee43a1SRui Paulo Support for setting monitor mode when opening 802.11 devices 501a8e07101SRui Paulo Better support for dealing with VLAN tagging/stripping on Linux 502a8e07101SRui Paulo Fix dynamic library support on OSX 503a8e07101SRui Paulo Return PCAP_ERROR_IFACE_NOT_UP if the interface isn't 'UP', so applications 504a8e07101SRui Paulo can print better diagnostic information 505a8e07101SRui Paulo Return PCAP_ERROR_PERM_DENIED if we don't have permission to open a device, so 506a8e07101SRui Paulo applications can tell the user they need to go play with permissions 507a8e07101SRui Paulo On Linux, ignore ENETDOWN so we can continue to capture packets if the 508a8e07101SRui Paulo interface goes down and comes back up again. 509a8e07101SRui Paulo On Linux, support new tpacket frame headers (2.6.27+) 510a0ee43a1SRui Paulo On Mac OS X, add scripts for changing permissions on /dev/bpf* and launchd plist 511a8e07101SRui Paulo On Solaris, support 'passive mode' on systems that support it 512a8e07101SRui Paulo Fixes to autoconf and general build environment 513a8e07101SRui Paulo Man page reorganization + cleanup 514a8e07101SRui Paulo Autogenerate VERSION numbers better 515ef96d74fSMax Laier 516ef96d74fSMax LaierMon. September 10, 2007. ken@xelerance.com. Summary for 0.9.8 libpcap release 517ef96d74fSMax Laier Change build process to put public libpcap headers into pcap subir 518ef96d74fSMax Laier DLT: Add value for IPMI IPMB packets 519ef96d74fSMax Laier DLT: Add value for u10 Networks boards 520ef96d74fSMax Laier Require <net/pfvar.h> for pf definitions - allows reading of pflog formatted 521ef96d74fSMax Laier libpcap files on an OS other than where the file was generated 522ef96d74fSMax Laier 523ef96d74fSMax LaierWed. April 25, 2007. ken@xelerance.com. Summary for 0.9.6 libpcap release 524ef96d74fSMax Laier 525ef96d74fSMax Laier Put the public libpcap headers into a pcap subdirectory in both the 526ef96d74fSMax Laier source directory and the target include directory, and have include 527ef96d74fSMax Laier files at the top-level directory to include those headers, for 528ef96d74fSMax Laier backwards compatibility. 529ef96d74fSMax Laier Add Bluetooth support 530ef96d74fSMax Laier Add USB capturing support on Linux 531ef96d74fSMax Laier Add support for the binary USB sniffing interface in Linux 532ef96d74fSMax Laier Add support for new FreeBSD BIOCSDIRECTION ioctl 533ef96d74fSMax Laier Add additional filter operations for 802.11 frame types 534ef96d74fSMax Laier Add support for filtering on MTP2 frame types 535ef96d74fSMax Laier Propagate some changes from the main branch, so the x.9 branch has 536ef96d74fSMax Laier all the DLT_ and LINKTYPE_ values that the main branch does 537ef96d74fSMax Laier Reserved a DLT_ and SAVEFILE_ value for PPI (Per Packet Info) 538ef96d74fSMax Laier encapsulated packets 539ef96d74fSMax Laier Add LINKTYPE_ for IEEE 802.15.4, with address fields padded as done 540ef96d74fSMax Laier by Linux drivers 541ef96d74fSMax Laier Add LINKTYPE_ value corresponding to DLT_IEEE802_16_MAC_CPS. 542ef96d74fSMax Laier Add DLT for IEEE 802.16 (WiMAX) MAC Common Part Sublayer 543ef96d74fSMax Laier Add DLT for Bluetooth HCI UART transport layer 544ef96d74fSMax Laier When building a shared library, build with "-fPIC" on Linux to support x86_64 545ef96d74fSMax Laier Link with "$(CC) -shared" rather than "ld -shared" when building a 546ef96d74fSMax Laier ".so" shared library 547ef96d74fSMax Laier Add support for autoconf 2.60 548ef96d74fSMax Laier Fixes to discard unread packets when changing filters 549ef96d74fSMax Laier Changes to handle name changes in the DAG library resulting from 550ef96d74fSMax Laier switching to libtool. 551ef96d74fSMax Laier Add support for new DAG ERF types. 552ef96d74fSMax Laier Add an explicit "-ldag" when building the shared library, so the DAG 553ef96d74fSMax Laier library dependency is explicit. 554ef96d74fSMax Laier Mac OSX fixes for dealing with "wlt" devices 555ef96d74fSMax Laier Fixes in add_or_find_if() & pcap_findalldevs() to optimize generating 556ef96d74fSMax Laier device lists 557ef96d74fSMax Laier Fixed a bug in pcap_open_live(). The return value of PacketSetHwFilter 558ef96d74fSMax Laier was not checked. 559ef96d74fSMax Laier 560ef96d74fSMax LaierTue. September 19, 2006. ken@xelerance.com. Summary for 0.9.5 libpcap release 561ef96d74fSMax Laier 562ef96d74fSMax Laier Support for LAPD frames with vISDN 563ef96d74fSMax Laier Support for ERF on channelized T1/E1 cards via DAG API 564ef96d74fSMax Laier Fix capitalization that caused issues crossc compiling on Linux 565ef96d74fSMax Laier Better failure detection on PacketGetAdapterNames() 566ef96d74fSMax Laier Fixes for MPLS packet generation (link layer) 567ef96d74fSMax Laier OP_PACKET now matches the beginning of the packet, instead of 568ef96d74fSMax Laier beginning+link-layer 569ef96d74fSMax Laier Add DLT/LINKTYPE for carrying FRF.16 Multi-link Frame Relay 570ef96d74fSMax Laier Fix allocation of buffer for list of link-layer types 571ef96d74fSMax Laier Added a new DLT and LINKTYPE value for ARINC 653 Interpartition Communcation Messages 572ef96d74fSMax Laier Fixed a typo in a DLT value: it should start with DLT_ and not LINKTYPE_ 573ef96d74fSMax Laier Redefined DLT_CAN20B and LINKTYPE_CAN20B as #190 (as this is the right value for CAN). 574ef96d74fSMax Laier Added definition for DLT_A429 and LINKTYPE_A429 as #184. 575ef96d74fSMax Laier Added a new DLT and LINKTYPE value for CAN v2.0B frames. 576ef96d74fSMax Laier Add support for DLT_JUNIPER_VP. 577ef96d74fSMax Laier Don't double-count received packets on Linux systems that 578ef96d74fSMax Laier support the PACKET_STATISTICS getsockopt() argument on 579ef96d74fSMax Laier PF_PACKET sockets. 580ef96d74fSMax Laier Add support for DLT_IEEE802_11 and DLT_IEEE802_11_RADIO link 581ef96d74fSMax Laier layers in Windows 582ef96d74fSMax Laier Add support to build libpcap.lib and wpcap.dll under Cygnus and 583ef96d74fSMax Laier MingW32. 584ee2dd488SSam Leffler 5855d18909fSSam LefflerMon. September 5, 2005. ken@xelerance.com. Summary for 0.9.4 libpcap release 5865d18909fSSam Leffler 5875d18909fSSam Leffler Support for radiotap on Linux (Mike Kershaw) 5885d18909fSSam Leffler Fixes for HP-UX 5895d18909fSSam Leffler Support for additional Juniper link-layer types 5905d18909fSSam Leffler Fixes for filters on MPLS-encapsulated packets 5915d18909fSSam Leffler "vlan" filter fixed 5925d18909fSSam Leffler "pppoed" and "pppoes" filters added; the latter modifies later 5935d18909fSSam Leffler parts of the filter expression to look at the PPP headers and 5945d18909fSSam Leffler headers in the PPP payload 5955d18909fSSam Leffler 5965d18909fSSam LefflerTue. July 5, 2005. ken@xelerance.com. Summary for 0.9.3 libpcap release 597ee2dd488SSam Leffler 598ee2dd488SSam Leffler Fixes for compiling on nearly every platform, 599ee2dd488SSam Leffler including improved 64bit support 600ee2dd488SSam Leffler MSDOS Support 601ee2dd488SSam Leffler Add support for sending packets 602ee2dd488SSam Leffler OpenBSD pf format support 603ee2dd488SSam Leffler IrDA capture (Linux only) 604ee2dd488SSam Leffler 605feb4ecdbSBruce M SimpsonTue. March 30, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.3 release 606feb4ecdbSBruce M Simpson 607feb4ecdbSBruce M Simpson Fixed minor problem in gencode.c that would appear on 64-bit 608feb4ecdbSBruce M Simpson platforms. 609feb4ecdbSBruce M Simpson Version number is now sane. 610feb4ecdbSBruce M Simpson 611feb4ecdbSBruce M SimpsonMon. March 29, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.2 release 612feb4ecdbSBruce M Simpson 613feb4ecdbSBruce M Simpson updates for autoconf 2.5 614feb4ecdbSBruce M Simpson fixes for ppp interfaces for freebsd 4.1 615feb4ecdbSBruce M Simpson pcap gencode can generate code for 802.11, IEEE1394, and pflog. 616feb4ecdbSBruce M Simpson 617feb4ecdbSBruce M SimpsonWed. November 12, 2003. mcr@sandelman.ottawa.on.ca. Summary for 0.8 release 618feb4ecdbSBruce M Simpson 619feb4ecdbSBruce M Simpson added pcap_findalldevs() 620feb4ecdbSBruce M Simpson Win32 patches from NetGroup, Politecnico di Torino (Italy) 621feb4ecdbSBruce M Simpson OpenBSD pf, DLT_PFLOG added 622feb4ecdbSBruce M Simpson Many changes to ATM support. 623feb4ecdbSBruce M Simpson lookup pcap_lookupnet() 624feb4ecdbSBruce M Simpson Added DLT_ARCNET_LINUX, DLT_ENC, DLT_IEEE802_11_RADIO, DLT_SUNATM, 625feb4ecdbSBruce M Simpson DLT_IP_OVER_FC, DLT_FRELAY, others. 626feb4ecdbSBruce M Simpson Sigh. More AIX wonderfulness. 627feb4ecdbSBruce M Simpson Document updates. 628feb4ecdbSBruce M Simpson Changes to API: pcap_next_ex(), pcap_breakloop(), pcap_dump_flush(), 629feb4ecdbSBruce M Simpson pcap_list_datalinks(), pcap_set_datalink(), 630feb4ecdbSBruce M Simpson pcap_lib_version(), pcap_datalink_val_to_name(), 631feb4ecdbSBruce M Simpson pcap_datalink_name_to_val(), new error returns. 632feb4ecdbSBruce M Simpson 633feb4ecdbSBruce M SimpsonTuesday, February 25, 2003. fenner@research.att.com. 0.7.2 release 634feb4ecdbSBruce M Simpson 635feb4ecdbSBruce M Simpson Support link types that use 802.2 always, never, and sometimes. 636feb4ecdbSBruce M Simpson Don't decrease the size of the BPF buffer from the default. 637feb4ecdbSBruce M Simpson Support frame relay. 638feb4ecdbSBruce M Simpson Handle 32-bit timestamps in DLPI, and pass the right buffer size. 639feb4ecdbSBruce M Simpson Handle Linux systems with modern kernel but without 640feb4ecdbSBruce M Simpson SOL_PACKET in the userland headers. 641feb4ecdbSBruce M Simpson Linux support for ARPHRD_RAWHDLC. 642feb4ecdbSBruce M Simpson Handle 32-bit timestamps in snoop. 643feb4ecdbSBruce M Simpson Support eg (Octane/O2xxx/O3xxx Gigabit) devices. 644feb4ecdbSBruce M Simpson Add new reserved DLT types. 6450a94d38fSBill Fenner 6460a94d38fSBill FennerMonday October 23, 2001. mcr@sandelman.ottawa.on.ca. Summary for 0.7 release 6470a94d38fSBill Fenner 6480a94d38fSBill Fenner Added pcap_findalldevs() call to get list of interfaces in a MI way. 6490a94d38fSBill Fenner 6500a94d38fSBill Fenner pcap_stats() has been documented as to what its counters mean on 6510a94d38fSBill Fenner each platform. 6528751327cSBill Fenner 653dc2c7305SBill FennerTuesday January 9, 2001. guy@alum.mit.edu. Summary for 0.6 release 6548751327cSBill Fenner 655dc2c7305SBill Fenner New Linux libpcap implementation, which, in 2.2 and later 656dc2c7305SBill Fenner kernels, uses PF_PACKET sockets and supports kernel packet 657dc2c7305SBill Fenner filtering (if compiled into the kernel), and supports the "any" 658dc2c7305SBill Fenner device for capturing on all interfaces. Cleans up promiscuous 659dc2c7305SBill Fenner mode better on pre-2.2 kernels, and has various other fixes 660dc2c7305SBill Fenner (handles 2.4 ARPHRD_IEEE802_TR, handles ISDN devices better, 661dc2c7305SBill Fenner doesn't show duplicate packets on loopback interface, etc.). 662dc2c7305SBill Fenner 663dc2c7305SBill Fenner Fixed HP-UX libpcap implementation to correctly get the PPA for 664dc2c7305SBill Fenner an interface, to allow interfaces to be opened by interface name. 665dc2c7305SBill Fenner 666dc2c7305SBill Fenner libpcap savefiles have system-independent link-layer type values 667dc2c7305SBill Fenner in the header, rather than sometimes platform-dependent DLT_ 668dc2c7305SBill Fenner values, to make it easier to exchange capture files between 669dc2c7305SBill Fenner different OSes. 670dc2c7305SBill Fenner 671dc2c7305SBill Fenner Non-standard capture files produced by some Linux tcpdumps, e.g. 672dc2c7305SBill Fenner the one from Red Hat Linux 6.2 and later, can now be read. 673dc2c7305SBill Fenner 674dc2c7305SBill Fenner Updated autoconf stock files. 675dc2c7305SBill Fenner 676dc2c7305SBill Fenner Filter expressions can filter on VLAN IDs and various OSI 677dc2c7305SBill Fenner protocols, and work on Token Ring (with non-source-routed 678dc2c7305SBill Fenner packets). 679dc2c7305SBill Fenner 680dc2c7305SBill Fenner "pcap_open_dead()" added to allow compiling filter expressions 681dc2c7305SBill Fenner to pcap code without opening a capture device or capture file. 682dc2c7305SBill Fenner 683dc2c7305SBill Fenner Header files fixed to allow use in C++ programs. 684dc2c7305SBill Fenner 685dc2c7305SBill Fenner Removed dependancy on native headers for packet layout. 686dc2c7305SBill Fenner Removed Linux specific headers that were shipped. 687dc2c7305SBill Fenner 688dc2c7305SBill Fenner Security fixes: Strcpy replaced with strlcpy, sprintf replaced 689dc2c7305SBill Fenner with snprintf. 690dc2c7305SBill Fenner 691dc2c7305SBill Fenner Fixed bug that could cause subsequent "pcap_compile()"s to fail 692dc2c7305SBill Fenner erroneously after one compile failed. 693dc2c7305SBill Fenner 694dc2c7305SBill Fenner Assorted other bug fixes. 695dc2c7305SBill Fenner 696dc2c7305SBill Fenner README.aix and README.linux files added to describe 697dc2c7305SBill Fenner platform-specific issues. 698dc2c7305SBill Fenner 699dc2c7305SBill Fenner "getifaddrs()" rather than SIOCGIFCONF used, if available. 700dc2c7305SBill Fenner 701dc2c7305SBill Fennerv0.5 Sat Jun 10 11:09:15 PDT 2000 702dc2c7305SBill Fenner 703dc2c7305SBill Fenneritojun@iijlab.net 704dc2c7305SBill Fenner- Brought in KAME IPv6/IPsec bpf compiler. 705dc2c7305SBill Fenner- Fixes for NetBSD. 706dc2c7305SBill Fenner- Support added for OpenBSD DLT_LOOP and BSD/OS DLT_C_HDLC (Cisco HDLC), 707dc2c7305SBill Fenner and changes to work around different BSDs having different DLT_ types 708dc2c7305SBill Fenner with the same numeric value. 709dc2c7305SBill Fenner 710dc2c7305SBill FennerAssar Westerlund <assar@sics.se> 711dc2c7305SBill Fenner- Building outside the source code tree fixed. 712dc2c7305SBill Fenner- Changed to write out time stamps with 32-bit seconds and microseconds 713dc2c7305SBill Fenner fields, regardless of whether those fields are 32 bits or 64 bits in 714dc2c7305SBill Fenner the OS's native "struct timeval". 715dc2c7305SBill Fenner- Changed "pcap_lookupdev()" to dynamically grow the buffer into which 716dc2c7305SBill Fenner the list of interfaces is read as necessary in order to hold the 717dc2c7305SBill Fenner entire list. 718dc2c7305SBill Fenner 719dc2c7305SBill FennerGreg Troxel <gdt@ir.bbn.com> 720dc2c7305SBill Fenner- Added a new "pcap_compile_nopcap()", which lets you compile a filter 721dc2c7305SBill Fenner expression into a BPF program without having an open live capture or 722dc2c7305SBill Fenner capture file. 723a4b5b39fSBill Fenner 724a4b5b39fSBill Fennerv0.4 Sat Jul 25 12:40:09 PDT 1998 725a4b5b39fSBill Fenner 726a4b5b39fSBill Fenner- Fix endian problem with DLT_NULL devices. From FreeBSD via Bill 727a4b5b39fSBill Fenner Fenner (fenner@parc.xerox.com) 728a4b5b39fSBill Fenner 729a4b5b39fSBill Fenner- Fix alignment problem with FDDI under DLPI. This was causing core 730a4b5b39fSBill Fenner dumps under Solaris. 731a4b5b39fSBill Fenner 732a4b5b39fSBill Fenner- Added configure options to disable flex and bison. Resulted from a 733a4b5b39fSBill Fenner bug report by barnett@grymoire.crd.ge.com (Bruce Barnett). Also added 734a4b5b39fSBill Fenner options to disable gcc and to force a particular packet capture type. 735a4b5b39fSBill Fenner 736a4b5b39fSBill Fenner- Added support for Fore ATM interfaces (qaa and fa) under IRIX. Thanks 737a4b5b39fSBill Fenner to John Hawkinson (jhawk@mit.edu) 738a4b5b39fSBill Fenner 739a4b5b39fSBill Fenner- Change Linux PPP and SLIP to use DLT_RAW since the kernel does not 740a4b5b39fSBill Fenner supply any "link layer" data. 741a4b5b39fSBill Fenner 742a4b5b39fSBill Fenner- Change Linux to use SIOCGIFHWADDR ioctl to determine link layer type. 743a4b5b39fSBill Fenner Thanks to Thomas Sailer (sailer@ife.ee.ethz.ch) 744a4b5b39fSBill Fenner 745a4b5b39fSBill Fenner- Change IRIX PPP to use DLT_RAW since the kernel does not supply any 746a4b5b39fSBill Fenner "link layer" data. 747a4b5b39fSBill Fenner 748a4b5b39fSBill Fenner- Modified to support the new BSD/OS 2.1 PPP and SLIP link layer header 749a4b5b39fSBill Fenner formats. 750a4b5b39fSBill Fenner 751a4b5b39fSBill Fenner- Added some new SGI snoop interface types. Thanks to Steve Alexander 752a4b5b39fSBill Fenner (sca@refugee.engr.sgi.com) 753a4b5b39fSBill Fenner 754a4b5b39fSBill Fenner- Fixes for HP-UX 10.20 (which is similar to HP-UX 9). Thanks to 755a4b5b39fSBill Fenner Richard Allen (ra@hp.is) and Steinar Haug (sthaug@nethelp.no) 756a4b5b39fSBill Fenner 757a4b5b39fSBill Fenner- Fddi supports broadcast as reported by Jeff Macdonald 758a4b5b39fSBill Fenner (jeff@iacnet.com). Also correct ieee802 and arcnet. 759a4b5b39fSBill Fenner 760a4b5b39fSBill Fenner- Determine Linux pcap buffer size at run time or else it might not be 761a4b5b39fSBill Fenner big enough for some interface types (e.g. FDDI). Thanks to Jes 762a4b5b39fSBill Fenner Sorensen (Jes.Sorensen@cern.ch) 763a4b5b39fSBill Fenner 764a4b5b39fSBill Fenner- Fix some linux alignment problems. 765a4b5b39fSBill Fenner 766a4b5b39fSBill Fenner- Document promisc argument to pcap_open_live(). Reported by Ian Marsh 767a4b5b39fSBill Fenner (ianm@sics.se) 768a4b5b39fSBill Fenner 769a4b5b39fSBill Fenner- Support Metricom radio packets under Linux. Thanks to Kevin Lai 770a4b5b39fSBill Fenner (laik@gunpowder.stanford.edu) 771a4b5b39fSBill Fenner 772a4b5b39fSBill Fenner- Bind to interface name under Linux to avoid packets from multiple 773a4b5b39fSBill Fenner interfaces on multi-homed hosts. Thanks to Kevin Lai 774a4b5b39fSBill Fenner (laik@gunpowder.stanford.edu) 775a4b5b39fSBill Fenner 776a4b5b39fSBill Fenner- Change L_SET to SEEK_SET for HP-UX. Thanks to Roland Roberts 777a4b5b39fSBill Fenner (rroberts@muller.com) 778a4b5b39fSBill Fenner 779a4b5b39fSBill Fenner- Fixed an uninitialized memory reference found by Kent Vander Velden 780a4b5b39fSBill Fenner (graphix@iastate.edu) 781a4b5b39fSBill Fenner 782a4b5b39fSBill Fenner- Fixed lex pattern for IDs to allow leading digits. As reported by 783a4b5b39fSBill Fenner Theo de Raadt (deraadt@cvs.openbsd.org) 784a4b5b39fSBill Fenner 785a4b5b39fSBill Fenner- Fixed Linux include file problems when using GNU libc. 786a4b5b39fSBill Fenner 787a4b5b39fSBill Fenner- Ifdef ARPHRD_FDDI since not all versions of the Linux kernel have it. 788a4b5b39fSBill Fenner Reported reported by Eric Jacksch (jacksch@tenebris.ca) 789a4b5b39fSBill Fenner 790a4b5b39fSBill Fenner- Fixed bug in pcap_dispatch() that kept it from returning on packet 791a4b5b39fSBill Fenner timeouts. 792a4b5b39fSBill Fenner 793a4b5b39fSBill Fenner- Changed ISLOOPBACK() macro when IFF_LOOPBACK isn't available to check 794a4b5b39fSBill Fenner for "lo" followed by an eos or digit (newer versions of Linux 795a4b5b39fSBill Fenner apparently call the loopback "lo" instead of "lo0"). 796a4b5b39fSBill Fenner 797a4b5b39fSBill Fenner- Fixed Linux networking include files to use ints instead of longs to 798a4b5b39fSBill Fenner avoid problems with 64 bit longs on the alpha. Thanks to Cristian 799a4b5b39fSBill Fenner Gafton (gafton@redhat.com) 8003052b236SBill Fenner 8013052b236SBill Fennerv0.3 Sat Nov 30 20:56:27 PST 1996 8023052b236SBill Fenner 8033052b236SBill Fenner- Added Linux support. 8043052b236SBill Fenner 8053052b236SBill Fenner- Fixed savefile bugs. 8063052b236SBill Fenner 8073052b236SBill Fenner- Solaris x86 fix from Tim Rylance (t.rylance@elsevier.nl) 8083052b236SBill Fenner 8093052b236SBill Fenner- Add support for bpf kernel port filters. 8103052b236SBill Fenner 8113052b236SBill Fenner- Remove duplicate atalk protocol table entry. Thanks to Christian 8123052b236SBill Fenner Hopps (chopps@water.emich.edu) 8133052b236SBill Fenner 8143052b236SBill Fenner- Fixed pcap_lookupdev() to ignore nonexistent devices. This was 8153052b236SBill Fenner reported to happen under BSD/OS by David Vincenzetti 8163052b236SBill Fenner (vince@cryptonet.it) 8173052b236SBill Fenner 8183052b236SBill Fenner- Avoid solaris compiler warnings. Thanks to Bruce Barnett 8193052b236SBill Fenner (barnett@grymoire.crd.ge.com) 8208cf6c252SPaul Traina 8218cf6c252SPaul Trainav0.2.1 Sun Jul 14 03:02:26 PDT 1996 8228cf6c252SPaul Traina 8238cf6c252SPaul Traina- Fixes for HP-UX 10. Thanks in part to to Thomas Wolfram 8248cf6c252SPaul Traina (wolf@prz.tu-berlin.de) and Rick Jones (raj@hpisrdq.cup.hp.com) 8258cf6c252SPaul Traina 8268cf6c252SPaul Traina- Added support for SINIX. Thanks to Andrej Borsenkow 8278cf6c252SPaul Traina (borsenkow.msk@sni.de) 8288cf6c252SPaul Traina 8298cf6c252SPaul Traina- Fixes for AIX (although this system is not yet supported). Thanks to 8308cf6c252SPaul Traina John Hawkinson (jhawk@mit.edu) 8318cf6c252SPaul Traina 8328cf6c252SPaul Traina- Use autoconf's idea of the top level directory in install targets. 8338cf6c252SPaul Traina Thanks to John Hawkinson. 8348cf6c252SPaul Traina 8358cf6c252SPaul Traina- Add missing autoconf packet capture result message. Thanks to Bill 8368cf6c252SPaul Traina Fenner (fenner@parc.xerox.com) 8378cf6c252SPaul Traina 8388cf6c252SPaul Traina- Fixed padding problems in the pf module. 8398cf6c252SPaul Traina 8408cf6c252SPaul Traina- Fixed some more alignment problems on the alpha. 8418cf6c252SPaul Traina 8428cf6c252SPaul Traina- Added explicit netmask support. Thanks to Steve Nuchia 8438cf6c252SPaul Traina (steve@research.oknet.com) 8448cf6c252SPaul Traina 8458cf6c252SPaul Traina- Fixed to handle raw ip addresses such as 0.0.0.1 without "left 8468cf6c252SPaul Traina justifing" 8478cf6c252SPaul Traina 8488cf6c252SPaul Traina- Add "sca" keyword (for DEC cluster services) as suggested by Terry 8498cf6c252SPaul Traina Kennedy (terry@spcvxa.spc.edu) 8508cf6c252SPaul Traina 8518cf6c252SPaul Traina- Add "atalk" keyword as suggested by John Hawkinson. 8528cf6c252SPaul Traina 8538cf6c252SPaul Traina- Add "igrp" keyword. 8548cf6c252SPaul Traina 8558cf6c252SPaul Traina- Fixed HID definition in grammar.y to be a string, not a value. 8568cf6c252SPaul Traina 8578cf6c252SPaul Traina- Use $CC when checking gcc version. Thanks to Carl Lindberg 8588cf6c252SPaul Traina (carl_lindberg@blacksmith.com) 8598cf6c252SPaul Traina 8608cf6c252SPaul Traina- Removed obsolete reference to pcap_immediate() from the man page. 8618cf6c252SPaul Traina Michael Stolarchuk (mts@terminator.rs.itd.umich.edu) 8628cf6c252SPaul Traina 8638cf6c252SPaul Traina- DLT_NULL has a 4 byte family header. Thanks to Jeffrey Honig 8648cf6c252SPaul Traina (jch@bsdi.com) 8658cf6c252SPaul Traina 8668cf6c252SPaul Trainav0.2 Sun Jun 23 02:28:42 PDT 1996 8678cf6c252SPaul Traina 8688cf6c252SPaul Traina- Add support for HP-UX. Resulted from code contributed by Tom Murray 8698cf6c252SPaul Traina (tmurray@hpindck.cup.hp.com) and Philippe-Andri Prindeville 8708cf6c252SPaul Traina (philipp@res.enst.fr) 8718cf6c252SPaul Traina 8728cf6c252SPaul Traina- Update INSTALL with a reminder to install include files. Thanks to 8738cf6c252SPaul Traina Mark Andrews (mandrews@aw.sgi.com) 8748cf6c252SPaul Traina 8758cf6c252SPaul Traina- Fix bpf compiler alignment bug on the alpha. 8768cf6c252SPaul Traina 8778cf6c252SPaul Traina- Use autoconf to detect architectures that can't handle misaligned 8788cf6c252SPaul Traina accesses. 8798cf6c252SPaul Traina 8808cf6c252SPaul Traina- Added loopback support for snoop. Resulted from report Steve 8818cf6c252SPaul Traina Alexander (sca@engr.sgi.com) 8828cf6c252SPaul Traina 8838cf6c252SPaul Trainav0.1 Fri Apr 28 18:11:03 PDT 1995 8848cf6c252SPaul Traina 8858cf6c252SPaul Traina- Fixed compiler and optimizer bugs. The BPF filter engine uses unsigned 8868cf6c252SPaul Traina comparison operators, while the code generator and optimizer assumed 8878cf6c252SPaul Traina signed semantics in several places. Thanks to Charlie Slater 8888cf6c252SPaul Traina (cslater@imatek.com) for pointing this out. 8898cf6c252SPaul Traina 8908cf6c252SPaul Traina- Removed FDDI ifdef's, they aren't really needed. Resulted from report 8918cf6c252SPaul Traina by Gary Veum (veum@boa.gsfc.nasa.gov). 8928cf6c252SPaul Traina 8938cf6c252SPaul Traina- Add pcap-null.c which allows offline use of libpcap on systems that 8948cf6c252SPaul Traina don't support live package capture. This feature resulting from a 8958cf6c252SPaul Traina request from Jan van Oorschot (j.p.m.voorschot@et.tudelft.nl). 8968cf6c252SPaul Traina 8978cf6c252SPaul Traina- Make bpf_compile() reentrant. Fix thanks to Pascal Hennequin 8988cf6c252SPaul Traina (Pascal.Hennequin@hugo.int-evry.fr). 8998cf6c252SPaul Traina 9008cf6c252SPaul Traina- Port to GNU autoconf. 9018cf6c252SPaul Traina 9028cf6c252SPaul Traina- Fix pcap-dlpi.c to work with isdn. Resulted from report by Flemming 9038cf6c252SPaul Traina Johansen (fsj@csd.cri.dk). 9048cf6c252SPaul Traina 9058cf6c252SPaul Traina- Handle multi-digit interface unit numbers (aka ppa's) under dlpi. 9068cf6c252SPaul Traina Resulted from report by Daniel Ehrlich (ehrlich@cse.psu.edu). 9078cf6c252SPaul Traina 9088cf6c252SPaul Traina- Fix pcap-dlpi.c to work in non-promiscuous mode. Resulted from report 9098cf6c252SPaul Traina by Jeff Murphy (jcmurphy@acsu.buffalo.edu). 9108cf6c252SPaul Traina 9118cf6c252SPaul Traina- Add support for "long jumps". Thanks to Jeffrey Mogul 9128cf6c252SPaul Traina (mogul@pa.dec.com). 9138cf6c252SPaul Traina 9148cf6c252SPaul Traina- Fix minor problems when compiling with BDEBUG as noticed by Scott 9158cf6c252SPaul Traina Bertilson (scott@unet.umn.edu). 9168cf6c252SPaul Traina 9178cf6c252SPaul Traina- Declare sys_errlist "const char *const" to avoid problems under 9188cf6c252SPaul Traina FreeBSD. Resulted from report by jher@eden.com. 9198cf6c252SPaul Traina 9208cf6c252SPaul Trainav0.0.6 Fri Apr 28 04:07:13 PDT 1995 9218cf6c252SPaul Traina 9228cf6c252SPaul Traina- Add missing variable declaration missing from 0.0.6 9238cf6c252SPaul Traina 9248cf6c252SPaul Trainav0.0.5 Fri Apr 28 00:22:21 PDT 1995 9258cf6c252SPaul Traina 9268cf6c252SPaul Traina- Workaround for problems when pcap_read() returns 0 due to the timeout 9278cf6c252SPaul Traina expiring. 9288cf6c252SPaul Traina 9298cf6c252SPaul Trainav0.0.4 Thu Apr 20 20:41:48 PDT 1995 9308cf6c252SPaul Traina 9318cf6c252SPaul Traina- Change configuration to not use gcc v2 flags with gcc v1. 9328cf6c252SPaul Traina 9338cf6c252SPaul Traina- Fixed a bug in pcap_next(); if pcap_dispatch() returns 0, pcap_next() 9348cf6c252SPaul Traina should also return 0. Thanks to Richard Stevens (rstevens@noao.edu). 9358cf6c252SPaul Traina 9368cf6c252SPaul Traina- Fixed configure to test for snoop before dlpi to avoid problems under 9378cf6c252SPaul Traina IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com). 9388cf6c252SPaul Traina 9398cf6c252SPaul Traina- Hack around deficiency in Ultrix's make. 9408cf6c252SPaul Traina 9418cf6c252SPaul Traina- Fix two bugs related to the Solaris pre-5.3.2 bufmod bug; handle 9428cf6c252SPaul Traina savefiles that have more than snapshot bytes of data in them (so we 9438cf6c252SPaul Traina can read old savefiles) and avoid writing such files. 9448cf6c252SPaul Traina 9458cf6c252SPaul Traina- Added checkioctl which is used with gcc to check that the 9468cf6c252SPaul Traina "fixincludes" script has been run. 9478cf6c252SPaul Traina 9488cf6c252SPaul Trainav0.0.3 Tue Oct 18 18:13:46 PDT 1994 9498cf6c252SPaul Traina 9508cf6c252SPaul Traina- Fixed configure to test for snoop before dlpi to avoid problems under 9518cf6c252SPaul Traina IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com). 9528cf6c252SPaul Traina 9538cf6c252SPaul Trainav0.0.2 Wed Oct 12 20:56:37 PDT 1994 9548cf6c252SPaul Traina 9558cf6c252SPaul Traina- Implement timeout in the dlpi pcap_open_live(). Thanks to Richard 9568cf6c252SPaul Traina Stevens. 9578cf6c252SPaul Traina 9588cf6c252SPaul Traina- Determine pcap link type from dlpi media type. Resulted from report 9598cf6c252SPaul Traina by Mahesh Jethanandani (mahesh@npix.com). 9608cf6c252SPaul Traina 9618cf6c252SPaul Trainav0.0.1 Fri Jun 24 14:50:57 PDT 1994 9628cf6c252SPaul Traina 9638cf6c252SPaul Traina- Fixed bug in nit_setflags() in pcap-snit.c. The streams ioctl timeout 9648cf6c252SPaul Traina wasn't being initialized sometimes resulting in an "NIOCSFLAGS: 9658cf6c252SPaul Traina Invalid argument" error under OSF/1. Reported by Matt Day 9668cf6c252SPaul Traina (mday@artisoft.com) and Danny Mitzel (dmitzel@whitney.hitc.com). 9678cf6c252SPaul Traina 9688cf6c252SPaul Traina- Turn on FDDI support by default. 9698cf6c252SPaul Traina 9708cf6c252SPaul Trainav0.0 Mon Jun 20 19:20:16 PDT 1994 9718cf6c252SPaul Traina 9728cf6c252SPaul Traina- Initial release. 9738cf6c252SPaul Traina 9748cf6c252SPaul Traina- Fixed bug with greater/less keywords, reported by Mark Andrews 9758cf6c252SPaul Traina (mandrews@alias.com). 9768cf6c252SPaul Traina 9778cf6c252SPaul Traina- Fix bug where '|' was defined as BPF_AND instead of BPF_OR, reported 9788cf6c252SPaul Traina by Elan Amir (elan@leeb.cs.berkeley.edu). 9798cf6c252SPaul Traina 9808cf6c252SPaul Traina- Machines with little-endian byte ordering are supported thanks to 9818cf6c252SPaul Traina Jeff Mogul. 9828cf6c252SPaul Traina 9838cf6c252SPaul Traina- Add hack for version 2.3 savefiles which don't have caplen and len 9848cf6c252SPaul Traina swapped thanks to Vern Paxson. 9858cf6c252SPaul Traina 9868cf6c252SPaul Traina- Added "&&" and "||" aliases for "and" and "or" thanks to Vern Paxson. 9878cf6c252SPaul Traina 9888cf6c252SPaul Traina- Added length, inbound and outbound keywords. 989