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