1 1.1.1.11 christos Tuesday, December 30, 2025 / The Tcpdump Group 2 1.1.1.11 christos Summary for 1.10.6 libpcap release 3 1.1.1.11 christos General: 4 1.1.1.11 christos Fix "tcpdump -i <n>" for something-only libpcap builds. 5 1.1.1.11 christos gencode: Fix an undefined behavior in gen_mcode(). 6 1.1.1.11 christos gencode: Add a missing free() in gen_scode(). 7 1.1.1.11 christos Remove "DLT_" from the descriptions of two dlt_choices[] entries. 8 1.1.1.11 christos Report the size of time_t in the version string. 9 1.1.1.11 christos Validate remote capture source strings better. 10 1.1.1.11 christos CVE-2025-11961: Fix OOBR and OOBW in pcap_ether_aton(). 11 1.1.1.11 christos Source code: 12 1.1.1.11 christos Remove some unneeded includes. 13 1.1.1.11 christos pcapint_find_function() changed to return "void *" to avoid 14 1.1.1.11 christos warnings. 15 1.1.1.11 christos Clean up code that computes the length of a netmask. 16 1.1.1.11 christos Mind netmap support in pcap_lib_version(). 17 1.1.1.11 christos Link-layer types: 18 1.1.1.11 christos Add LINKTYPE_ETW/DLT_ETW. 19 1.1.1.11 christos Add LINKTYPE_NETANALYZER_NG/DLT_NETANALYZER_NG (pull request 20 1.1.1.11 christos #1008). 21 1.1.1.11 christos Add LINKTYPE_ZBOSS_NCP/DLT_ZBOSS_NCP. 22 1.1.1.11 christos Add LINKTYPE_USB_2_0_LOW_SPEED/DLT_USB_2_0_LOW_SPEED, 23 1.1.1.11 christos LINKTYPE_USB_2_0_FULL_SPEED/DLT_USB_2_0_FULL_SPEED, 24 1.1.1.11 christos LINKTYPE_USB_2_0_HIGH_SPEED/DLT_USB_2_0_HIGH_SPEED 25 1.1.1.11 christos Add LINKTYPE_AUERSWALD_LOG/DLT_AUERSWALD_LOG. 26 1.1.1.11 christos Add LINKTYPE_ZWAVE_TAP/DLT_ZWAVE_TAP. 27 1.1.1.11 christos Add LINKTYPE_SILABS_DEBUG_CHANNEL/DLT_SILABS_DEBUG_CHANNEL. 28 1.1.1.11 christos Add LINKTYPE_FIRA_UCI/DLT_FIRA_UCI. 29 1.1.1.11 christos Rename LINKTYPE_IPMB_LINUX/DLT_IPMB_LINUX to 30 1.1.1.11 christos LINKTYPE_I2C_LINUX/DLT_I2C_LINUX, as it's really just an 31 1.1.1.11 christos encapsulation of I2C, and is also being used for HDMI DDC. 32 1.1.1.11 christos Keep DLT_IPMB_LINUX around as a #define for backwards 33 1.1.1.11 christos compatibility. 34 1.1.1.11 christos Add LINKTYPE_MDB/DLT_MDB. 35 1.1.1.11 christos Add LINKTYPE_DECT_NR/DLT_DECT_NR. 36 1.1.1.11 christos Add LINKTYPE_EDK2_MM/DLT_EDK2_MM. 37 1.1.1.11 christos Add LINKTYPE_DEBUG_ONLY/DLT_DEBUG_ONLY. 38 1.1.1.11 christos Packet filtering: 39 1.1.1.11 christos Make the chunk allocator's alignment more general and 40 1.1.1.11 christos platform-independent. 41 1.1.1.11 christos IEEE 802.11: Fix three undefined behaviors in grammar.y. 42 1.1.1.11 christos Fix IPv4 multicast filtering to only include 224.0.0.0/4. 43 1.1.1.11 christos Fix "(arp|rarp) host NAME" to ignore IPv6 quietly. 44 1.1.1.11 christos Fix ARCnet address parsing. 45 1.1.1.11 christos Linux: 46 1.1.1.11 christos Fix check for mac80211 phydev. 47 1.1.1.11 christos Don't create monitor-mode interface if we're capturing on one. 48 1.1.1.11 christos Expand the table of DSA tag types to include all current types. 49 1.1.1.11 christos Fix an error message when deleting a monN interface. 50 1.1.1.11 christos Fix returning PCAP_ERROR_RFMON_NOTSUP with libnl. 51 1.1.1.11 christos Fix the error message when capure permission is denied. 52 1.1.1.11 christos Fix the error message if PF_PACKET sockets aren't supported. 53 1.1.1.11 christos Fix a file descriptor leak in an error case (pull request #1537). 54 1.1.1.11 christos Handle errors better when checking for a DSA-tagged interface. 55 1.1.1.11 christos Use DLT_DEBUG_ONLY for DSA tags that do not [yet] have a better support. 56 1.1.1.11 christos FreeBSD: 57 1.1.1.11 christos Fix detection and enabling of zero-copy support. 58 1.1.1.11 christos Fix errors in the zero-copy code. 59 1.1.1.11 christos Solaris: 60 1.1.1.11 christos Fix not to ignore logical interfaces in fad-gifc.c and 61 1.1.1.11 christos fad-glifc.c. 62 1.1.1.11 christos Fix attempts to open all-numeric device names with DLPI to 63 1.1.1.11 christos return "no such device". 64 1.1.1.11 christos Fix error returns and messages when an interface has no DLPI 65 1.1.1.11 christos device. 66 1.1.1.11 christos Return all interfaces in pcap_findalldevs() even if they can't be 67 1.1.1.11 christos opened. 68 1.1.1.11 christos HP-UX: 69 1.1.1.11 christos Fix attempts to open all-numeric device names to return 70 1.1.1.11 christos "no such device". 71 1.1.1.11 christos Fix error message if there's no /dev/dlpi device. 72 1.1.1.11 christos Return all interfaces in pcap_findalldevs() even if they can't be 73 1.1.1.11 christos opened. 74 1.1.1.11 christos Windows: 75 1.1.1.11 christos Fix filtering for VLAN-tagged frames. 76 1.1.1.11 christos Add support for Npcap's nanosecond-resolution time stamps in 77 1.1.1.11 christos captures. 78 1.1.1.11 christos CVE-2025-11964: Fix a bug in error message character encoding mapping 79 1.1.1.11 christos from UTF-16 to UTF-8. 80 1.1.1.11 christos Check at create time whether the NPF driver supports nanosecond 81 1.1.1.11 christos precision. 82 1.1.1.11 christos D-Bus: 83 1.1.1.11 christos Fix message leak. 84 1.1.1.11 christos Capture file writing: 85 1.1.1.11 christos Don't close the output stream if it's stdout, just flush it. 86 1.1.1.11 christos Documentation: 87 1.1.1.11 christos Explicitly document that closing a pcap_t for a savefile opened 88 1.1.1.11 christos with pcap_fopen_offline() will close the standard I/O stream. 89 1.1.1.11 christos Building and testing: 90 1.1.1.11 christos Makefile.in: Include instrument-functions.c in the release tarball. 91 1.1.1.11 christos CMake: Fix libnl usage with pkg-config. 92 1.1.1.11 christos CMake: Fix build with CMake 3.31. 93 1.1.1.11 christos CI: Report CMake version in builds. 94 1.1.1.11 christos CI: Visual Studio 2022 builds added, including ARM64 builds; 95 1.1.1.11 christos Visual Studio 2015 builds dropped. 96 1.1.1.11 christos Don't build with sslutils.c if we don't have a TLS library. 97 1.1.1.11 christos Build on Windows with a newer version of OpenSSL. 98 1.1.1.11 christos CMake: generalize handling of non-x86 Windows architectures. 99 1.1.1.11 christos CI: use the -A flag for all Visual Studio generators. 100 1.1.1.11 christos Remove the fuzzing props from the release tarball. 101 1.1.1.11 christos Autoconf: Use AC_SYS_YEAR2038_RECOMMENDED when possible if the 102 1.1.1.11 christos environment variable BUILD_YEAR2038 = yes (via autogen.sh) 103 1.1.1.11 christos DPDK: don't enable it by default. 104 1.1.1.11 christos Update Npcap SDK to 1.15. 105 1.1.1.11 christos autogen.sh: Allow to configure Autoconf warnings. 106 1.1.1.11 christos autogen.sh: Delete all trailing blank lines at end of configure. 107 1.1.1.11 christos 108 1.1.1.10 christos Friday, August 30, 2024 / The Tcpdump Group 109 1.1.1.10 christos Summary for 1.10.5 libpcap release 110 1.1.1.10 christos Source code: 111 1.1.1.10 christos Spell WirelessHART details properly. 112 1.1.1.10 christos Mark pcap_vasprintf() as printf-like. 113 1.1.1.10 christos Finalize moving of bpf_filter.c. (GH #1166) 114 1.1.1.10 christos Remove an unneeded argument from gen_mcode6(). 115 1.1.1.10 christos Don't do some Berkeley YACC workarounds with YACC releases not 116 1.1.1.10 christos requiring them. 117 1.1.1.10 christos Use correct data types rather than int in some cases. 118 1.1.1.10 christos Squelch compiler warning in grammar.c. 119 1.1.1.10 christos Fix findalldevtest compilation if IPv6 isn't enabled. 120 1.1.1.10 christos Rename helper routines for pcap modules to have names beginning with 121 1.1.1.10 christos pcapint_, to avoid namespace collisions for code linking statically 122 1.1.1.10 christos with libpcap. 123 1.1.1.10 christos Avoid casting hack for the Windows cleanup-on-exit routine. 124 1.1.1.10 christos Use %zu format for one case of printing a size_t. 125 1.1.1.10 christos Fix some Coverity errors. 126 1.1.1.10 christos Fix availabilities of some functions to match reality. 127 1.1.1.10 christos pcap: make the seconds and microseconds/nanoseconds fields unsigned. 128 1.1.1.10 christos Remove the unused pcap-rpcap-int.h header file. 129 1.1.1.10 christos Thread safety: 130 1.1.1.10 christos Make some static variables thread-local; fixes issue #1174. 131 1.1.1.10 christos Packet filtering: 132 1.1.1.10 christos Improve reporting of some invalid filter expressions. 133 1.1.1.10 christos Return an error from pcap_compile() if the scanner fails to initialize. 134 1.1.1.10 christos Optimizer fix from Archit Shah to recompute dominators after 135 1.1.1.10 christos moving code (#976); fixes #945 (although the resulting filter 136 1.1.1.10 christos isn't empty). 137 1.1.1.10 christos Optimizer fix from Archit Shah to mark value as unknown when store 138 1.1.1.10 christos of that value is deleted (#972); fixes #143, #434, #436, #437, 139 1.1.1.10 christos and #1076. 140 1.1.1.10 christos Linux: 141 1.1.1.10 christos Properly return warnings. 142 1.1.1.10 christos Don't use DLT_LINUX_SLL2 for anything other than the "any" device. 143 1.1.1.10 christos Avoid 32-bit unsigned integer overflow in USB captures. Fixes 144 1.1.1.10 christos issues #1134 and #1205. 145 1.1.1.10 christos Fix a file descriptor leak. 146 1.1.1.10 christos Properly report warnings about unknown ARPHRD_ types. 147 1.1.1.10 christos Fix DLT_CAN_SOCKETCAN handling of CAN FD. 148 1.1.1.10 christos Add CAN XL support to DLT_CAN_SOCKETCAN. 149 1.1.1.10 christos Clean up the code that sets the "real" ("original") length for 150 1.1.1.10 christos isochronous USB transfers. 151 1.1.1.10 christos Avoid unnecessary blocking on recvmsg() in the Bluetooth monitor and 152 1.1.1.10 christos Bluetoth modules. 153 1.1.1.10 christos Solaris: 154 1.1.1.10 christos Handle BPF returning ESRCH for unknown devices. 155 1.1.1.10 christos List the "any" device if it's supported. 156 1.1.1.10 christos Report {non-existent zone}/{interface} errors appropriately. 157 1.1.1.10 christos Allow attaching to links owned by a non-global zone. (Based on 158 1.1.1.10 christos pull request #1202.) 159 1.1.1.10 christos Fix AF_LINK handling on illumos. 160 1.1.1.10 christos macOS: 161 1.1.1.10 christos Redid the availability macros to be closer to what Apple's doing 162 1.1.1.10 christos in recent SDKs, including tagging pcap-namedb.h routines. 163 1.1.1.10 christos Fix the install name of the installed shared library to have a 164 1.1.1.10 christos full path when building with CMake. 165 1.1.1.10 christos Fix universal builds. 166 1.1.1.10 christos Haiku: 167 1.1.1.10 christos Convert the module to C. Fixes issue #1114. 168 1.1.1.10 christos Address a few compiler warnings. Fixes issue #1114. 169 1.1.1.10 christos Fix various build problems. Fixes issue #1114. 170 1.1.1.10 christos Report non-existent devices correctly. 171 1.1.1.10 christos Fix handling of packet statistics. 172 1.1.1.10 christos Fix packet timestamping. 173 1.1.1.10 christos Fix packet filtering with low snaplen. 174 1.1.1.10 christos Improve connection status reporting. 175 1.1.1.10 christos Add support for promiscuous mode. 176 1.1.1.10 christos Detect DLTs and loopback capture support at run time. 177 1.1.1.10 christos Report IEEE 802.11 as PCAP_IF_WIRELESS. 178 1.1.1.10 christos Windows: 179 1.1.1.10 christos Fix internal handling of "not supported" error codes from NPF. 180 1.1.1.10 christos Work around a bug in Npcap 1.00 in case of driver version mismatch. 181 1.1.1.10 christos Don't call WSACleanup() when handling a failed WSAStartup(). 182 1.1.1.10 christos BSD, macOS, AIX, Solaris 11, Linux: 183 1.1.1.10 christos Add a new error PCAP_ERROR_CAPTURE_NOTSUP, for use if a capture 184 1.1.1.10 christos mechanism is not present, in the hopes that, for example, 185 1.1.1.10 christos attempts to capture on Windows Services for Linux 1, in which 186 1.1.1.10 christos the NT kernel attempts to simulate Linux system calls but does 187 1.1.1.10 christos not support packet sockets, can get an error that better 188 1.1.1.10 christos indicates the underlying problem. 189 1.1.1.10 christos AirPcap: 190 1.1.1.10 christos Format an error message if we run out of memory. 191 1.1.1.10 christos nflog: 192 1.1.1.10 christos Fix count of dropped packets. 193 1.1.1.10 christos Make sure we don't overflow when rounding up the TLV length. 194 1.1.1.10 christos rpcap: 195 1.1.1.10 christos Handle routines removed in at least some OpenSSL libraries. 196 1.1.1.10 christos CVE-2023-7256: Clean up sock_initaddress() and its callers to avoid 197 1.1.1.10 christos double frees in some cases. 198 1.1.1.10 christos Don't define SOCKET ourselves; instead, define PCAP_SOCKET as int 199 1.1.1.10 christos on UN*Xes and as SOCKET on Windows. 200 1.1.1.10 christos CVE-2024-8006: Fix pcap_findalldevs_ex() not to crash if passed a 201 1.1.1.10 christos file:// URL with a path to a directory that cannot be opened. 202 1.1.1.10 christos Savefiles: 203 1.1.1.10 christos Handle DLT_/LINKTYPE_ mapping better, to handle some 204 1.1.1.10 christos OpenBSD-specific link types better. 205 1.1.1.10 christos Treat if_tsoffset as signed in pcapng files, as the spec says. 206 1.1.1.10 christos Don't try to fix the "real" length for isochronous USB 207 1.1.1.10 christos transfers if the number of USB descriptors is too large. 208 1.1.1.10 christos Reject pcap files where one of the reserved fields in the 209 1.1.1.10 christos "link-layer type plus other stuff" is non-zero. 210 1.1.1.10 christos Building and testing: 211 1.1.1.10 christos Add a configure option to help debugging (--enable-instrument-functions). 212 1.1.1.10 christos Improved tests and error reporting for uses of pkg-config, and 213 1.1.1.10 christos improve help message. 214 1.1.1.10 christos Fix Haiku build. 215 1.1.1.10 christos With CMake, install headers in CMAKE_INSTALL_INCLUDEDIR rather 216 1.1.1.10 christos than just include. 217 1.1.1.10 christos Build libpcap.a before building test programs. 218 1.1.1.10 christos Print address family numerically, as well as symbolically, 219 1.1.1.10 christos in findalldevstest. 220 1.1.1.10 christos Fail with suggestions, rather than failing over to no capture 221 1.1.1.10 christos support, if no capture mechanism was found. Fixes issue #1016. 222 1.1.1.10 christos Don't indent comments in Make, as that may cause them not to be 223 1.1.1.10 christos recognized as comments. 224 1.1.1.10 christos Don't check for libssl if we aren't going to use it. 225 1.1.1.10 christos Better handle enabling and disabling of sanitizers. Fixes issue 226 1.1.1.10 christos #1171. 227 1.1.1.10 christos CMakeLists.txt: Print "Symlinking: /some/path to ..." conditionally. 228 1.1.1.10 christos Evaluate CMAKE_INSTALL_PREFIX at install time. 229 1.1.1.10 christos cmake: Update the minimum required version to 2.8.12 (except Windows). 230 1.1.1.10 christos cmake: suppress CMP0042 OLD deprecated warning. 231 1.1.1.10 christos Makefile.in: Add the releasecheck target. 232 1.1.1.10 christos Cirrus CI: Add the "make releasecheck" command in the Linux task. 233 1.1.1.10 christos Makefile.in: Add the whitespacecheck target. 234 1.1.1.10 christos Cirrus CI: Run the "make whitespacecheck" command in the Linux task. 235 1.1.1.10 christos Autoconf: Update config.{guess,sub}, timestamps 2024-01-01. 236 1.1.1.10 christos Autoconf: Update the install-sh script to the 2020-11-14.01 version. 237 1.1.1.10 christos Compile with '-Wnull-pointer-subtraction', 238 1.1.1.10 christos '-Wunused-but-set-parameter', and '-Wunused-but-set-variable' in 239 1.1.1.10 christos devel mode if supported. 240 1.1.1.10 christos Don't ignore spaces between CMAKE_C_FLAGS and DPDK_C_FLAGS with 241 1.1.1.10 christos CMake. 242 1.1.1.10 christos Use noreturn and __format__ with XL C 7.0 and later. 243 1.1.1.10 christos Check for the same -W flags in autotools and CMake. 244 1.1.1.10 christos Autoconf: Add autogen.sh, remove configure and config.h.in and put 245 1.1.1.10 christos these generated files in the release tarball. 246 1.1.1.10 christos Autoconf: Get the size of a time_t. 247 1.1.1.10 christos Fix propagation of cc_werr_cflags() output. 248 1.1.1.10 christos Makefile.in(s): Fix the depend target. 249 1.1.1.10 christos mkdep: Exit with a non-zero status if a command fails. 250 1.1.1.10 christos Fix HCI_CHANNEL_MONITOR detection with musl libc. 251 1.1.1.10 christos Extend "make shellcheck" onto mkdep too. 252 1.1.1.10 christos Add initial support for building with TinyCC. 253 1.1.1.10 christos Address all known compiler warnings specific to illumos, Linux, NetBSD, 254 1.1.1.10 christos Solaris and Sun C; in CI expect warnings specific to TinyCC only. 255 1.1.1.10 christos Documentation: 256 1.1.1.10 christos Update and fix pcap-filter man page. 257 1.1.1.10 christos Add a README.haiku.md file. 258 1.1.1.10 christos Document pcap-config better. 259 1.1.1.10 christos Man page formatting and prose fixes. 260 1.1.1.10 christos Rename doc/README.Win32.md to doc/README.windows.md. 261 1.1.1.10 christos Update pcap-savefile man page to match the Internet-Draft for 262 1.1.1.10 christos pcap. 263 1.1.1.10 christos Fix CMake issues for target used by other projects. 264 1.1.1.10 christos Explain "any" device better in pcap_open_live(3PCAP). 265 1.1.1.10 christos Update INSTALL.md. 266 1.1.1.10 christos Note in man pages that errbuf arguments must point to an error 267 1.1.1.10 christos buffer. 268 1.1.1.10 christos Note that if pcap_findalldevs() fails it sets *alldevsp to NULL; 269 1.1.1.10 christos there's no devices list to free. 270 1.1.1.10 christos Explain "other addresses" in pcap_findalldevs(3PCAP). 271 1.1.1.10 christos Document pcap_lookupnet(3PCAP) a bit better. 272 1.1.1.10 christos 273 1.1.1.9 christos Friday, April 7, 2023 / The Tcpdump Group 274 1.1.1.9 christos Summary for 1.10.4 libpcap release 275 1.1.1.9 christos Source code: 276 1.1.1.9 christos Fix spaces before tabs in indentation. 277 1.1.1.9 christos rpcap: 278 1.1.1.9 christos Fix name of launchd service. 279 1.1.1.9 christos Documentation: 280 1.1.1.9 christos Document use of rpcapd with systemd, launchd, inetd, and xinetd. 281 1.1.1.9 christos Building and testing: 282 1.1.1.9 christos Require at least pkg-config 0.17.0, as we use --static. 283 1.1.1.9 christos Get rid of the remains of gnuc.h. 284 1.1.1.9 christos Require at least autoconf 2.69. 285 1.1.1.9 christos Update config.{guess,sub}, timestamps 2023-01-01,2023-01-21. 286 1.1.1.9 christos 287 1.1.1.9 christos Thursday, January 12, 2023 / The Tcpdump Group 288 1.1.1.9 christos Summary for 1.10.3 libpcap release 289 1.1.1.9 christos Source code: 290 1.1.1.9 christos Sort the PUBHDR variable in Makefile.in in "ls" order. 291 1.1.1.9 christos Fix typo in comment in pflog.h. 292 1.1.1.9 christos Remove two no-longer-present files from .gitignore. 293 1.1.1.9 christos Update code and comments for handling failure to set promiscuous 294 1.1.1.9 christos mode based on new information. 295 1.1.1.9 christos Building and testing: 296 1.1.1.9 christos install: Fixed not to install the non-public pcap-util.h header. 297 1.1.1.9 christos pcap-config: add a --version flag. 298 1.1.1.9 christos Makefile.in: Add some missing files in the distclean target. 299 1.1.1.9 christos 300 1.1.1.9 christos Saturday, December 31, 2022 / The Tcpdump Group 301 1.1.1.9 christos Summary for 1.10.2 libpcap release 302 1.1.1.9 christos Source code: 303 1.1.1.9 christos Use __builtin_unreachable() in PCAP_UNREACHABLE. 304 1.1.1.9 christos Use AS_HELP_STRING macro instead of AC_HELP_STRING in the 305 1.1.1.9 christos configure scripts, to avoid deprecation warnings. 306 1.1.1.9 christos Change availability tags in pcap.h to make it easier to 307 1.1.1.9 christos arrange for it to be used in Darwin releases. 308 1.1.1.9 christos Use AS_HELP_STRING for --enable-remote. 309 1.1.1.9 christos Fix some formatting string issues found by cppcheck. 310 1.1.1.9 christos Various small code and comment cleanups. 311 1.1.1.9 christos Use PCAP_ERROR (defined as -1) rather than explicit -1 for 312 1.1.1.9 christos functions the documentation says return PCAP_ERROR. 313 1.1.1.9 christos Remove unused code from the filter compiler. 314 1.1.1.9 christos Use _declspec(deprecated(msg)) rather than __pragma(deprecated) 315 1.1.1.9 christos for Windows deprecation warnings, so the message that was 316 1.1.1.9 christos specified shows up. 317 1.1.1.9 christos diag-control.h: define PCAP_DO_PRAGMA() iff we're going to use it. 318 1.1.1.9 christos Use "%d" to print some signed ints. 319 1.1.1.9 christos Use the Wayback Machine for a removed document in a comment. 320 1.1.1.9 christos Add some const qualifiers. 321 1.1.1.9 christos RDMA: Use PRIu64 to print a uint64_t. 322 1.1.1.9 christos "Dead" pcap_ts from pcap_open_dead() and ..._with_tstamp_precision(): 323 1.1.1.9 christos Don't crash if pcap_breakloop() is called. 324 1.1.1.9 christos Savefiles: 325 1.1.1.9 christos Fix pcap_dispatch() to return number of packets processed, rather 326 1.1.1.9 christos than 0, even at EOF. 327 1.1.1.9 christos If we get an error writing the packet header, don't write the 328 1.1.1.9 christos packet data. 329 1.1.1.9 christos Put PFLOG UID and PID values in the header into host byte order 330 1.1.1.9 christos when reading a LINKTYPE_PFLOG file. 331 1.1.1.9 christos Put CAN ID field in CAN pseudo-headers for LINUX_SLL2, as we do 332 1.1.1.9 christos for LINUX_SLL. 333 1.1.1.10 christos Fix incorrectly-computed "real" length for isochronous USB 334 1.1.1.9 christos transfers when reading savefiles. 335 1.1.1.9 christos Don't crash if pcap_can_set_rfmon() is called. 336 1.1.1.9 christos Fix pcap_offline_read() loop. 337 1.1.1.9 christos Capture: 338 1.1.1.9 christos Never process more than INT_MAX packets in a pcap_dispatch() call, 339 1.1.1.9 christos to avoid integer overflow (issue #1087). 340 1.1.1.9 christos Improve error messages for "no such device" and "permission 341 1.1.1.9 christos denied" errors. 342 1.1.1.9 christos SITA: Fix a typo in a variable name. 343 1.1.1.9 christos Packet filtering: 344 1.1.1.9 christos Get PFLOG header length from the length value in the header. 345 1.1.1.9 christos Support all the direction, reason, and action types supported by 346 1.1.1.9 christos all systems that support PFLOG. 347 1.1.1.9 christos Don't require PFLOG support on the target machine in order to 348 1.1.1.9 christos support PFLOG filtering (also fixes issue #1076). 349 1.1.1.9 christos Expand abbreviations into "proto X" properly. 350 1.1.1.9 christos gencode.c: Update a comment about the VLAN TPID test. 351 1.1.1.9 christos Add the minimum and maximum matching DLTs to an error message. 352 1.1.1.9 christos Linux: 353 1.1.1.9 christos Fix memory leak in capture device open (pull request #1038). 354 1.1.1.9 christos Fix detection of CAN/CAN FD packets in direction check (issue 355 1.1.1.9 christos #1051). 356 1.1.1.9 christos Fix double-free crashes on errors such as running on a kernel with 357 1.1.1.9 christos CONFIG_PACKET_MMAP not configured (issue #1054). 358 1.1.1.9 christos Use DLT_CAN_SOCKETCAN for CANbus interfaces (issue #1052; includes 359 1.1.1.9 christos changes from pull request #1035). 360 1.1.1.9 christos Make sure the CANFD_FDF can be relied on to indicate whether a 361 1.1.1.9 christos CANbus packet is a CAN frame or a CAN FD frame 362 1.1.1.9 christos Improve error message for "out of memory" errors for kernel 363 1.1.1.9 christos filters (see issue #1089). 364 1.1.1.9 christos Fix pcap_findalldevs() to find usbmon devices. 365 1.1.1.9 christos Fix handling of VLAN tagged packets if the link-layer type is 366 1.1.1.9 christos changed from DLT_LINUX_SLL to DLT_LINUX_SLL2 (see issue #1105). 367 1.1.1.9 christos Always turn on PACKET_AUXDATA (see issue #1105). 368 1.1.1.9 christos We require 2.6.27 or later, so PACKET_RESERVE is available. 369 1.1.1.9 christos Make sure there's reserved space for a DLT_LINUX_SLL2 header 370 1.1.1.9 christos when capturing. 371 1.1.1.9 christos Correctly compute the "real" length for isochronous USB transfers. 372 1.1.1.9 christos Don't have an eventfd descriptor open in non-blocking mode, so as 373 1.1.1.9 christos not to waste descriptors. 374 1.1.1.9 christos netfilter: Squelch a narrowing warning (To be look at before 2038). 375 1.1.1.9 christos BPF capture (*BSD, macOS, AIX, Solaris 11): 376 1.1.1.9 christos Fix case where a device open might fail, rather than falling back 377 1.1.1.9 christos to a smaller buffer size, when the initial buffer size is too 378 1.1.1.9 christos big. 379 1.1.1.9 christos Use an unsigned device number to iterate over BPF devices, to 380 1.1.1.9 christos squelch a compiler warning. 381 1.1.1.9 christos NetBSD: 382 1.1.1.9 christos Fix handling of LINKTYPE_HDLC/DLT_HDLC. 383 1.1.1.9 christos rpcap: 384 1.1.1.9 christos Fix unaligned accesses in rpcapd (pull request #1037). 385 1.1.1.9 christos Fix code to process port number. 386 1.1.1.9 christos Clean up findalldevs code in rpcapd. 387 1.1.1.9 christos Clean up bufferizing code. 388 1.1.1.9 christos Fix a file descriptor/handle leak in pcap_findalldevs_ex() 389 1.1.1.9 christos (Coverity CID 1507240). 390 1.1.1.9 christos Improve error messages for host and port resolution errors. 391 1.1.1.9 christos Fix connect code not to fail if both IPv4 and IPv6 addresses are 392 1.1.1.9 christos tried. 393 1.1.1.9 christos Improve connect failure error message. 394 1.1.1.9 christos Provide an error message for a bad authentication reply size. 395 1.1.1.9 christos For link-layer types with host-endian fields in the header, fix 396 1.1.1.9 christos those fields if capturing from a server with a different byte 397 1.1.1.9 christos order. 398 1.1.1.9 christos Suppress temporarily the warnings with "enable remote packet capture". 399 1.1.1.9 christos Windows: 400 1.1.1.9 christos Add support for NdisMediumIP (pull request #1027). 401 1.1.1.9 christos Don't require applications using pcap to be built with VS 2015 or 402 1.1.1.9 christos later. 403 1.1.1.9 christos Use the correct string for the DLL VersionInfo. 404 1.1.1.9 christos Remove unnecessary DllMain() function. 405 1.1.1.9 christos Correctly handle ERROR_INVALID_FUNCTION from 406 1.1.1.9 christos PacketGetTimestampModes() (indicate that WinPcap or an older 407 1.1.1.9 christos version of Npcap is probably installed). 408 1.1.1.9 christos Fix use-after-free in some cases when a pcap_t is closed. 409 1.1.1.9 christos Make sure an error is returned by pcap_create_interface() if 410 1.1.1.9 christos PacketOpenAdapter() fails. 411 1.1.1.9 christos Return an error if the driver reports 0 timestamp modes supported. 412 1.1.1.9 christos Close the ADAPTER handle for some errors in 413 1.1.1.9 christos pcap_create_interface(). 414 1.1.1.10 christos Get rid of old unmaintained VS project files. 415 1.1.1.9 christos Fix deprecation warning for pcap_handle(). 416 1.1.1.9 christos Npcap is now at npcap.com, not npcap.org. 417 1.1.1.9 christos Make sure "no such device" and "no permission to open device" 418 1.1.1.9 christos errors show up in pcap_activate(), not pcap_create() (fixes, 419 1.1.1.9 christos among other things, tcpdump -i <interface-number>). 420 1.1.1.9 christos npcap: squelch deprecation warnings for kernel dump mode. 421 1.1.1.9 christos Haiku: 422 1.1.1.9 christos Implement pcap_lib_version(), as now required. 423 1.1.1.9 christos Handle negative or too-large snaplen values. 424 1.1.1.9 christos Fix various build issues and warnings. 425 1.1.1.9 christos Building and testing: 426 1.1.1.9 christos Update configure-time universal build checks for macOS. 427 1.1.1.9 christos Update config.guess and config.sub. 428 1.1.1.9 christos If we look for an SSL library with pkg-config in configure script, 429 1.1.1.9 christos try pkg-config first. 430 1.1.1.9 christos If we have pkg-config and Homebrew, try to set pkg-config up to 431 1.1.1.9 christos find Homebrew packages. 432 1.1.1.9 christos Handle some Autoconf/make errors better. 433 1.1.1.9 christos Use "git archive" for the "make releasetar" process. 434 1.1.1.9 christos Remove the release candidate rcX targets. 435 1.1.1.9 christos Fix compiling on Solaris 9/SPARC and 11/AMD64. 436 1.1.1.9 christos Address assorted compiler warnings. 437 1.1.1.9 christos Fix cross-building on Linux for Windows with mingw32 for Win64 438 1.1.1.9 christos (pull request #1031). 439 1.1.1.9 christos Properly set installation directory on Windows when not compiling 440 1.1.1.9 christos with MSVC. 441 1.1.1.9 christos Fix configure script checks for compiler flags. 442 1.1.1.9 christos Give more details if check for usable (F)Lex fails. 443 1.1.1.9 christos Fix compiling with GCC 4.6.4. 444 1.1.1.9 christos Don't use add_compile_options() with CMake, as we currently don't 445 1.1.1.9 christos require 2.8.12, where it first appeared. 446 1.1.1.9 christos Don't provide -L/usr/lib for pkg-config --libs in pkg-config. 447 1.1.1.9 christos Fix error message for inadequate Bison/Berkeley YACC. 448 1.1.1.9 christos configure: correctly do some DPDK checks. 449 1.1.1.9 christos Only use pkg-config when checking for DPDK. 450 1.1.1.9 christos Allow the path in which DPDK is installed to be specified. 451 1.1.1.9 christos Use pkg-config first when checking for libibverbs. 452 1.1.1.9 christos CMake: fix check for libibverbs with Sun's C compiler. 453 1.1.1.9 christos Have CMake warn if no capture mechanism can be found. 454 1.1.1.9 christos Don't do stuff requiring 3.19 or later on earlier CMakes. 455 1.1.1.9 christos Squelch some CMake warnings. 456 1.1.1.9 christos Fix diag-control.h to handle compiling with clang-cl (issues 457 1.1.1.9 christos #1101 and #1115). 458 1.1.1.9 christos Cleanup various leftover cruft in the configure script. 459 1.1.1.9 christos Fix building without protochain support. (GH #852) 460 1.1.1.9 christos Check for a usable YACC (or Bison) and {F}lex in CMake, as we do 461 1.1.1.9 christos in autotools. 462 1.1.1.9 christos Only check for a C++ compiler on Haiku, as that's the only 463 1.1.1.9 christos platform with C++ code, and make sure they generate code for 464 1.1.1.9 christos the same instruction set bit-width (both 32-bit or both 64-bit) 465 1.1.1.9 christos (issue #1112). 466 1.1.1.9 christos On Solaris, check the target bit-width and set PKG_CONFIG_PATH 467 1.1.1.9 christos appropriately, to handle the mess that is the D-Bus library 468 1.1.1.9 christos package (issue #1112). 469 1.1.1.9 christos Fix generation of pcap-config and libpcap.pc files (issue #1062). 470 1.1.1.9 christos pcap-config: don't assume the system library directory is /usr/lib. 471 1.1.1.9 christos pcap-config: add a --static-pcap-only flag. 472 1.1.1.9 christos Cirrus CI: Use the same configuration as for the main branch. 473 1.1.1.9 christos Add four libpcap test files. 474 1.1.1.9 christos Update Npcap SDK to 1.13. 475 1.1.1.9 christos Makefile.in: Use TEST_DIST, like for tcpdump. 476 1.1.1.9 christos Remove awk code from mkdep. 477 1.1.1.9 christos Cirrus CI: Add the libssl-dev package in the Linux task. 478 1.1.1.9 christos Cirrus CI: Add the openssl@3 brew package in the macOS task. 479 1.1.1.9 christos Get "make shellcheck" to pass again. 480 1.1.1.9 christos CMake: Build valgrindtest only if Autoconf would. 481 1.1.1.9 christos CMake: use ${CMAKE_INSTALL_SBINDIR} rather than just sbin. 482 1.1.1.9 christos CMake: use NUL: as the null device on Windows. 483 1.1.1.9 christos autoconf: fix typo in test of macOS version. 484 1.1.1.9 christos Makefile.in: Add two missing files in EXTRA_DIST. 485 1.1.1.9 christos autotools, cmake: provide an rpath option if necessary. 486 1.1.1.9 christos configure: get rid of the attempt to auto-run PKG_PROG_PKG_CONFIG. 487 1.1.1.9 christos configure: use PKG_CHECK_MODULES to run pkg-config. 488 1.1.1.9 christos Documentation: 489 1.1.1.9 christos Add README.solaris.md. 490 1.1.1.9 christos Add SCTP to pcap-filter(7). 491 1.1.1.9 christos Note that = and == are the same operator in filters (issue #1044). 492 1.1.1.9 christos Update INSTALL.md, README.md, and README.solaris.md. 493 1.1.1.9 christos Update and clean up CONTRIBUTING.md. 494 1.1.1.9 christos Trim documentation of support for now-dead UN*Xe and older 495 1.1.1.9 christos versions of other UN*Xes. 496 1.1.1.9 christos Move the "how to allocate a LINKTYPE_/DLT_ value" documentation to 497 1.1.1.9 christos the web site. 498 1.1.1.9 christos Clean up man pages. 499 1.1.1.9 christos Move README.capture-module to the web site. 500 1.1.1.9 christos Improve some protocol details in pcap-filter(7). 501 1.1.1.9 christos Refine "relop" notes in pcap-filter(7). 502 1.1.1.9 christos In pcap-filter(7) "domain" is an id. 503 1.1.1.9 christos Discuss backward compatibility in pcap-filter(7). 504 1.1.1.9 christos Other improvements to pcap-filter(7). 505 1.1.1.9 christos Document pcap_breakloop(3PCAP) interaction with threads better. 506 1.1.1.9 christos Document PCAP_ERROR_NOT_ACTIVATED for more routines. 507 1.1.1.9 christos 508 1.1.1.9 christos Wednesday, June 9, 2021: 509 1.1.1.9 christos Summary for 1.10.1 libpcap release: 510 1.1.1.9 christos Packet filtering: 511 1.1.1.9 christos Fix "type XXX subtype YYY" giving a parse error 512 1.1.1.9 christos Source code: 513 1.1.1.9 christos Add PCAP_AVAILABLE_1_11. 514 1.1.1.9 christos Building and testing: 515 1.1.1.9 christos Rename struct bpf_aux_data to avoid NetBSD compile errors 516 1.1.1.9 christos Squelch some compiler warnings 517 1.1.1.9 christos Squelch some Bison warnings 518 1.1.1.9 christos Fix cross-builds with older kernels lacking BPF_MOD and BPF_XOR 519 1.1.1.9 christos Fix Bison detection for minor version 0. 520 1.1.1.9 christos Fix parallel build with FreeBSD make. 521 1.1.1.9 christos Get DLT_MATCHING_MAX right in gencode.c on NetBSD. 522 1.1.1.9 christos Define timeradd() and timersub() if necessary. 523 1.1.1.9 christos Fix Cygwin/MSYS target directories. 524 1.1.1.9 christos Fix symlinking with DESTDIR. 525 1.1.1.9 christos Fix generation of libpcap.pc with CMake when not building a shared 526 1.1.1.9 christos library. 527 1.1.1.9 christos Check for Arm64 as well as x86-64 when looking for packet.lib on 528 1.1.1.9 christos Windows. 529 1.1.1.9 christos Documentation: 530 1.1.1.9 christos Refine Markdown in README.md. 531 1.1.1.9 christos Improve the description of portrange in filters. 532 1.1.1.9 christos README.linux.md isn't Markdown, rename it just README.linux. 533 1.1.1.9 christos pcapng: 534 1.1.1.9 christos Support reading version 1.2, which some writers produce, and which 535 1.1.1.9 christos is the same as 1.0 (some new block types were added, but 536 1.1.1.9 christos that's not sufficient reason to bump the minor version number, 537 1.1.1.9 christos as code that understands those new block types can handle them 538 1.1.1.9 christos in a 1.0 file) 539 1.1.1.9 christos Linux: 540 1.1.1.9 christos Drop support for text-mode USB captures, as we require a 2.6.27 541 1.1.1.9 christos or later kernel (credit to Chaoyuan Peng for noting the 542 1.1.1.9 christos sscanf vulnerabilities in the text-mode code that got me to 543 1.1.1.9 christos realize that we didn't need this code any more) 544 1.1.1.9 christos Bluetooth: fix non-blocking mode. 545 1.1.1.9 christos Don't assume that all compilers used to build for Linux support 546 1.1.1.9 christos the __atomic builtins 547 1.1.1.9 christos Windows: 548 1.1.1.9 christos Add more information in "interface disappeared" error messages, in 549 1.1.1.9 christos the hopes of trying to figure out the cause. 550 1.1.1.9 christos Treat ERROR_DEVICE_REMOVED as "device was removed". 551 1.1.1.9 christos Indicate in the error message which "device was removed" error 552 1.1.1.9 christos occurred. 553 1.1.1.9 christos Report the Windows error status if PacketSendPacket() fails. 554 1.1.1.9 christos Use %lu for ULONGs in error message formats. 555 1.1.1.9 christos Don't treat the inability to find airpcap.dll as an error. 556 1.1.1.9 christos Ignore spurious error reports by Microsoft Surface mobile 557 1.1.1.9 christos telephony modem driver 558 1.1.1.9 christos rpcap: 559 1.1.1.9 christos Clean up error checking and error messages for server address 560 1.1.1.9 christos lookup. 561 1.1.1.9 christos 562 1.1.1.9 christos Tuesday, December 29, 2020 563 1.1.1.9 christos Summary for 1.10.0 libpcap release 564 1.1.1.9 christos Add support for capturing on DPDK devices 565 1.1.1.9 christos Label most APIs by the first release in which they're available 566 1.1.1.9 christos Fix some memory leaks, including in pcap_compile() 567 1.1.1.9 christos Add pcap_datalink_val_to_description_or_dlt() 568 1.1.1.9 christos Handle the pcap private data in a fashion that makes fewer 569 1.1.1.9 christos assumptions about memory layouts (might fix GitHub issue #940 570 1.1.1.9 christos on ARM) 571 1.1.1.9 christos Fix some thread safety issues 572 1.1.1.9 christos pcap_findalldevs(): don't sort interfaces by unit number 573 1.1.1.9 christos Always return a list of supported time-stamp types, even if only 574 1.1.1.9 christos host time stamps are supported 575 1.1.1.9 christos Increase the maximum snaplen for LINKTYPE_USBPCAP/DLT_USBPCAP 576 1.1.1.9 christos Report the DLT description in error messages 577 1.1.1.9 christos Add pcap_init() for first-time initialization and global option 578 1.1.1.9 christos setting; it's not required, but may be used 579 1.1.1.9 christos Remove (unused) SITA support 580 1.1.1.9 christos Capture file reading: 581 1.1.1.9 christos Correctly handle pcapng captures with more than one IDB with a 582 1.1.1.10 christos snapshot length greater than the supported maximum 583 1.1.1.9 christos Capture file writing: 584 1.1.1.9 christos Create the file in pcap_dump_open_append() if it doesn't exist 585 1.1.1.9 christos Packet filtering: 586 1.1.1.9 christos Fix "unknown ether proto 'aarp'" 587 1.1.1.9 christos Add a new filter "ifindex" for DLT_LINUX_SLL2 files on all 588 1.1.1.9 christos platforms and live Linux captures 589 1.1.1.9 christos Add a hack to the optimizer to try to catch certain optimizer 590 1.1.1.9 christos loops (should prevent GitHub issue #112) 591 1.1.1.9 christos Show special Linux BPF offsets symbolically in bpf_image() and 592 1.1.1.9 christos bpf_dump() 593 1.1.1.9 christos Added support for ICMPv6 types 1-4 as tokens with names 594 1.1.1.9 christos Remove undocumented and rather old "ether proto" protocols 595 1.1.1.9 christos Catch invalid IPv4 addresses in filters 596 1.1.1.9 christos Don't assume ARM supports unaligned accesses 597 1.1.1.9 christos Security and other issues found by analysis: 598 1.1.1.9 christos Fix various security issues reported by Charles Smith at Tangible 599 1.1.1.9 christos Security 600 1.1.1.9 christos Fix various security issues reported by Include Security 601 1.1.1.9 christos Fix some issues found by cppcheck. 602 1.1.1.9 christos Add some overflow checks in the optimizer 603 1.1.1.9 christos rpcap: 604 1.1.1.9 christos Support rpcap-over-TLS 605 1.1.1.9 christos Redo protocol version negotiation to avoid problems with old 606 1.1.1.9 christos servers (it still works with servers using the old negotiation, 607 1.1.1.9 christos as well as servers not supporting negotiation) 608 1.1.1.9 christos Error handling cleanups 609 1.1.1.9 christos Add some new authentication libpcap error codes for specific 610 1.1.1.9 christos errors 611 1.1.1.9 christos Fix some inetd issues in rpcapd 612 1.1.1.9 christos Fix rpcapd core dumps with invalid configuration file 613 1.1.1.9 christos On UN*X, don't have rpcapd tell the client why authentication 614 1.1.1.9 christos failed, so a brute-force attacker can't distinguish between 615 1.1.1.9 christos "unknown user name" and "known user name, wrong password" 616 1.1.1.9 christos Allow rpcapd to rebind more rapidly (GitHub issue #765) 617 1.1.1.9 christos Documentation: 618 1.1.1.9 christos Improve man pages, including adding backward compatibility notes 619 1.1.1.9 christos Building and testing: 620 1.1.1.9 christos Require, and assume, some level of C99 support in the C compiler 621 1.1.1.9 christos Require Visual Studio 2015 or later if using Visual Studio 622 1.1.1.9 christos Fix configure script issues, including with libnl on Linux 623 1.1.1.9 christos Fix CMake issues 624 1.1.1.9 christos Squelch complaints from Bison about "%define api.pure" being 625 1.1.1.9 christos deprecated 626 1.1.1.9 christos Fix compilation of pcap-tc.c 627 1.1.1.9 christos Linux: 628 1.1.1.9 christos Require PF_PACKET support, and kernel 2.6.27 or later 629 1.1.1.9 christos Handle systems without AF_INET or AF_UNIX socket support 630 1.1.1.9 christos Get rid of Wireless Extensions for turning monitor mode on 631 1.1.1.9 christos Proper memory sync for PACKET_MMAP (may prevent GitHub issue 632 1.1.1.9 christos #898) 633 1.1.1.9 christos Drop support for libnl 1 and 2. 634 1.1.1.9 christos Return error on interface going away, but not if it just went 635 1.1.1.9 christos down but is still present 636 1.1.1.9 christos Set socket protocol only after packet ring configured, 637 1.1.1.9 christos reducing bogus packet drop reports 638 1.1.1.9 christos Get ifdrop stats from sysfs. 639 1.1.1.9 christos When adjusting BPF programs, do not subtract the 640 1.1.1.9 christos SLL[2]_HDR_LEN if the location is negative (special metadata 641 1.1.1.9 christos offset), to preserve references to metadata; see 642 1.1.1.9 christos https://github.com/the-tcpdump-group/tcpdump/issues/480#issuecomment-486827278 643 1.1.1.9 christos Report a warning for unknown ARPHRD types 644 1.1.1.9 christos Have pcap_breakloop() forcibly break out of a sleeping 645 1.1.1.9 christos capture loop 646 1.1.1.9 christos Add support for DSA data link types 647 1.1.1.9 christos For raw USB bus capture, use the snapshot length to set the 648 1.1.1.9 christos buffer size, and set the len field to reflect the length 649 1.1.1.9 christos in the URB (GitHub issue #808) 650 1.1.1.9 christos With a timeout of zero, wait indefinitely 651 1.1.1.9 christos Clean up support for some non-GNU libc C libraries 652 1.1.1.9 christos Add DLT_LINUX_SLL2 for cooked-mode captures 653 1.1.1.9 christos Probe CONFIGURATION descriptor of connected USB devices 654 1.1.1.9 christos Treat EPERM on ethtool ioctls as meaning "not supported", as 655 1.1.1.9 christos permissions checks are done before checking whether the 656 1.1.1.9 christos ioctl is supported at all 657 1.1.1.9 christos macOS: 658 1.1.1.9 christos Cope with getting EPWROFF from SIOCGIFMEDIA 659 1.1.1.9 christos Treat EPERM on SIOCGIFMEDIA as meaning "not supported", as 660 1.1.1.9 christos permissions checks are done before checking whether the 661 1.1.1.9 christos ioctl is supported at all 662 1.1.1.9 christos Treat ENXIO when reading packets as meaning "the interface 663 1.1.1.9 christos was removed" 664 1.1.1.9 christos Report "the interface disappeared", not "the interface went 665 1.1.1.9 christos down", if the interface was removed during a capture 666 1.1.1.9 christos FreeBSD: 667 1.1.1.9 christos Treat ENXIO as meaning "the interface was removed" 668 1.1.1.9 christos Report "the interface disappeared", not "the interface went 669 1.1.1.9 christos down", if the interface was removed during a capture 670 1.1.1.9 christos NetBSD: 671 1.1.1.9 christos Treat ENXIO as meaning "the interface was removed" 672 1.1.1.9 christos Report "the interface disappeared", not "the interface went 673 1.1.1.9 christos down", if the interface was removed during a capture 674 1.1.1.9 christos OpenBSD: 675 1.1.1.9 christos Treat EIO as meaning "the interface was removed" 676 1.1.1.9 christos Report "the interface disappeared", not "the interface went 677 1.1.1.9 christos down", if the interface was removed during a capture 678 1.1.1.9 christos DragonFly BSD: 679 1.1.1.9 christos Treat ENXIO as meaning "the interface was removed" 680 1.1.1.9 christos Report "the interface disappeared", not "the interface went 681 1.1.1.9 christos down", if the interface was removed during a capture 682 1.1.1.9 christos Solaris: 683 1.1.1.9 christos Treat ENXIO as meaning "the interface was removed" 684 1.1.1.9 christos Report "the interface disappeared", not "the interface went 685 1.1.1.9 christos down", if the interface was removed during a capture 686 1.1.1.9 christos AIX: 687 1.1.1.9 christos Fix loading of BPF kernel extension 688 1.1.1.9 christos Treat ENXIO as meaning "the interface was removed" 689 1.1.1.9 christos Report "the interface disappeared", not "the interface went 690 1.1.1.9 christos down", if the interface was removed during a capture 691 1.1.1.9 christos Windows: 692 1.1.1.9 christos Make the snapshot length work even if pcap_setfilter() 693 1.1.1.9 christos isn't called 694 1.1.1.9 christos Fix compilation on Cygwin/MSYS 695 1.1.1.9 christos Add pcap_handle(), and deprecate pcap_fileno() 696 1.1.1.10 christos Report PCAP_ERROR_NO_SUCH_DEVICE for a nonexistent device 697 1.1.1.9 christos Return an appropriate error message for device removed or 698 1.1.1.9 christos device unusable due to a suspend/resume 699 1.1.1.9 christos Report a warning for unknown NdisMedium types 700 1.1.1.9 christos Have pcap_breakloop() forcibly break out of a sleeping 701 1.1.1.9 christos capture loop 702 1.1.1.9 christos Clean up building DLL 703 1.1.1.9 christos Handle CRT mismatch for pcap_dump_fopen() 704 1.1.1.9 christos Map NdisMediumWirelessWan to DLT_RAW 705 1.1.1.9 christos Add AirPcap support in a module, rather than using 706 1.1.1.9 christos WinPcap/Npcap's support for it 707 1.1.1.9 christos Report the system error for PacketSetHwFilter() failures 708 1.1.1.9 christos Add support for getting and setting packet time stamp types 709 1.1.1.9 christos with Npcap 710 1.1.1.9 christos Have pcap_init() allow selecting whether the API should use 711 1.1.1.9 christos local code page strings or UTF-8 strings (including error 712 1.1.1.9 christos messages) 713 1.1.1.9 christos Haiku: 714 1.1.1.9 christos Add capture support 715 1.1.1.9 christos 716 1.1.1.8 christos Sunday, July 22, 2018 717 1.1.1.8 christos Summary for 1.9.1 libpcap release 718 1.1.1.8 christos Mention pcap_get_required_select_timeout() in the main pcap man page 719 1.1.1.8 christos Fix pcap-usb-linux.c build on systems with musl 720 1.1.1.8 christos Fix assorted man page and other documentation issues 721 1.1.1.8 christos Plug assorted memory leaks 722 1.1.1.8 christos Documentation changes to use https: 723 1.1.1.8 christos Changes to how time stamp calculations are done 724 1.1.1.8 christos Lots of tweaks to make newer compilers happier and warning-free and 725 1.1.1.8 christos to fix instances of C undefined behavior 726 1.1.1.8 christos Warn if AC_PROG_CC_C99 can't enable C99 support 727 1.1.1.8 christos Rename pcap_set_protocol() to pcap_set_protocol_linux(). 728 1.1.1.8 christos Align pcap_t private data on an 8-byte boundary. 729 1.1.1.8 christos Fix various error messages 730 1.1.1.8 christos Use 64-bit clean API in dag_findalldevs() 731 1.1.1.8 christos Fix cleaning up after some errors 732 1.1.1.8 christos Work around some ethtool ioctl bugs in newer Linux kernels (GitHub 733 1.1.1.8 christos issue #689) 734 1.1.1.8 christos Add backwards compatibility sections to some man pages (GitHub issue 735 1.1.1.8 christos #745) 736 1.1.1.8 christos Fix autotool configuration on AIX and macOS 737 1.1.1.8 christos Don't export bpf_filter_with_aux_data() or struct bpf_aux_data; 738 1.1.1.8 christos they're internal-only and subject to change 739 1.1.1.8 christos Fix pcapng block size checking 740 1.1.1.8 christos On macOS, don't build rpcapd or test programs any fatter than they 741 1.1.1.8 christos need to be 742 1.1.1.8 christos Fix reading of capture statistics for Linux USB 743 1.1.1.8 christos Fix packet size values for Linux USB packets (GitHub issue #808) 744 1.1.1.9 christos Check only VID in VLAN test in filters (GitHub issue #461) 745 1.1.1.8 christos Fix pcap_list_datalinks on 802.11 devices on macOS 746 1.1.1.8 christos Fix overflows with very large snapshot length in pcap file 747 1.1.1.8 christos Improve parsing of rpcapd configuration file (GitHub issue #767) 748 1.1.1.8 christos Handle systems without strlcpy() or strlcat() better 749 1.1.1.8 christos Fix crashes and other errors with invalid filter expressions 750 1.1.1.8 christos Fix use of uninitialized file descriptor in remote capture 751 1.1.1.8 christos Fix some CMake issues 752 1.1.1.8 christos Fix some divide-by-zero issues with the filter compiler 753 1.1.1.8 christos Work around a GNU libc bug in pcap_nametonetaddr() 754 1.1.1.8 christos Add support for DLT_LINUX_SLL2 755 1.1.1.8 christos Fix handling of the packet-count argument for Myricom SNF devices 756 1.1.1.8 christos Fix --disable-rdma in configure script (GitHub issue #782) 757 1.1.1.8 christos Fix compilation of TurboCap support (GitHub issue #764) 758 1.1.1.8 christos Constify first argument to pcap_findalldevs_ex() 759 1.1.1.8 christos Fix a number of issues when running rpcapd as an inetd-style daemon 760 1.1.1.8 christos Fix CMake issues with D-Bus libraries 761 1.1.1.8 christos In rpcapd, clean up termination of a capture session 762 1.1.1.8 christos Redo remote capture protocol negotiation 763 1.1.1.8 christos In rpcapd, report the same error for "invalid user name" and 764 1.1.1.8 christos "invalid password", to make brute-forcing harder 765 1.1.1.8 christos For remote captures, add an error code for "the server requires TLS" 766 1.1.1.8 christos Fix pcap_dump_fopen() on Windows to avoid clashes between 767 1.1.1.8 christos {Win,N}Pcap and application C runtimes 768 1.1.1.8 christos Fix exporting of functions from Windows DLLs (GitHub issue #810) 769 1.1.1.8 christos Fix building as part of Npcap 770 1.1.1.8 christos Allow rpcapd to rebind more rapidly 771 1.1.1.8 christos Fix building shared libpcap library on midipix (midipix.org) 772 1.1.1.8 christos Fix hack to detect UTF-16LE adapter names on Windows not to go past 773 1.1.1.8 christos the end of the string 774 1.1.1.8 christos Fix handling of "wireless WAN" (mobile phone network modems) on 775 1.1.1.8 christos Windows with WinPcap/Npcap (GitHub issue #824) 776 1.1.1.8 christos Have pcap_dump_open_append() create the dump file if it doesn't 777 1.1.1.8 christos exists (GitHub issue #247) 778 1.1.1.10 christos Fix the maximum snapshot length for DLT_USBPCAP 779 1.1.1.8 christos Use -fPIC when building for 64-bit SPARC on Linux (GitHub issue #837) 780 1.1.1.8 christos Fix CMake 64-bit library installation directory on some Linux 781 1.1.1.8 christos distributions 782 1.1.1.8 christos Boost the TPACKET_V3 timeout to the maximum if a timeout of 0 was 783 1.1.1.8 christos specified 784 1.1.1.8 christos Five CVE-2019-15161, CVE-2019-15162, CVE-2019-15163, CVE-2019-15164, CVE-2019-15165 785 1.1.1.8 christos PCAPNG reader applies some sanity checks before doing malloc(). 786 1.1.1.8 christos 787 1.1.1.7 christos Sunday, June 24, 2018, by mcr (a] sandelman.ca 788 1.1.1.7 christos Summary for 1.9.0 libpcap release 789 1.1.1.7 christos Added testing system to libpcap, independent of tcpdump 790 1.1.1.7 christos Changes to how pcap_t is activated 791 1.1.1.7 christos Adding support for Large stream buffers on Endace DAG cards 792 1.1.1.9 christos Changes to BSD 3-clause license to 2-clause license 793 1.1.1.7 christos Additions to TCP header parsing, per RFC3168 794 1.1.1.7 christos Add CMake build process (extensive number of changes) 795 1.1.1.7 christos Assign a value for OpenBSD DLT_OPENFLOW. 796 1.1.1.7 christos Support setting non-blocking mode before activating. 797 1.1.1.7 christos Extensive build support for Windows VS2010 and MINGW (many many changes, over many months) 798 1.1.1.7 christos Added RPCAPD support when --enable-remote (default no) 799 1.1.1.7 christos Add the rpcap daemon source and build instructions. 800 1.1.1.7 christos Put back the greasy "save the capture filter string so we can tweak it" 801 1.1.1.7 christos hack, that keeps libpcap from capturing rpcap traffic. 802 1.1.1.7 christos Fixes for captures on MacOS, utun0 803 1.1.1.7 christos fixes so that non-AF_INET addresses, are not ==AF_INET6 addresses. 804 1.1.1.7 christos Add a linktype for IBM SDLC frames containing SNA PDUs. 805 1.1.1.7 christos pcap_compile() in 1.8.0 and later is newly thread-safe. 806 1.1.1.7 christos bound snaplen for linux tpacket_v2 to ~64k 807 1.1.1.7 christos Make VLAN filter handle both metadata and inline tags 808 1.1.1.7 christos D-Bus captures can now be up to 128MB in size 809 1.1.1.7 christos Added LORATAP DLT value 810 1.1.1.9 christos Added DLT_VSOCK for https://qemu-project.org/Features/VirtioVsock 811 1.1.1.7 christos probe_devices() fixes not to overrun buffer for name of device 812 1.1.1.7 christos Add linux-specific pcap_set_protocol_linux() to allow specifying a specific capture protocol. 813 1.1.1.7 christos RDMA sniffing support for pcap 814 1.1.1.7 christos Add Nordic Semiconductor Bluetooth LE sniffer link-layer header type. 815 1.1.1.7 christos fixes for reading /etc/ethers 816 1.1.1.7 christos Make it possible to build on Windows without packet.dll. 817 1.1.1.7 christos Add tests for large file support on UN*X. 818 1.1.1.7 christos Solaris fixes to work with 2.8.6 819 1.1.1.7 christos configuration test now looks for header files, not capture devices present 820 1.1.1.7 christos Fix to work with Berkeley YACC. 821 1.1.1.7 christos fixes for DragonBSD compilation of pcap-netmap.c 822 1.1.1.7 christos Clean up the ether_hostton() stuff. 823 1.1.1.7 christos Add an option to disable Linux memory-mapped capture support. 824 1.1.1.7 christos Add DAG API support checks. 825 1.1.1.7 christos Add Septel, Myricom SNF, and Riverbed TurboCap checks. 826 1.1.1.7 christos Add checks for Linux USB, Linux Bluetooth, D-Bus, and RDMA sniffing support. 827 1.1.1.7 christos Add a check for hardware time stamping on Linux. 828 1.1.1.7 christos Don't bother supporting pre-2005 Visual Studio. 829 1.1.1.7 christos Increased minimum autoconf version requirement to 2.64 830 1.1.1.7 christos Add DLT value 273 for XRA-31 sniffer 831 1.1.1.7 christos Clean up handing of signal interrupts in pcap_read_nocb_remote(). 832 1.1.1.7 christos Use the XPG 4.2 versions of the networking APIs in Solaris. 833 1.1.1.7 christos Fix, and better explain, the "IPv6 means IPv6, not IPv4" option setting. 834 1.1.1.7 christos Explicitly warn that negative packet buffer timeouts should not be used. 835 1.1.1.7 christos rpcapd: Add support inetd-likes, including xinetd.conf, and systemd units 836 1.1.1.7 christos Rename DLT_IEEE802_15_4 to DLT_IEEE802_15_4_WITHFCS. 837 1.1.1.7 christos Add DISPLAYPORT AUX link type 838 1.1.1.7 christos Remove the sunos4 kernel modules and all references to them. 839 1.1.1.7 christos Add more interface flags to pcap_findalldevs(). 840 1.1.1.7 christos Summary for 1.9.0 libpcap release (to 2017-01-25 by guy (a] alum.mit.edu) 841 1.1.1.7 christos Man page improvements 842 1.1.1.7 christos Fix Linux cooked mode userspace filtering (GitHub pull request #429) 843 1.1.1.7 christos Fix compilation if IPv6 support not enabled 844 1.1.1.7 christos Fix some Linux memory-mapped capture buffer size issues 845 1.1.1.7 christos Don't fail if kernel filter can't be set on Linux (GitHub issue 846 1.1.1.7 christos #549) 847 1.1.1.7 christos Improve sorting of interfaces for pcap_findalldevs() 848 1.1.1.7 christos Don't list Linux usbmon devices if usbmon module isn't loaded 849 1.1.1.7 christos Report PCAP_ERROR_PERM_DENIED if no permission to open Linux usbmon 850 1.1.1.7 christos devices 851 1.1.1.7 christos Fix DLT_ type for Solaris IPNET devices 852 1.1.1.7 christos Always return an error message for errors finding DAG or Myricom 853 1.1.1.7 christos devices 854 1.1.1.7 christos If possible, don't require that a device be openable when 855 1.1.1.7 christos enumerating them for pcap_findalldevs() 856 1.1.1.7 christos Don't put incompletely-initialized addresses in the address list for 857 1.1.1.7 christos When finding Myricom devices, update description for regular 858 1.1.1.7 christos interfaces that are Myricom devices and handle SNF_FLAGS=0x2(port 859 1.1.1.7 christos aggregation enabled) 860 1.1.1.7 christos Fix compilation error in DAG support 861 1.1.1.7 christos Fix issues with CMake configuration 862 1.1.1.7 christos Add support for stream buffers larger than 2GB on newer DAG cards 863 1.1.1.7 christos Remove support for building against DAG versions without STREAMS 864 1.1.1.7 christos support (before dag-3.0.0 2007) 865 1.1.1.7 christos 866 1.1.1.6 christos Tuesday, Oct. 25, 2016 mcr (a] sandelman.ca 867 1.1.1.6 christos Summary for 1.8.1 libpcap release 868 1.1.1.6 christos Add a target in Makefile.in for Exuberant Ctags use: 'extags'. 869 1.1.1.6 christos Rename configure.in to configure.ac: autoconf 2.59 870 1.1.1.6 christos Clean up the name-to-DLT mapping table. 871 1.1.1.6 christos Add some newer DLT_ values: IPMI_HPM_2,ZWAVE_R1_R2,ZWAVE_R3,WATTSTOPPER_DLM,ISO_14443,RDS 872 1.1.1.6 christos Clarify what the return values are for both success and failure. 873 1.1.1.6 christos Many changes to build on windows 874 1.1.1.6 christos Check for the "break the loop" condition in the inner loop for TPACKET_V3. 875 1.1.1.6 christos Fix handling of packet count in the TPACKET_V3 inner loop: GitHub issue #493. 876 1.1.1.6 christos Filter out duplicate looped back CAN frames. 877 1.1.1.6 christos Fix the handling of loopback filters for IPv6 packets. 878 1.1.1.6 christos Add a link-layer header type for RDS (IEC 62106) groups. 879 1.1.1.6 christos Use different intermediate folders for x86 and x64 builds on Windows. 880 1.1.1.6 christos On Linux, handle all CAN captures with pcap-linux.c, in cooked mode. 881 1.1.1.6 christos Removes the need for the "host-endian" link-layer header type. 882 1.1.1.6 christos Compile with '-Wused-but-marked-unused' in devel mode if supported 883 1.1.1.6 christos Have separate DLTs for big-endian and host-endian SocketCAN headers. 884 1.1.1.6 christos Reflect version.h being renamed to pcap_version.h. 885 1.1.1.6 christos Require that version.h be generated: all build procedures we support generate version.h (autoconf, CMake, MSVC)! 886 1.1.1.6 christos Properly check for sock_recv() errors. 887 1.1.1.6 christos Re-impose some of Winsock's limitations on sock_recv(). 888 1.1.1.6 christos Replace sprintf() with pcap_snprintf(). 889 1.1.1.6 christos Fix signature of pcap_stats_ex_remote(). 890 1.1.1.6 christos Initial cmake support for remote packet capture. 891 1.1.1.6 christos Have rpcap_remoteact_getsock() return a SOCKET and supply an "is active" flag. 892 1.1.1.6 christos Clean up {DAG, Septel, Myricom SNF}-only builds. 893 1.1.1.6 christos Do UTF-16-to-ASCII conversion into the right place. 894 1.1.1.6 christos pcap_create_interface() needs the interface name on Linux. 895 1.1.1.6 christos Clean up hardware time stamp support: the "any" device does not support any time stamp types. 896 1.1.1.6 christos Add support for capturing on FreeBSD usbusN interfaces. 897 1.1.1.6 christos Add a LINKTYPE/DLT_ value for FreeBSD USB. 898 1.1.1.6 christos Go back to using PCAP_API on Windows. 899 1.1.1.6 christos CMake support 900 1.1.1.6 christos Add TurboCap support from WinPcap. 901 1.1.1.6 christos Recognize 802.1ad nested VLAN tag in vlan filter. 902 1.1.1.6 christos 903 1.1.1.6 christos Thursday Sep. 3, 2015 guy (a] alum.mit.edu 904 1.1.1.6 christos Summary for 1.7.5 libpcap release 905 1.1.1.6 christos Man page cleanups. 906 1.1.1.6 christos Add some allocation failure checks. 907 1.1.1.6 christos Fix a number of Linux/ucLinux configure/build issues. 908 1.1.1.6 christos Fix some memory leaks. 909 1.1.1.6 christos Recognize 802.1ad nested VLAN tag in vlan filter. 910 1.1.1.6 christos Fix building Bluetooth Linux Monitor support with BlueZ 5.1+ 911 1.1.1.6 christos 912 1.1.1.6 christos Saturday Jun. 27, 2015 mcr (a] sandelman.ca 913 1.1.1.6 christos Summary for 1.7.4 libpcap release 914 1.1.1.6 christos Include fix for GitHub issue #424 -- out of tree builds. 915 1.1.1.6 christos 916 1.1.1.6 christos Friday Apr. 10, 2015 guy (a] alum.mit.edu 917 1.1.1.6 christos Summary for 1.7.3 libpcap release 918 1.1.1.6 christos Work around a Linux bonding driver bug. 919 1.1.1.6 christos 920 1.1.1.5 christos Thursday Feb. 12, 2015 guy (a] alum.mit.edu/mcr (a] sandelman.ca 921 1.1.1.6 christos Summary for 1.7.2 libpcap release 922 1.1.1.5 christos Support for filtering Geneve encapsulated packets. 923 1.1.1.6 christos Generalize encapsulation handling, fixing some bugs. 924 1.1.1.6 christos Don't add null addresses to address lists. 925 1.1.1.6 christos Add pcap_dump_open_append() to open for appending. 926 1.1.1.6 christos Fix the swapping of isochronous descriptors in Linux USB. 927 1.1.1.6 christos Attempt to handle TPACKET_V1 with 32-bit userland and 64-bit kernel. 928 1.1.1.5 christos 929 1.1.1.5 christos Wednesday Nov. 12, 2014 guy (a] alum.mit.edu/mcr (a] sandelman.ca 930 1.1.1.5 christos Summary for 1.7.0 libpcap release 931 1.1.1.5 christos Fix handling of zones for BPF on Solaris 932 1.1.1.5 christos new DLT for ZWAVE 933 1.1.1.5 christos clarifications for read timeouts. 934 1.1.1.6 christos Use BPF extensions in compiled filters, fixing VLAN filters 935 1.1.1.5 christos some fixes to compilation without stdint.h 936 1.1.1.5 christos EBUSY can now be returned by SNFv3 code. 937 1.1.1.6 christos Fix the range checks in BPF loads 938 1.1.1.6 christos Various DAG fixes. 939 1.1.1.6 christos Various Linux fixes. 940 1.1.1.5 christos 941 1.1.1.4 christos Monday Aug. 12, 2014 guy (a] alum.mit.edu 942 1.1.1.5 christos Summary for 1.6.2 libpcap release 943 1.1.1.10 christos Don't crash on filters testing a nonexistent link-layer type 944 1.1.1.4 christos field. 945 1.1.1.4 christos Fix sending in non-blocking mode on Linux with memory-mapped 946 1.1.1.4 christos capture. 947 1.1.1.4 christos Fix timestamps when reading pcap-ng files on big-endian 948 1.1.1.4 christos machines. 949 1.1.1.4 christos 950 1.1.1.4 christos Saturday Jul. 19, 2014 mcr (a] sandelman.ca 951 1.1.1.5 christos Summary for 1.6.1 libpcap release 952 1.1.1.4 christos some fixes for the any device 953 1.1.1.5 christos changes for how --enable-XXX (--enable-sniffing, --enable-can) works 954 1.1.1.4 christos 955 1.1.1.4 christos Wednesday Jul. 2, 2014 mcr (a] sandelman.ca 956 1.1.1.5 christos Summary for 1.6.0 libpcap release 957 1.1.1.4 christos Don't support D-Bus sniffing on OS X 958 1.1.1.4 christos fixes for byte order issues with NFLOG captures 959 1.1.1.4 christos Handle using cooked mode for DLT_NETLINK in activate_new(). 960 1.1.1.4 christos on platforms where you can not capture on down interfaces, do not list them 961 1.1.1.4 christos but: do list interfaces which are down, if you can capture on them! 962 1.1.1.4 christos 963 1.1.1.4 christos Wednesday December 18, 2013 guy (a] alum.mit.edu 964 1.1.1.4 christos Summary for 1.5.3 libpcap release 965 1.1.1.4 christos Don't let packets that don't match the current filter get to the 966 1.1.1.4 christos application when TPACKET_V3 is used. (GitHub issue #331) 967 1.1.1.4 christos Fix handling of pcap_loop()/pcap_dispatch() with a packet count 968 1.1.1.4 christos of 0 on some platforms (including Linux with TPACKET_V3). 969 1.1.1.4 christos (GitHub issue #333) 970 1.1.1.4 christos Work around TPACKET_V3 deficiency that causes packets to be lost 971 1.1.1.4 christos when a timeout of 0 is specified. (GitHub issue #335) 972 1.1.1.4 christos Man page formatting fixes. 973 1.1.1.4 christos 974 1.1.1.4 christos Wednesday December 4, 2013 guy (a] alum.mit.edu 975 1.1.1.4 christos Summary for 1.5.2 libpcap release 976 1.1.1.4 christos Fix libpcap to work when compiled with TPACKET_V3 support and 977 1.1.1.4 christos running on a kernel without TPACKET_V3 support. (GitHub 978 1.1.1.4 christos issue #329) 979 1.1.1.4 christos 980 1.1.1.4 christos Wednesday November 20, 2013 guy (a] alum.mit.edu 981 1.1.1.4 christos Summary for 1.5.1 libpcap release 982 1.1.1.4 christos Report an error, rather than crashing, if an IPv6 address is 983 1.1.1.4 christos used for link-layer filtering. (Wireshark bug 9376) 984 1.1.1.4 christos 985 1.1.1.3 christos Wednesday October 30, 2013 guy (a] alum.mit.edu 986 1.1.1.3 christos Summary for 1.5.0 libpcap release 987 1.1.1.3 christos TPACKET_V3 support added for Linux 988 1.1.1.3 christos Point users to the the-tcpdump-group repository on GitHub rather 989 1.1.1.3 christos than the mcr repository 990 1.1.1.3 christos Checks added for malloc()/realloc()/etc. failures 991 1.1.1.3 christos Fixed build on Solaris 11 992 1.1.1.9 christos Support filtering E1 SS7 traffic on MTP2 layer Annex A 993 1.1.1.3 christos Use "ln -s" to link man pages by default 994 1.1.1.4 christos Add support for getting nanosecond-resolution time stamps when 995 1.1.1.4 christos capturing and reading capture files 996 1.1.1.3 christos Many changes to autoconf to deal better with non-GCC compilers 997 1.1.1.3 christos added many new DLT types 998 1.1.1.3 christos 999 1.1.1.3 christos Saturday April 6, 2013 guy (a] alum.mit.edu 1000 1.1.1.3 christos Summary for 1.4.0 libpcap release 1001 1.1.1.3 christos Add netfilter/nfqueue interface. 1002 1.1.1.3 christos If we don't have support for IPv6 address resolution, support, 1003 1.1.1.3 christos in filter expressions, what IPv6 stuff we can. 1004 1.1.1.3 christos Fix pcap-config to include -lpthread if canusb support is 1005 1.1.1.3 christos present 1006 1.1.1.3 christos Try to fix "pcap_parse not defined" problems when --without-flex 1007 1.1.1.3 christos and --without-bison are used when you have Flex and Bison 1008 1.1.1.3 christos Fix some issues with the pcap_loop man page. 1009 1.1.1.3 christos Fix pcap_getnonblock() and pcap_setnonblock() to fill in the 1010 1.1.1.3 christos supplied error message buffer 1011 1.1.1.3 christos Fix typo that, it appeared, would cause pcap-libdlpi.c not to 1012 1.1.1.3 christos compile (perhaps systems with libdlpi also have BPF and use 1013 1.1.1.3 christos that instead) 1014 1.1.1.3 christos Catch attempts to call pcap_compile() on a non-activated pcap_t 1015 1.1.1.3 christos Fix crash on Linux with CAN-USB support without usbfs 1016 1.1.1.3 christos Fix addition of VLAN tags for Linux cooked captures 1017 1.1.1.3 christos Check for both EOPNOTSUPP and EINVAL after SIOCETHTOOL ioctl, so 1018 1.1.1.3 christos that the driver can report either one if it doesn't support 1019 1.1.1.3 christos SIOCETHTOOL 1020 1.1.1.3 christos Add DLT_INFINIBAND and DLT_SCTP 1021 1.1.1.3 christos Describe "proto XXX" and "protochain XXX" in the pcap-filter man 1022 1.1.1.3 christos page 1023 1.1.1.3 christos Handle either directories, or symlinks to directories, that 1024 1.1.1.3 christos correspond to interfaces in /sys/class/net 1025 1.1.1.3 christos Fix handling of VLAN tag insertion to check, on Linux 3.x 1026 1.1.1.3 christos kernels, for VLAN tag valid flag 1027 1.1.1.3 christos Clean up some man pages 1028 1.1.1.3 christos Support libnl3 as well as libnl1 and libnl2 on Linux 1029 1.1.1.3 christos Fix handling of Bluetooth devices on 3.x Linux kernels 1030 1.1.1.3 christos 1031 1.1.1.2 christos Friday March 30, 2012. mcr (a] sandelman.ca 1032 1.1.1.2 christos Summary for 1.3.0 libpcap release 1033 1.1.1.2 christos Handle DLT_PFSYNC in {FreeBSD, other *BSD+Mac OS X, other}. 1034 1.1.1.2 christos Linux: Don't fail if netfilter isn't enabled in the kernel. 1035 1.1.1.2 christos Add new link-layer type for NFC Forum LLCP. 1036 1.1.1.2 christos Put the CANUSB stuff into EXTRA_DIST, so it shows up in the release tarball. 1037 1.1.1.2 christos Add LINKTYPE_NG40/DLT_NG40. 1038 1.1.1.2 christos Add DLT_MPEG_2_TS/LINKTYPE_MPEG_2_TS for MPEG-2 transport streams. 1039 1.1.1.2 christos [PATCH] Fix AIX-3.5 crash with read failure during stress 1040 1.1.1.2 christos AIX fixes. 1041 1.1.1.2 christos Introduce --disable-shared configure option. 1042 1.1.1.2 christos Added initial support for canusb devices. 1043 1.1.1.2 christos Include the pcap(3PCAP) additions as 1.2.1 changes. 1044 1.1.1.2 christos many updates to documentation: pcap.3pcap.in 1045 1.1.1.2 christos Improve 'inbound'/'outbound' capture filters under Linux. 1046 1.1.1.2 christos Note the cleanup of handling of new DLT_/LINKTYPE_ values. 1047 1.1.1.2 christos On Lion, don't build for PPC. 1048 1.1.1.2 christos For mac80211 devices we need to clean up monitor mode on exit. 1049 1.1.1.2 christos 1050 1.1.1.2 christos Friday December 9, 2011. guy (a] alum.mit.edu. 1051 1.1.1.2 christos Summary for 1.2.1 libpcap release 1052 1.1.1.2 christos Update README file. 1053 1.1.1.9 christos Fix typos in README.linux file. 1054 1.1.1.2 christos Clean up some compiler warnings. 1055 1.1.1.2 christos Fix Linux compile problems and tests for ethtool.h. 1056 1.1.1.2 christos Treat Debian/kFreeBSD and GNU/Hurd as systems with GNU 1057 1.1.1.2 christos toolchains. 1058 1.1.1.2 christos Support 802.1 QinQ as a form of VLAN in filters. 1059 1.1.1.2 christos Treat "carp" as equivalent to "vrrp" in filters. 1060 1.1.1.2 christos Fix code generated for "ip6 protochain". 1061 1.1.1.2 christos Add some new link-layer header types. 1062 1.1.1.2 christos Support capturing NetFilter log messages on Linux. 1063 1.1.1.2 christos Clean up some error messages. 1064 1.1.1.2 christos Turn off monitor mode on exit for mac80211 interfaces on Linux. 1065 1.1.1.2 christos Fix problems turning monitor mode on for non-mac80211 interfaces 1066 1.1.1.2 christos on Linux. 1067 1.1.1.2 christos Properly fail if /sys/class/net or /proc/net/dev exist but can't 1068 1.1.1.2 christos be opened. 1069 1.1.1.2 christos Fail if pcap_activate() is called on an already-activated 1070 1.1.1.2 christos pcap_t, and add a test program for that. 1071 1.1.1.2 christos Fix filtering in pcap-ng files. 1072 1.1.1.2 christos Don't build for PowerPC on Mac OS X Lion. 1073 1.1.1.2 christos Simplify handling of new DLT_/LINKTYPE_ values. 1074 1.1.1.2 christos Expand pcap(3PCAP) man page. 1075 1.1.1.2 christos 1076 1.1.1.2 christos Sunday July 24, 2011. mcr (a] sandelman.ca. 1077 1.1.1.2 christos Summary for 1.2 libpcap release 1078 1.1.1.2 christos All of the changes listed below for 1.1.1 and 1.1.2. 1079 1.1.1.2 christos Changes to error handling for pcap_findalldevs(). 1080 1.1.1.2 christos Fix the calculation of the frame size in memory-mapped captures. 1081 1.1.1.2 christos Add a link-layer header type for STANAG 5066 D_PDUs. 1082 1.1.1.2 christos Add a link-layer type for a variant of 3GPP TS 27.010. 1083 1.1.1.2 christos Noted real nature of LINKTYPE_ARCNET. 1084 1.1.1.2 christos Add a link-layer type for DVB-CI. 1085 1.1.1.2 christos Fix configure-script discovery of VLAN acceleration support. 1086 1.1.1.9 christos see https://netoptimizer.blogspot.com/2010/09/tcpdump-vs-vlan-tags.html 1087 1.1.1.2 christos Linux, HP-UX, AIX, NetBSD and OpenBSD compilation/conflict fixes. 1088 1.1.1.2 christos Protect against including AIX 5.x's <net/bpf.h> having been included. 1089 1.1.1.2 christos Add DLT_DBUS, for raw D-Bus messages. 1090 1.1.1.2 christos Treat either EPERM or EACCES as "no soup for you". 1091 1.1.1.2 christos Changes to permissions on DLPI systems. 1092 1.1.1.2 christos Add DLT_IEEE802_15_4_NOFCS for 802.15.4 interfaces. 1093 1.1.1.2 christos 1094 1.1.1.2 christos Fri. August 6, 2010. guy (a] alum.mit.edu. 1095 1.1.1.2 christos Summary for 1.1.2 libpcap release 1096 1.1.1.2 christos Return DLT_ values, not raw LINKTYPE_ values from 1097 1.1.1.2 christos pcap_datalink() when reading pcap-ng files 1098 1.1.1.2 christos Add support for "wlan ra" and "wlan ta", to check the RA and TA 1099 1.1.1.2 christos of WLAN frames that have them 1100 1.1.1.2 christos Don't crash if "wlan addr{1,2,3,4}" are used without 802.11 1101 1.1.1.2 christos headers 1102 1.1.1.2 christos Do filtering on USB and Bluetooth capturing 1103 1.1.1.2 christos On FreeBSD/SPARC64, use -fPIC - it's apparently necessary 1104 1.1.1.2 christos Check for valid port numbers (fit in a 16-bit unsigned field) in 1105 1.1.1.2 christos "port" filters 1106 1.1.1.2 christos Reject attempts to put savefiles into non-blocking mode 1107 1.1.1.2 christos Check for "no such device" for the "get the media types" ioctl 1108 1.1.1.2 christos in *BSD 1109 1.1.1.2 christos Improve error messages from bpf_open(), and let it do the error 1110 1.1.1.2 christos handling 1111 1.1.1.2 christos Return more specific errors from pcap_can_set_rfmon(); fix 1112 1.1.1.2 christos documentation 1113 1.1.1.2 christos Update description fetching code for FreeBSD, fix code for 1114 1.1.1.2 christos OpenBSD 1115 1.1.1.2 christos Ignore /sys/net/dev files if we get ENODEV for them, not just 1116 1.1.1.2 christos ENXIO; fixes handling of bonding devices on Linux 1117 1.1.1.2 christos Fix check for a constant 0 argument to BPF_DIV 1118 1.1.1.2 christos Use the right version of ar when cross-building 1119 1.1.1.2 christos Free any filter set on a savefile when the savefile is closed 1120 1.1.1.2 christos Include the CFLAGS setting when configure was run in the 1121 1.1.1.2 christos compiler flags 1122 1.1.1.2 christos Add support for 802.15.4 interfaces on Linux 1123 1.1.1.2 christos 1124 1.1 christos Thu. April 1, 2010. guy (a] alum.mit.edu. 1125 1.1 christos Summary for 1.1.1 libpcap release 1126 1.1 christos Update CHANGES to reflect more of the changes in 1.1.0. 1127 1.1 christos Fix build on RHEL5. 1128 1.1 christos Fix shared library build on AIX. 1129 1.1 christos 1130 1.1 christos Thu. March 11, 2010. ken (a] netfunctional.ca/guy (a] alum.mit.edu. 1131 1.1 christos Summary for 1.1.0 libpcap release 1132 1.1 christos Add SocketCAN capture support 1133 1.1 christos Add Myricom SNF API support 1134 1.1 christos Update Endace DAG and ERF support 1135 1.1 christos Add support for shared libraries on Solaris, HP-UX, and AIX 1136 1.1 christos Build, install, and un-install shared libraries by default; 1137 1.1 christos don't build/install shared libraries on platforms we don't support 1138 1.1 christos Fix building from a directory other than the source directory 1139 1.1 christos Fix compiler warnings and builds on some platforms 1140 1.1 christos Update config.guess and config.sub 1141 1.1 christos Support monitor mode on mac80211 devices on Linux 1142 1.1 christos Fix USB memory-mapped capturing on Linux; it requires a new DLT_ 1143 1.1 christos value 1144 1.1 christos On Linux, scan /sys/class/net for devices if we have it; scan 1145 1.1 christos it, or /proc/net/dev if we don't have /sys/class/net, even if 1146 1.1 christos we have getifaddrs(), as it'll find interfaces with no 1147 1.1 christos addresses 1148 1.1 christos Add limited support for reading pcap-ng files 1149 1.1 christos Fix BPF driver-loading error handling on AIX 1150 1.1 christos Support getting the full-length interface description on FreeBSD 1151 1.1 christos In the lexical analyzer, free up any addrinfo structure we got back 1152 1.1 christos from getaddrinfo(). 1153 1.1 christos Add support for BPF and libdlpi in OpenSolaris (and SXCE) 1154 1.1 christos Hyphenate "link-layer" everywhere 1155 1.1 christos Add /sys/kernel/debug/usb/usbmon to the list of usbmon locations 1156 1.1 christos In pcap_read_linux_mmap(), if there are no frames available, call 1157 1.1 christos poll() even if we're in non-blocking mode, so we pick up 1158 1.1 christos errors, and check for the errors in question. 1159 1.1 christos Note that poll() works on BPF devices is Snow Leopard 1160 1.1 christos If an ENXIO or ENETDOWN is received, it may mean the device has 1161 1.1 christos gone away. Deal with it. 1162 1.1 christos For BPF, raise the default capture buffer size to from 32k to 512k 1163 1.1 christos Support ps_ifdrop on Linux 1164 1.1 christos Added a bunch of #ifdef directives to make wpcap.dll (WinPcap) compile 1165 1.1 christos under cygwin. 1166 1.1 christos Changes to Linux mmapped captures. 1167 1.1 christos Fix bug where create_ring would fail for particular snaplen and 1168 1.1 christos buffer size combinations 1169 1.1 christos Update pcap-config so that it handles libpcap requiring 1170 1.1 christos additional libraries 1171 1.1 christos Add workaround for threadsafeness on Windows 1172 1.1 christos Add missing mapping for DLT_ENC <-> LINKTYPE_ENC 1173 1.1 christos DLT: Add DLT_CAN_SOCKETCAN 1174 1.1 christos DLT: Add Solaris ipnet 1175 1.1 christos Don't check for DLT_IPNET if it's not defined 1176 1.1 christos Add link-layer types for Fibre Channel FC-2 1177 1.1 christos Add link-layer types for Wireless HART 1178 1.1 christos Add link-layer types for AOS 1179 1.1 christos Add link-layer types for DECT 1180 1.1 christos Autoconf fixes (AIX, HP-UX, OSF/1, Tru64 cleanups) 1181 1.1 christos Install headers unconditionally, and include vlan.h/bluetooth.h if 1182 1.1 christos enabled 1183 1.1 christos Autoconf fixes+cleanup 1184 1.1 christos Support enabling/disabling bluetooth (--{en,dis}able-bluetooth) 1185 1.1 christos Support disabling SITA support (--without-sita) 1186 1.1 christos Return -1 on failure to create packet ring (if supported but 1187 1.1 christos creation failed) 1188 1.1 christos Fix handling of 'any' device, so that it can be opened, and no longer 1189 1.1 christos attempt to open it in Monitor mode 1190 1.1 christos Add support for snapshot length for USB Memory-Mapped Interface 1191 1.1 christos Fix configure and build on recent Linux kernels 1192 1.1 christos Fix memory-mapped Linux capture to support pcap_next() and 1193 1.1 christos pcap_next_ex() 1194 1.1 christos Fixes for Linux USB capture 1195 1.1 christos DLT: Add DLT_LINUX_EVDEV 1196 1.1 christos DLT: Add DLT_GSMTAP_UM 1197 1.1 christos DLT: Add DLT_GSMTAP_ABIS 1198 1.1 christos 1199 1.1 christos Mon. October 27, 2008. ken (a] netfunctional.ca. Summary for 1.0.0 libpcap release 1200 1.1 christos Compile with IPv6 support by default 1201 1.1 christos Compile with large file support on by default 1202 1.1 christos Add pcap-config script, which deals with -I/-L flags for compiling 1203 1.1 christos DLT: Add IPMB 1204 1.1 christos DLT: Add LAPD 1205 1.1 christos DLT: Add AX25 (AX.25 w/KISS header) 1206 1.1 christos DLT: Add JUNIPER_ST 1207 1.1 christos 802.15.4 support 1208 1.1 christos Variable length 802.11 header support 1209 1.1.1.4 christos X2E data type support 1210 1.1 christos SITA ACN Interface support - see README.sita 1211 1.1 christos Support for memory-mapped capture on Linux 1212 1.1 christos Support for zerocopy BPF on platforms that support it 1213 1.1 christos Support for setting buffer size when opening devices 1214 1.1 christos Support for setting monitor mode when opening 802.11 devices 1215 1.1 christos Better support for dealing with VLAN tagging/stripping on Linux 1216 1.1 christos Fix dynamic library support on OSX 1217 1.1 christos Return PCAP_ERROR_IFACE_NOT_UP if the interface isn't 'UP', so applications 1218 1.1 christos can print better diagnostic information 1219 1.1 christos Return PCAP_ERROR_PERM_DENIED if we don't have permission to open a device, so 1220 1.1 christos applications can tell the user they need to go play with permissions 1221 1.1.1.4 christos On Linux, ignore ENETDOWN so we can continue to capture packets if the 1222 1.1 christos interface goes down and comes back up again. 1223 1.1 christos On Linux, support new tpacket frame headers (2.6.27+) 1224 1.1 christos On Mac OS X, add scripts for changing permissions on /dev/bpf* and launchd plist 1225 1.1 christos On Solaris, support 'passive mode' on systems that support it 1226 1.1 christos Fixes to autoconf and general build environment 1227 1.1 christos Man page reorganization + cleanup 1228 1.1 christos Autogenerate VERSION numbers better 1229 1.1 christos 1230 1.1 christos Mon. September 10, 2007. ken (a] xelerance.com. Summary for 0.9.8 libpcap release 1231 1.1.1.10 christos Change build process to put public libpcap headers into pcap subdir 1232 1.1 christos DLT: Add value for IPMI IPMB packets 1233 1.1 christos DLT: Add value for u10 Networks boards 1234 1.1.1.4 christos Require <net/pfvar.h> for pf definitions - allows reading of pflog formatted 1235 1.1 christos libpcap files on an OS other than where the file was generated 1236 1.1 christos 1237 1.1 christos Wed. April 25, 2007. ken (a] xelerance.com. Summary for 0.9.6 libpcap release 1238 1.1 christos 1239 1.1 christos Put the public libpcap headers into a pcap subdirectory in both the 1240 1.1 christos source directory and the target include directory, and have include 1241 1.1.1.4 christos files at the top-level directory to include those headers, for 1242 1.1 christos backwards compatibility. 1243 1.1 christos Add Bluetooth support 1244 1.1 christos Add USB capturing support on Linux 1245 1.1 christos Add support for the binary USB sniffing interface in Linux 1246 1.1 christos Add support for new FreeBSD BIOCSDIRECTION ioctl 1247 1.1 christos Add additional filter operations for 802.11 frame types 1248 1.1 christos Add support for filtering on MTP2 frame types 1249 1.1.1.4 christos Propagate some changes from the main branch, so the x.9 branch has 1250 1.1 christos all the DLT_ and LINKTYPE_ values that the main branch does 1251 1.1.1.4 christos Reserved a DLT_ and SAVEFILE_ value for PPI (Per Packet Info) 1252 1.1 christos encapsulated packets 1253 1.1.1.4 christos Add LINKTYPE_ for IEEE 802.15.4, with address fields padded as done 1254 1.1 christos by Linux drivers 1255 1.1 christos Add LINKTYPE_ value corresponding to DLT_IEEE802_16_MAC_CPS. 1256 1.1 christos Add DLT for IEEE 802.16 (WiMAX) MAC Common Part Sublayer 1257 1.1 christos Add DLT for Bluetooth HCI UART transport layer 1258 1.1 christos When building a shared library, build with "-fPIC" on Linux to support x86_64 1259 1.1.1.4 christos Link with "$(CC) -shared" rather than "ld -shared" when building a 1260 1.1 christos ".so" shared library 1261 1.1 christos Add support for autoconf 2.60 1262 1.1 christos Fixes to discard unread packets when changing filters 1263 1.1.1.4 christos Changes to handle name changes in the DAG library resulting from 1264 1.1 christos switching to libtool. 1265 1.1 christos Add support for new DAG ERF types. 1266 1.1.1.4 christos Add an explicit "-ldag" when building the shared library, so the DAG 1267 1.1 christos library dependency is explicit. 1268 1.1 christos Mac OSX fixes for dealing with "wlt" devices 1269 1.1 christos Fixes in add_or_find_if() & pcap_findalldevs() to optimize generating 1270 1.1 christos device lists 1271 1.1 christos Fixed a bug in pcap_open_live(). The return value of PacketSetHwFilter 1272 1.1.1.4 christos was not checked. 1273 1.1 christos 1274 1.1 christos Tue. September 19, 2006. ken (a] xelerance.com. Summary for 0.9.5 libpcap release 1275 1.1 christos 1276 1.1 christos Support for LAPD frames with vISDN 1277 1.1 christos Support for ERF on channelized T1/E1 cards via DAG API 1278 1.1 christos Fix capitalization that caused issues crossc compiling on Linux 1279 1.1 christos Better failure detection on PacketGetAdapterNames() 1280 1.1 christos Fixes for MPLS packet generation (link layer) 1281 1.1 christos OP_PACKET now matches the beginning of the packet, instead of 1282 1.1 christos beginning+link-layer 1283 1.1 christos Add DLT/LINKTYPE for carrying FRF.16 Multi-link Frame Relay 1284 1.1.1.4 christos Fix allocation of buffer for list of link-layer types 1285 1.1.1.9 christos Added a new DLT and LINKTYPE value for ARINC 653 Interpartition Communication Messages 1286 1.1 christos Fixed a typo in a DLT value: it should start with DLT_ and not LINKTYPE_ 1287 1.1 christos Redefined DLT_CAN20B and LINKTYPE_CAN20B as #190 (as this is the right value for CAN). 1288 1.1 christos Added definition for DLT_A429 and LINKTYPE_A429 as #184. 1289 1.1 christos Added a new DLT and LINKTYPE value for CAN v2.0B frames. 1290 1.1 christos Add support for DLT_JUNIPER_VP. 1291 1.1.1.4 christos Don't double-count received packets on Linux systems that 1292 1.1.1.4 christos support the PACKET_STATISTICS getsockopt() argument on 1293 1.1 christos PF_PACKET sockets. 1294 1.1.1.4 christos Add support for DLT_IEEE802_11 and DLT_IEEE802_11_RADIO link 1295 1.1 christos layers in Windows 1296 1.1.1.4 christos Add support to build libpcap.lib and wpcap.dll under Cygnus and 1297 1.1 christos MingW32. 1298 1.1 christos 1299 1.1.1.9 christos Mon. September 5, 2005. ken (a] xelerance.com. Summary for 0.9.4 libpcap release 1300 1.1 christos 1301 1.1 christos Support for radiotap on Linux (Mike Kershaw) 1302 1.1 christos Fixes for HP-UX 1303 1.1 christos Support for additional Juniper link-layer types 1304 1.1 christos Fixes for filters on MPLS-encapsulated packets 1305 1.1 christos "vlan" filter fixed 1306 1.1 christos "pppoed" and "pppoes" filters added; the latter modifies later 1307 1.1 christos parts of the filter expression to look at the PPP headers and 1308 1.1 christos headers in the PPP payload 1309 1.1 christos 1310 1.1.1.9 christos Tue. July 5, 2005. ken (a] xelerance.com. Summary for 0.9.3 libpcap release 1311 1.1 christos 1312 1.1 christos Fixes for compiling on nearly every platform, 1313 1.1 christos including improved 64bit support 1314 1.1 christos MSDOS Support 1315 1.1 christos Add support for sending packets 1316 1.1 christos OpenBSD pf format support 1317 1.1 christos IrDA capture (Linux only) 1318 1.1 christos 1319 1.1 christos Tue. March 30, 2004. mcr (a] sandelman.ottawa.on.ca. Summary for 3.8.3 release 1320 1.1 christos 1321 1.1 christos Fixed minor problem in gencode.c that would appear on 64-bit 1322 1.1 christos platforms. 1323 1.1 christos Version number is now sane. 1324 1.1 christos 1325 1.1 christos Mon. March 29, 2004. mcr (a] sandelman.ottawa.on.ca. Summary for 3.8.2 release 1326 1.1 christos 1327 1.1 christos updates for autoconf 2.5 1328 1.1 christos fixes for ppp interfaces for freebsd 4.1 1329 1.1 christos pcap gencode can generate code for 802.11, IEEE1394, and pflog. 1330 1.1 christos 1331 1.1 christos Wed. November 12, 2003. mcr (a] sandelman.ottawa.on.ca. Summary for 0.8 release 1332 1.1 christos 1333 1.1 christos added pcap_findalldevs() 1334 1.1 christos Win32 patches from NetGroup, Politecnico di Torino (Italy) 1335 1.1 christos OpenBSD pf, DLT_PFLOG added 1336 1.1 christos Many changes to ATM support. 1337 1.1 christos lookup pcap_lookupnet() 1338 1.1 christos Added DLT_ARCNET_LINUX, DLT_ENC, DLT_IEEE802_11_RADIO, DLT_SUNATM, 1339 1.1 christos DLT_IP_OVER_FC, DLT_FRELAY, others. 1340 1.1 christos Sigh. More AIX wonderfulness. 1341 1.1 christos Document updates. 1342 1.1 christos Changes to API: pcap_next_ex(), pcap_breakloop(), pcap_dump_flush(), 1343 1.1 christos pcap_list_datalinks(), pcap_set_datalink(), 1344 1.1 christos pcap_lib_version(), pcap_datalink_val_to_name(), 1345 1.1 christos pcap_datalink_name_to_val(), new error returns. 1346 1.1 christos 1347 1.1 christos Tuesday, February 25, 2003. fenner (a] research.att.com. 0.7.2 release 1348 1.1 christos 1349 1.1.1.9 christos Support link types that use 802.2 always, never, and sometimes. 1350 1.1.1.9 christos Don't decrease the size of the BPF buffer from the default. 1351 1.1.1.9 christos Support frame relay. 1352 1.1.1.9 christos Handle 32-bit timestamps in DLPI, and pass the right buffer size. 1353 1.1.1.9 christos Handle Linux systems with modern kernel but without 1354 1.1.1.9 christos SOL_PACKET in the userland headers. 1355 1.1.1.9 christos Linux support for ARPHRD_RAWHDLC. 1356 1.1.1.9 christos Handle 32-bit timestamps in snoop. 1357 1.1.1.9 christos Support eg (Octane/O2xxx/O3xxx Gigabit) devices. 1358 1.1.1.9 christos Add new reserved DLT types. 1359 1.1 christos 1360 1.1 christos Monday October 23, 2001. mcr (a] sandelman.ottawa.on.ca. Summary for 0.7 release 1361 1.1 christos 1362 1.1 christos Added pcap_findalldevs() call to get list of interfaces in a MI way. 1363 1.1 christos 1364 1.1 christos pcap_stats() has been documented as to what its counters mean on 1365 1.1 christos each platform. 1366 1.1 christos 1367 1.1 christos Tuesday January 9, 2001. guy (a] alum.mit.edu. Summary for 0.6 release 1368 1.1 christos 1369 1.1 christos New Linux libpcap implementation, which, in 2.2 and later 1370 1.1 christos kernels, uses PF_PACKET sockets and supports kernel packet 1371 1.1 christos filtering (if compiled into the kernel), and supports the "any" 1372 1.1 christos device for capturing on all interfaces. Cleans up promiscuous 1373 1.1 christos mode better on pre-2.2 kernels, and has various other fixes 1374 1.1 christos (handles 2.4 ARPHRD_IEEE802_TR, handles ISDN devices better, 1375 1.1 christos doesn't show duplicate packets on loopback interface, etc.). 1376 1.1 christos 1377 1.1 christos Fixed HP-UX libpcap implementation to correctly get the PPA for 1378 1.1 christos an interface, to allow interfaces to be opened by interface name. 1379 1.1 christos 1380 1.1 christos libpcap savefiles have system-independent link-layer type values 1381 1.1 christos in the header, rather than sometimes platform-dependent DLT_ 1382 1.1 christos values, to make it easier to exchange capture files between 1383 1.1 christos different OSes. 1384 1.1 christos 1385 1.1 christos Non-standard capture files produced by some Linux tcpdumps, e.g. 1386 1.1 christos the one from Red Hat Linux 6.2 and later, can now be read. 1387 1.1 christos 1388 1.1 christos Updated autoconf stock files. 1389 1.1 christos 1390 1.1 christos Filter expressions can filter on VLAN IDs and various OSI 1391 1.1 christos protocols, and work on Token Ring (with non-source-routed 1392 1.1 christos packets). 1393 1.1 christos 1394 1.1 christos "pcap_open_dead()" added to allow compiling filter expressions 1395 1.1 christos to pcap code without opening a capture device or capture file. 1396 1.1 christos 1397 1.1 christos Header files fixed to allow use in C++ programs. 1398 1.1 christos 1399 1.1.1.9 christos Removed dependency on native headers for packet layout. 1400 1.1 christos Removed Linux specific headers that were shipped. 1401 1.1 christos 1402 1.1 christos Security fixes: Strcpy replaced with strlcpy, sprintf replaced 1403 1.1 christos with snprintf. 1404 1.1 christos 1405 1.1 christos Fixed bug that could cause subsequent "pcap_compile()"s to fail 1406 1.1 christos erroneously after one compile failed. 1407 1.1 christos 1408 1.1 christos Assorted other bug fixes. 1409 1.1 christos 1410 1.1 christos README.aix and README.linux files added to describe 1411 1.1 christos platform-specific issues. 1412 1.1 christos 1413 1.1 christos "getifaddrs()" rather than SIOCGIFCONF used, if available. 1414 1.1 christos 1415 1.1 christos v0.5 Sat Jun 10 11:09:15 PDT 2000 1416 1.1 christos 1417 1.1 christos itojun (a] iijlab.net 1418 1.1 christos - Brought in KAME IPv6/IPsec bpf compiler. 1419 1.1 christos - Fixes for NetBSD. 1420 1.1 christos - Support added for OpenBSD DLT_LOOP and BSD/OS DLT_C_HDLC (Cisco HDLC), 1421 1.1 christos and changes to work around different BSDs having different DLT_ types 1422 1.1 christos with the same numeric value. 1423 1.1 christos 1424 1.1 christos Assar Westerlund <assar (a] sics.se> 1425 1.1 christos - Building outside the source code tree fixed. 1426 1.1 christos - Changed to write out time stamps with 32-bit seconds and microseconds 1427 1.1 christos fields, regardless of whether those fields are 32 bits or 64 bits in 1428 1.1 christos the OS's native "struct timeval". 1429 1.1 christos - Changed "pcap_lookupdev()" to dynamically grow the buffer into which 1430 1.1 christos the list of interfaces is read as necessary in order to hold the 1431 1.1 christos entire list. 1432 1.1 christos 1433 1.1 christos Greg Troxel <gdt (a] ir.bbn.com> 1434 1.1 christos - Added a new "pcap_compile_nopcap()", which lets you compile a filter 1435 1.1 christos expression into a BPF program without having an open live capture or 1436 1.1 christos capture file. 1437 1.1 christos 1438 1.1 christos v0.4 Sat Jul 25 12:40:09 PDT 1998 1439 1.1 christos 1440 1.1 christos - Fix endian problem with DLT_NULL devices. From FreeBSD via Bill 1441 1.1 christos Fenner (fenner (a] parc.xerox.com) 1442 1.1 christos 1443 1.1 christos - Fix alignment problem with FDDI under DLPI. This was causing core 1444 1.1 christos dumps under Solaris. 1445 1.1 christos 1446 1.1 christos - Added configure options to disable flex and bison. Resulted from a 1447 1.1 christos bug report by barnett (a] grymoire.crd.ge.com (Bruce Barnett). Also added 1448 1.1 christos options to disable gcc and to force a particular packet capture type. 1449 1.1 christos 1450 1.1 christos - Added support for Fore ATM interfaces (qaa and fa) under IRIX. Thanks 1451 1.1 christos to John Hawkinson (jhawk (a] mit.edu) 1452 1.1 christos 1453 1.1 christos - Change Linux PPP and SLIP to use DLT_RAW since the kernel does not 1454 1.1 christos supply any "link layer" data. 1455 1.1 christos 1456 1.1 christos - Change Linux to use SIOCGIFHWADDR ioctl to determine link layer type. 1457 1.1 christos Thanks to Thomas Sailer (sailer (a] ife.ee.ethz.ch) 1458 1.1 christos 1459 1.1 christos - Change IRIX PPP to use DLT_RAW since the kernel does not supply any 1460 1.1 christos "link layer" data. 1461 1.1 christos 1462 1.1 christos - Modified to support the new BSD/OS 2.1 PPP and SLIP link layer header 1463 1.1 christos formats. 1464 1.1 christos 1465 1.1 christos - Added some new SGI snoop interface types. Thanks to Steve Alexander 1466 1.1 christos (sca (a] refugee.engr.sgi.com) 1467 1.1 christos 1468 1.1 christos - Fixes for HP-UX 10.20 (which is similar to HP-UX 9). Thanks to 1469 1.1 christos Richard Allen (ra (a] hp.is) and Steinar Haug (sthaug (a] nethelp.no) 1470 1.1 christos 1471 1.1 christos - Fddi supports broadcast as reported by Jeff Macdonald 1472 1.1 christos (jeff (a] iacnet.com). Also correct ieee802 and arcnet. 1473 1.1 christos 1474 1.1 christos - Determine Linux pcap buffer size at run time or else it might not be 1475 1.1 christos big enough for some interface types (e.g. FDDI). Thanks to Jes 1476 1.1 christos Sorensen (Jes.Sorensen (a] cern.ch) 1477 1.1 christos 1478 1.1 christos - Fix some linux alignment problems. 1479 1.1 christos 1480 1.1 christos - Document promisc argument to pcap_open_live(). Reported by Ian Marsh 1481 1.1 christos (ianm (a] sics.se) 1482 1.1 christos 1483 1.1 christos - Support Metricom radio packets under Linux. Thanks to Kevin Lai 1484 1.1 christos (laik (a] gunpowder.stanford.edu) 1485 1.1 christos 1486 1.1 christos - Bind to interface name under Linux to avoid packets from multiple 1487 1.1 christos interfaces on multi-homed hosts. Thanks to Kevin Lai 1488 1.1 christos (laik (a] gunpowder.stanford.edu) 1489 1.1 christos 1490 1.1 christos - Change L_SET to SEEK_SET for HP-UX. Thanks to Roland Roberts 1491 1.1 christos (rroberts (a] muller.com) 1492 1.1 christos 1493 1.1 christos - Fixed an uninitialized memory reference found by Kent Vander Velden 1494 1.1 christos (graphix (a] iastate.edu) 1495 1.1 christos 1496 1.1 christos - Fixed lex pattern for IDs to allow leading digits. As reported by 1497 1.1 christos Theo de Raadt (deraadt (a] cvs.openbsd.org) 1498 1.1 christos 1499 1.1 christos - Fixed Linux include file problems when using GNU libc. 1500 1.1 christos 1501 1.1 christos - Ifdef ARPHRD_FDDI since not all versions of the Linux kernel have it. 1502 1.1 christos Reported reported by Eric Jacksch (jacksch (a] tenebris.ca) 1503 1.1 christos 1504 1.1 christos - Fixed bug in pcap_dispatch() that kept it from returning on packet 1505 1.1 christos timeouts. 1506 1.1 christos 1507 1.1 christos - Changed ISLOOPBACK() macro when IFF_LOOPBACK isn't available to check 1508 1.1 christos for "lo" followed by an eos or digit (newer versions of Linux 1509 1.1 christos apparently call the loopback "lo" instead of "lo0"). 1510 1.1 christos 1511 1.1 christos - Fixed Linux networking include files to use ints instead of longs to 1512 1.1 christos avoid problems with 64 bit longs on the alpha. Thanks to Cristian 1513 1.1 christos Gafton (gafton (a] redhat.com) 1514 1.1 christos 1515 1.1 christos v0.3 Sat Nov 30 20:56:27 PST 1996 1516 1.1 christos 1517 1.1 christos - Added Linux support. 1518 1.1 christos 1519 1.1 christos - Fixed savefile bugs. 1520 1.1 christos 1521 1.1 christos - Solaris x86 fix from Tim Rylance (t.rylance (a] elsevier.nl) 1522 1.1 christos 1523 1.1 christos - Add support for bpf kernel port filters. 1524 1.1 christos 1525 1.1 christos - Remove duplicate atalk protocol table entry. Thanks to Christian 1526 1.1 christos Hopps (chopps (a] water.emich.edu) 1527 1.1 christos 1528 1.1 christos - Fixed pcap_lookupdev() to ignore nonexistent devices. This was 1529 1.1 christos reported to happen under BSD/OS by David Vincenzetti 1530 1.1 christos (vince (a] cryptonet.it) 1531 1.1 christos 1532 1.1 christos - Avoid solaris compiler warnings. Thanks to Bruce Barnett 1533 1.1 christos (barnett (a] grymoire.crd.ge.com) 1534 1.1 christos 1535 1.1 christos v0.2.1 Sun Jul 14 03:02:26 PDT 1996 1536 1.1 christos 1537 1.1.1.9 christos - Fixes for HP-UX 10. Thanks in part to Thomas Wolfram 1538 1.1 christos (wolf (a] prz.tu-berlin.de) and Rick Jones (raj (a] hpisrdq.cup.hp.com) 1539 1.1 christos 1540 1.1 christos - Added support for SINIX. Thanks to Andrej Borsenkow 1541 1.1 christos (borsenkow.msk (a] sni.de) 1542 1.1 christos 1543 1.1 christos - Fixes for AIX (although this system is not yet supported). Thanks to 1544 1.1 christos John Hawkinson (jhawk (a] mit.edu) 1545 1.1 christos 1546 1.1 christos - Use autoconf's idea of the top level directory in install targets. 1547 1.1 christos Thanks to John Hawkinson. 1548 1.1 christos 1549 1.1 christos - Add missing autoconf packet capture result message. Thanks to Bill 1550 1.1 christos Fenner (fenner (a] parc.xerox.com) 1551 1.1 christos 1552 1.1 christos - Fixed padding problems in the pf module. 1553 1.1 christos 1554 1.1 christos - Fixed some more alignment problems on the alpha. 1555 1.1 christos 1556 1.1 christos - Added explicit netmask support. Thanks to Steve Nuchia 1557 1.1 christos (steve (a] research.oknet.com) 1558 1.1 christos 1559 1.1 christos - Fixed to handle raw ip addresses such as 0.0.0.1 without "left 1560 1.1.1.10 christos justifying" 1561 1.1 christos 1562 1.1 christos - Add "sca" keyword (for DEC cluster services) as suggested by Terry 1563 1.1 christos Kennedy (terry (a] spcvxa.spc.edu) 1564 1.1 christos 1565 1.1 christos - Add "atalk" keyword as suggested by John Hawkinson. 1566 1.1 christos 1567 1.1 christos - Add "igrp" keyword. 1568 1.1 christos 1569 1.1 christos - Fixed HID definition in grammar.y to be a string, not a value. 1570 1.1 christos 1571 1.1 christos - Use $CC when checking gcc version. Thanks to Carl Lindberg 1572 1.1 christos (carl_lindberg (a] blacksmith.com) 1573 1.1 christos 1574 1.1 christos - Removed obsolete reference to pcap_immediate() from the man page. 1575 1.1 christos Michael Stolarchuk (mts (a] terminator.rs.itd.umich.edu) 1576 1.1 christos 1577 1.1 christos - DLT_NULL has a 4 byte family header. Thanks to Jeffrey Honig 1578 1.1 christos (jch (a] bsdi.com) 1579 1.1 christos 1580 1.1 christos v0.2 Sun Jun 23 02:28:42 PDT 1996 1581 1.1 christos 1582 1.1 christos - Add support for HP-UX. Resulted from code contributed by Tom Murray 1583 1.1 christos (tmurray (a] hpindck.cup.hp.com) and Philippe-Andri Prindeville 1584 1.1 christos (philipp (a] res.enst.fr) 1585 1.1 christos 1586 1.1 christos - Update INSTALL with a reminder to install include files. Thanks to 1587 1.1 christos Mark Andrews (mandrews (a] aw.sgi.com) 1588 1.1 christos 1589 1.1 christos - Fix bpf compiler alignment bug on the alpha. 1590 1.1 christos 1591 1.1 christos - Use autoconf to detect architectures that can't handle misaligned 1592 1.1 christos accesses. 1593 1.1 christos 1594 1.1 christos - Added loopback support for snoop. Resulted from report Steve 1595 1.1 christos Alexander (sca (a] engr.sgi.com) 1596 1.1 christos 1597 1.1 christos v0.1 Fri Apr 28 18:11:03 PDT 1995 1598 1.1 christos 1599 1.1 christos - Fixed compiler and optimizer bugs. The BPF filter engine uses unsigned 1600 1.1 christos comparison operators, while the code generator and optimizer assumed 1601 1.1 christos signed semantics in several places. Thanks to Charlie Slater 1602 1.1 christos (cslater (a] imatek.com) for pointing this out. 1603 1.1 christos 1604 1.1 christos - Removed FDDI ifdef's, they aren't really needed. Resulted from report 1605 1.1 christos by Gary Veum (veum (a] boa.gsfc.nasa.gov). 1606 1.1 christos 1607 1.1 christos - Add pcap-null.c which allows offline use of libpcap on systems that 1608 1.1 christos don't support live package capture. This feature resulting from a 1609 1.1 christos request from Jan van Oorschot (j.p.m.voorschot (a] et.tudelft.nl). 1610 1.1 christos 1611 1.1 christos - Make bpf_compile() reentrant. Fix thanks to Pascal Hennequin 1612 1.1 christos (Pascal.Hennequin (a] hugo.int-evry.fr). 1613 1.1 christos 1614 1.1 christos - Port to GNU autoconf. 1615 1.1 christos 1616 1.1 christos - Fix pcap-dlpi.c to work with isdn. Resulted from report by Flemming 1617 1.1 christos Johansen (fsj (a] csd.cri.dk). 1618 1.1 christos 1619 1.1 christos - Handle multi-digit interface unit numbers (aka ppa's) under dlpi. 1620 1.1 christos Resulted from report by Daniel Ehrlich (ehrlich (a] cse.psu.edu). 1621 1.1 christos 1622 1.1 christos - Fix pcap-dlpi.c to work in non-promiscuous mode. Resulted from report 1623 1.1 christos by Jeff Murphy (jcmurphy (a] acsu.buffalo.edu). 1624 1.1 christos 1625 1.1 christos - Add support for "long jumps". Thanks to Jeffrey Mogul 1626 1.1 christos (mogul (a] pa.dec.com). 1627 1.1 christos 1628 1.1 christos - Fix minor problems when compiling with BDEBUG as noticed by Scott 1629 1.1 christos Bertilson (scott (a] unet.umn.edu). 1630 1.1 christos 1631 1.1 christos - Declare sys_errlist "const char *const" to avoid problems under 1632 1.1 christos FreeBSD. Resulted from report by jher (a] eden.com. 1633 1.1 christos 1634 1.1 christos v0.0.6 Fri Apr 28 04:07:13 PDT 1995 1635 1.1 christos 1636 1.1 christos - Add missing variable declaration missing from 0.0.6 1637 1.1 christos 1638 1.1 christos v0.0.5 Fri Apr 28 00:22:21 PDT 1995 1639 1.1 christos 1640 1.1 christos - Workaround for problems when pcap_read() returns 0 due to the timeout 1641 1.1 christos expiring. 1642 1.1 christos 1643 1.1 christos v0.0.4 Thu Apr 20 20:41:48 PDT 1995 1644 1.1 christos 1645 1.1 christos - Change configuration to not use gcc v2 flags with gcc v1. 1646 1.1 christos 1647 1.1 christos - Fixed a bug in pcap_next(); if pcap_dispatch() returns 0, pcap_next() 1648 1.1 christos should also return 0. Thanks to Richard Stevens (rstevens (a] noao.edu). 1649 1.1 christos 1650 1.1 christos - Fixed configure to test for snoop before dlpi to avoid problems under 1651 1.1 christos IRIX 5. Thanks to J. Eric Townsend (jet (a] abulafia.genmagic.com). 1652 1.1 christos 1653 1.1 christos - Hack around deficiency in Ultrix's make. 1654 1.1 christos 1655 1.1 christos - Fix two bugs related to the Solaris pre-5.3.2 bufmod bug; handle 1656 1.1 christos savefiles that have more than snapshot bytes of data in them (so we 1657 1.1 christos can read old savefiles) and avoid writing such files. 1658 1.1 christos 1659 1.1 christos - Added checkioctl which is used with gcc to check that the 1660 1.1 christos "fixincludes" script has been run. 1661 1.1 christos 1662 1.1 christos v0.0.3 Tue Oct 18 18:13:46 PDT 1994 1663 1.1 christos 1664 1.1 christos - Fixed configure to test for snoop before dlpi to avoid problems under 1665 1.1 christos IRIX 5. Thanks to J. Eric Townsend (jet (a] abulafia.genmagic.com). 1666 1.1 christos 1667 1.1 christos v0.0.2 Wed Oct 12 20:56:37 PDT 1994 1668 1.1 christos 1669 1.1 christos - Implement timeout in the dlpi pcap_open_live(). Thanks to Richard 1670 1.1 christos Stevens. 1671 1.1 christos 1672 1.1 christos - Determine pcap link type from dlpi media type. Resulted from report 1673 1.1 christos by Mahesh Jethanandani (mahesh (a] npix.com). 1674 1.1 christos 1675 1.1 christos v0.0.1 Fri Jun 24 14:50:57 PDT 1994 1676 1.1 christos 1677 1.1 christos - Fixed bug in nit_setflags() in pcap-snit.c. The streams ioctl timeout 1678 1.1 christos wasn't being initialized sometimes resulting in an "NIOCSFLAGS: 1679 1.1 christos Invalid argument" error under OSF/1. Reported by Matt Day 1680 1.1 christos (mday (a] artisoft.com) and Danny Mitzel (dmitzel (a] whitney.hitc.com). 1681 1.1 christos 1682 1.1 christos - Turn on FDDI support by default. 1683 1.1 christos 1684 1.1 christos v0.0 Mon Jun 20 19:20:16 PDT 1994 1685 1.1 christos 1686 1.1 christos - Initial release. 1687 1.1 christos 1688 1.1 christos - Fixed bug with greater/less keywords, reported by Mark Andrews 1689 1.1 christos (mandrews (a] alias.com). 1690 1.1 christos 1691 1.1 christos - Fix bug where '|' was defined as BPF_AND instead of BPF_OR, reported 1692 1.1 christos by Elan Amir (elan (a] leeb.cs.berkeley.edu). 1693 1.1 christos 1694 1.1 christos - Machines with little-endian byte ordering are supported thanks to 1695 1.1 christos Jeff Mogul. 1696 1.1 christos 1697 1.1 christos - Add hack for version 2.3 savefiles which don't have caplen and len 1698 1.1 christos swapped thanks to Vern Paxson. 1699 1.1 christos 1700 1.1 christos - Added "&&" and "||" aliases for "and" and "or" thanks to Vern Paxson. 1701 1.1 christos 1702 1.1 christos - Added length, inbound and outbound keywords. 1703