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