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