]> The Tcpdump Group git mirrors - libpcap/blob - CHANGES
If parser debugging is enabled, ensure pcap_debug is exported.
[libpcap] / CHANGES
1 Thursday Sep. 3, 2015 guy@alum.mit.edu
2 Summary for 1.7.5 libpcap release
3 Man page cleanups.
4 Add some allocation failure checks.
5 Fix a number of Linux/ucLinux configure/build issues.
6 Fix some memory leaks.
7 Recognize 802.1ad nested VLAN tag in vlan filter.
8 Fix building Bluetooth Linux Monitor support with BlueZ 5.1+
9
10 Saturday Jun. 27, 2015 mcr@sandelman.ca
11 Summary for 1.7.4 libpcap release
12 Include fix for GitHub issue #424 -- out of tree builds.
13
14 Friday Apr. 10, 2015 guy@alum.mit.edu
15 Summary for 1.7.3 libpcap release
16 Work around a Linux bonding driver bug.
17
18 Thursday Feb. 12, 2015 guy@alum.mit.edu/mcr@sandelman.ca
19 Summary for 1.7.2 libpcap release
20 Support for filtering Geneve encapsulated packets.
21 Generalize encapsulation handling, fixing some bugs.
22 Don't add null addresses to address lists.
23 Add pcap_dump_open_append() to open for appending.
24 Fix the swapping of isochronous descriptors in Linux USB.
25 Attempt to handle TPACKET_V1 with 32-bit userland and 64-bit kernel.
26
27 Wednesday Nov. 12, 2014 guy@alum.mit.edu/mcr@sandelman.ca
28 Summary for 1.7.0 libpcap release
29 Fix handling of zones for BPF on Solaris
30 new DLT for ZWAVE
31 clarifications for read timeouts.
32 Use BPF extensions in compiled filters, fixing VLAN filters
33 some fixes to compilation without stdint.h
34 EBUSY can now be returned by SNFv3 code.
35 Fix the range checks in BPF loads
36 Various DAG fixes.
37 Various Linux fixes.
38
39 Monday Aug. 12, 2014 guy@alum.mit.edu
40 Summary for 1.6.2 libpcap release
41 Don't crash on filters testing a non-existent link-layer type
42 field.
43 Fix sending in non-blocking mode on Linux with memory-mapped
44 capture.
45 Fix timestamps when reading pcap-ng files on big-endian
46 machines.
47
48 Saturday Jul. 19, 2014 mcr@sandelman.ca
49 Summary for 1.6.1 libpcap release
50 some fixes for the any device
51 changes for how --enable-XXX (--enable-sniffing, --enable-can) works
52
53 Wednesday Jul. 2, 2014 mcr@sandelman.ca
54 Summary for 1.6.0 libpcap release
55 Don't support D-Bus sniffing on OS X
56 fixes for byte order issues with NFLOG captures
57 Handle using cooked mode for DLT_NETLINK in activate_new().
58 on platforms where you can not capture on down interfaces, do not list them
59 but: do list interfaces which are down, if you can capture on them!
60
61 Wednesday December 18, 2013 guy@alum.mit.edu
62 Summary for 1.5.3 libpcap release
63 Don't let packets that don't match the current filter get to the
64 application when TPACKET_V3 is used. (GitHub issue #331)
65 Fix handling of pcap_loop()/pcap_dispatch() with a packet count
66 of 0 on some platforms (including Linux with TPACKET_V3).
67 (GitHub issue #333)
68 Work around TPACKET_V3 deficiency that causes packets to be lost
69 when a timeout of 0 is specified. (GitHub issue #335)
70 Man page formatting fixes.
71
72 Wednesday December 4, 2013 guy@alum.mit.edu
73 Summary for 1.5.2 libpcap release
74 Fix libpcap to work when compiled with TPACKET_V3 support and
75 running on a kernel without TPACKET_V3 support. (GitHub
76 issue #329)
77
78 Wednesday November 20, 2013 guy@alum.mit.edu
79 Summary for 1.5.1 libpcap release
80 Report an error, rather than crashing, if an IPv6 address is
81 used for link-layer filtering. (Wireshark bug 9376)
82
83 Wednesday October 30, 2013 guy@alum.mit.edu
84 Summary for 1.5.0 libpcap release
85 TPACKET_V3 support added for Linux
86 Point users to the the-tcpdump-group repository on GitHub rather
87 than the mcr repository
88 Checks added for malloc()/realloc()/etc. failures
89 Fixed build on Solaris 11
90 Support filtering filtering E1 SS7 traffic on MTP2 layer Annex A
91 Use "ln -s" to link man pages by default
92 Add support for getting nanosecond-resolution time stamps when
93 capturing and reading capture files
94 Many changes to autoconf to deal better with non-GCC compilers
95 added many new DLT types
96
97 Saturday April 6, 2013 guy@alum.mit.edu
98 Summary for 1.4.0 libpcap release
99 Add netfilter/nfqueue interface.
100 If we don't have support for IPv6 address resolution, support,
101 in filter expressions, what IPv6 stuff we can.
102 Fix pcap-config to include -lpthread if canusb support is
103 present
104 Try to fix "pcap_parse not defined" problems when --without-flex
105 and --without-bison are used when you have Flex and Bison
106 Fix some issues with the pcap_loop man page.
107 Fix pcap_getnonblock() and pcap_setnonblock() to fill in the
108 supplied error message buffer
109 Fix typo that, it appeared, would cause pcap-libdlpi.c not to
110 compile (perhaps systems with libdlpi also have BPF and use
111 that instead)
112 Catch attempts to call pcap_compile() on a non-activated pcap_t
113 Fix crash on Linux with CAN-USB support without usbfs
114 Fix addition of VLAN tags for Linux cooked captures
115 Check for both EOPNOTSUPP and EINVAL after SIOCETHTOOL ioctl, so
116 that the driver can report either one if it doesn't support
117 SIOCETHTOOL
118 Add DLT_INFINIBAND and DLT_SCTP
119 Describe "proto XXX" and "protochain XXX" in the pcap-filter man
120 page
121 Handle either directories, or symlinks to directories, that
122 correspond to interfaces in /sys/class/net
123 Fix handling of VLAN tag insertion to check, on Linux 3.x
124 kernels, for VLAN tag valid flag
125 Clean up some man pages
126 Support libnl3 as well as libnl1 and libnl2 on Linux
127 Fix handling of Bluetooth devices on 3.x Linux kernels
128
129 Friday March 30, 2012. mcr@sandelman.ca
130 Summary for 1.3.0 libpcap release
131 Handle DLT_PFSYNC in {FreeBSD, other *BSD+Mac OS X, other}.
132 Linux: Don't fail if netfilter isn't enabled in the kernel.
133 Add new link-layer type for NFC Forum LLCP.
134 Put the CANUSB stuff into EXTRA_DIST, so it shows up in the release tarball.
135 Add LINKTYPE_NG40/DLT_NG40.
136 Add DLT_MPEG_2_TS/LINKTYPE_MPEG_2_TS for MPEG-2 transport streams.
137 [PATCH] Fix AIX-3.5 crash with read failure during stress
138 AIX fixes.
139 Introduce --disable-shared configure option.
140 Added initial support for canusb devices.
141 Include the pcap(3PCAP) additions as 1.2.1 changes.
142 many updates to documentation: pcap.3pcap.in
143 Improve 'inbound'/'outbound' capture filters under Linux.
144 Note the cleanup of handling of new DLT_/LINKTYPE_ values.
145 On Lion, don't build for PPC.
146 For mac80211 devices we need to clean up monitor mode on exit.
147
148 Friday December 9, 2011. guy@alum.mit.edu.
149 Summary for 1.2.1 libpcap release
150 Update README file.
151 Fix typoes in README.linux file.
152 Clean up some compiler warnings.
153 Fix Linux compile problems and tests for ethtool.h.
154 Treat Debian/kFreeBSD and GNU/Hurd as systems with GNU
155 toolchains.
156 Support 802.1 QinQ as a form of VLAN in filters.
157 Treat "carp" as equivalent to "vrrp" in filters.
158 Fix code generated for "ip6 protochain".
159 Add some new link-layer header types.
160 Support capturing NetFilter log messages on Linux.
161 Clean up some error messages.
162 Turn off monitor mode on exit for mac80211 interfaces on Linux.
163 Fix problems turning monitor mode on for non-mac80211 interfaces
164 on Linux.
165 Properly fail if /sys/class/net or /proc/net/dev exist but can't
166 be opened.
167 Fail if pcap_activate() is called on an already-activated
168 pcap_t, and add a test program for that.
169 Fix filtering in pcap-ng files.
170 Don't build for PowerPC on Mac OS X Lion.
171 Simplify handling of new DLT_/LINKTYPE_ values.
172 Expand pcap(3PCAP) man page.
173
174 Sunday July 24, 2011. mcr@sandelman.ca.
175 Summary for 1.2 libpcap release
176 All of the changes listed below for 1.1.1 and 1.1.2.
177 Changes to error handling for pcap_findalldevs().
178 Fix the calculation of the frame size in memory-mapped captures.
179 Add a link-layer header type for STANAG 5066 D_PDUs.
180 Add a link-layer type for a variant of 3GPP TS 27.010.
181 Noted real nature of LINKTYPE_ARCNET.
182 Add a link-layer type for DVB-CI.
183 Fix configure-script discovery of VLAN acceleration support.
184 see http://netoptimizer.blogspot.com/2010/09/tcpdump-vs-vlan-tags.html
185 Linux, HP-UX, AIX, NetBSD and OpenBSD compilation/conflict fixes.
186 Protect against including AIX 5.x's <net/bpf.h> having been included.
187 Add DLT_DBUS, for raw D-Bus messages.
188 Treat either EPERM or EACCES as "no soup for you".
189 Changes to permissions on DLPI systems.
190 Add DLT_IEEE802_15_4_NOFCS for 802.15.4 interfaces.
191
192 Fri. August 6, 2010. guy@alum.mit.edu.
193 Summary for 1.1.2 libpcap release
194 Return DLT_ values, not raw LINKTYPE_ values from
195 pcap_datalink() when reading pcap-ng files
196 Add support for "wlan ra" and "wlan ta", to check the RA and TA
197 of WLAN frames that have them
198 Don't crash if "wlan addr{1,2,3,4}" are used without 802.11
199 headers
200 Do filtering on USB and Bluetooth capturing
201 On FreeBSD/SPARC64, use -fPIC - it's apparently necessary
202 Check for valid port numbers (fit in a 16-bit unsigned field) in
203 "port" filters
204 Reject attempts to put savefiles into non-blocking mode
205 Check for "no such device" for the "get the media types" ioctl
206 in *BSD
207 Improve error messages from bpf_open(), and let it do the error
208 handling
209 Return more specific errors from pcap_can_set_rfmon(); fix
210 documentation
211 Update description fetching code for FreeBSD, fix code for
212 OpenBSD
213 Ignore /sys/net/dev files if we get ENODEV for them, not just
214 ENXIO; fixes handling of bonding devices on Linux
215 Fix check for a constant 0 argument to BPF_DIV
216 Use the right version of ar when cross-building
217 Free any filter set on a savefile when the savefile is closed
218 Include the CFLAGS setting when configure was run in the
219 compiler flags
220 Add support for 802.15.4 interfaces on Linux
221
222 Thu. April 1, 2010. guy@alum.mit.edu.
223 Summary for 1.1.1 libpcap release
224 Update CHANGES to reflect more of the changes in 1.1.0.
225 Fix build on RHEL5.
226 Fix shared library build on AIX.
227
228 Thu. March 11, 2010. ken@netfunctional.ca/guy@alum.mit.edu.
229 Summary for 1.1.0 libpcap release
230 Add SocketCAN capture support
231 Add Myricom SNF API support
232 Update Endace DAG and ERF support
233 Add support for shared libraries on Solaris, HP-UX, and AIX
234 Build, install, and un-install shared libraries by default;
235 don't build/install shared libraries on platforms we don't support
236 Fix building from a directory other than the source directory
237 Fix compiler warnings and builds on some platforms
238 Update config.guess and config.sub
239 Support monitor mode on mac80211 devices on Linux
240 Fix USB memory-mapped capturing on Linux; it requires a new DLT_
241 value
242 On Linux, scan /sys/class/net for devices if we have it; scan
243 it, or /proc/net/dev if we don't have /sys/class/net, even if
244 we have getifaddrs(), as it'll find interfaces with no
245 addresses
246 Add limited support for reading pcap-ng files
247 Fix BPF driver-loading error handling on AIX
248 Support getting the full-length interface description on FreeBSD
249 In the lexical analyzer, free up any addrinfo structure we got back
250 from getaddrinfo().
251 Add support for BPF and libdlpi in OpenSolaris (and SXCE)
252 Hyphenate "link-layer" everywhere
253 Add /sys/kernel/debug/usb/usbmon to the list of usbmon locations
254 In pcap_read_linux_mmap(), if there are no frames available, call
255 poll() even if we're in non-blocking mode, so we pick up
256 errors, and check for the errors in question.
257 Note that poll() works on BPF devices is Snow Leopard
258 If an ENXIO or ENETDOWN is received, it may mean the device has
259 gone away. Deal with it.
260 For BPF, raise the default capture buffer size to from 32k to 512k
261 Support ps_ifdrop on Linux
262 Added a bunch of #ifdef directives to make wpcap.dll (WinPcap) compile
263 under cygwin.
264 Changes to Linux mmapped captures.
265 Fix bug where create_ring would fail for particular snaplen and
266 buffer size combinations
267 Update pcap-config so that it handles libpcap requiring
268 additional libraries
269 Add workaround for threadsafeness on Windows
270 Add missing mapping for DLT_ENC <-> LINKTYPE_ENC
271 DLT: Add DLT_CAN_SOCKETCAN
272 DLT: Add Solaris ipnet
273 Don't check for DLT_IPNET if it's not defined
274 Add link-layer types for Fibre Channel FC-2
275 Add link-layer types for Wireless HART
276 Add link-layer types for AOS
277 Add link-layer types for DECT
278 Autoconf fixes (AIX, HP-UX, OSF/1, Tru64 cleanups)
279 Install headers unconditionally, and include vlan.h/bluetooth.h if
280 enabled
281 Autoconf fixes+cleanup
282 Support enabling/disabling bluetooth (--{en,dis}able-bluetooth)
283 Support disabling SITA support (--without-sita)
284 Return -1 on failure to create packet ring (if supported but
285 creation failed)
286 Fix handling of 'any' device, so that it can be opened, and no longer
287 attempt to open it in Monitor mode
288 Add support for snapshot length for USB Memory-Mapped Interface
289 Fix configure and build on recent Linux kernels
290 Fix memory-mapped Linux capture to support pcap_next() and
291 pcap_next_ex()
292 Fixes for Linux USB capture
293 DLT: Add DLT_LINUX_EVDEV
294 DLT: Add DLT_GSMTAP_UM
295 DLT: Add DLT_GSMTAP_ABIS
296
297 Mon. October 27, 2008. ken@netfunctional.ca. Summary for 1.0.0 libpcap release
298 Compile with IPv6 support by default
299 Compile with large file support on by default
300 Add pcap-config script, which deals with -I/-L flags for compiling
301 DLT: Add IPMB
302 DLT: Add LAPD
303 DLT: Add AX25 (AX.25 w/KISS header)
304 DLT: Add JUNIPER_ST
305 802.15.4 support
306 Variable length 802.11 header support
307 X2E data type support
308 SITA ACN Interface support - see README.sita
309 Support for memory-mapped capture on Linux
310 Support for zerocopy BPF on platforms that support it
311 Support for setting buffer size when opening devices
312 Support for setting monitor mode when opening 802.11 devices
313 Better support for dealing with VLAN tagging/stripping on Linux
314 Fix dynamic library support on OSX
315 Return PCAP_ERROR_IFACE_NOT_UP if the interface isn't 'UP', so applications
316 can print better diagnostic information
317 Return PCAP_ERROR_PERM_DENIED if we don't have permission to open a device, so
318 applications can tell the user they need to go play with permissions
319 On Linux, ignore ENETDOWN so we can continue to capture packets if the
320 interface goes down and comes back up again.
321 On Linux, support new tpacket frame headers (2.6.27+)
322 On Mac OS X, add scripts for changing permissions on /dev/bpf* and launchd plist
323 On Solaris, support 'passive mode' on systems that support it
324 Fixes to autoconf and general build environment
325 Man page reorganization + cleanup
326 Autogenerate VERSION numbers better
327
328 Mon. September 10, 2007. ken@xelerance.com. Summary for 0.9.8 libpcap release
329 Change build process to put public libpcap headers into pcap subir
330 DLT: Add value for IPMI IPMB packets
331 DLT: Add value for u10 Networks boards
332 Require <net/pfvar.h> for pf definitions - allows reading of pflog formatted
333 libpcap files on an OS other than where the file was generated
334
335 Wed. April 25, 2007. ken@xelerance.com. Summary for 0.9.6 libpcap release
336
337 Put the public libpcap headers into a pcap subdirectory in both the
338 source directory and the target include directory, and have include
339 files at the top-level directory to include those headers, for
340 backwards compatibility.
341 Add Bluetooth support
342 Add USB capturing support on Linux
343 Add support for the binary USB sniffing interface in Linux
344 Add support for new FreeBSD BIOCSDIRECTION ioctl
345 Add additional filter operations for 802.11 frame types
346 Add support for filtering on MTP2 frame types
347 Propagate some changes from the main branch, so the x.9 branch has
348 all the DLT_ and LINKTYPE_ values that the main branch does
349 Reserved a DLT_ and SAVEFILE_ value for PPI (Per Packet Info)
350 encapsulated packets
351 Add LINKTYPE_ for IEEE 802.15.4, with address fields padded as done
352 by Linux drivers
353 Add LINKTYPE_ value corresponding to DLT_IEEE802_16_MAC_CPS.
354 Add DLT for IEEE 802.16 (WiMAX) MAC Common Part Sublayer
355 Add DLT for Bluetooth HCI UART transport layer
356 When building a shared library, build with "-fPIC" on Linux to support x86_64
357 Link with "$(CC) -shared" rather than "ld -shared" when building a
358 ".so" shared library
359 Add support for autoconf 2.60
360 Fixes to discard unread packets when changing filters
361 Changes to handle name changes in the DAG library resulting from
362 switching to libtool.
363 Add support for new DAG ERF types.
364 Add an explicit "-ldag" when building the shared library, so the DAG
365 library dependency is explicit.
366 Mac OSX fixes for dealing with "wlt" devices
367 Fixes in add_or_find_if() & pcap_findalldevs() to optimize generating
368 device lists
369 Fixed a bug in pcap_open_live(). The return value of PacketSetHwFilter
370 was not checked.
371
372 Tue. September 19, 2006. ken@xelerance.com. Summary for 0.9.5 libpcap release
373
374 Support for LAPD frames with vISDN
375 Support for ERF on channelized T1/E1 cards via DAG API
376 Fix capitalization that caused issues crossc compiling on Linux
377 Better failure detection on PacketGetAdapterNames()
378 Fixes for MPLS packet generation (link layer)
379 OP_PACKET now matches the beginning of the packet, instead of
380 beginning+link-layer
381 Add DLT/LINKTYPE for carrying FRF.16 Multi-link Frame Relay
382 Fix allocation of buffer for list of link-layer types
383 Added a new DLT and LINKTYPE value for ARINC 653 Interpartition Communcation Messages
384 Fixed a typo in a DLT value: it should start with DLT_ and not LINKTYPE_
385 Redefined DLT_CAN20B and LINKTYPE_CAN20B as #190 (as this is the right value for CAN).
386 Added definition for DLT_A429 and LINKTYPE_A429 as #184.
387 Added a new DLT and LINKTYPE value for CAN v2.0B frames.
388 Add support for DLT_JUNIPER_VP.
389 Don't double-count received packets on Linux systems that
390 support the PACKET_STATISTICS getsockopt() argument on
391 PF_PACKET sockets.
392 Add support for DLT_IEEE802_11 and DLT_IEEE802_11_RADIO link
393 layers in Windows
394 Add support to build libpcap.lib and wpcap.dll under Cygnus and
395 MingW32.
396
397 Mon. September 5, 2005. ken@xelerance.com. Summary for 0.9.4 libpcap release
398
399 Support for radiotap on Linux (Mike Kershaw)
400 Fixes for HP-UX
401 Support for additional Juniper link-layer types
402 Fixes for filters on MPLS-encapsulated packets
403 "vlan" filter fixed
404 "pppoed" and "pppoes" filters added; the latter modifies later
405 parts of the filter expression to look at the PPP headers and
406 headers in the PPP payload
407
408 Tue. July 5, 2005. ken@xelerance.com. Summary for 0.9.3 libpcap release
409
410 Fixes for compiling on nearly every platform,
411 including improved 64bit support
412 MSDOS Support
413 Add support for sending packets
414 OpenBSD pf format support
415 IrDA capture (Linux only)
416
417 Tue. March 30, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.3 release
418
419 Fixed minor problem in gencode.c that would appear on 64-bit
420 platforms.
421 Version number is now sane.
422
423 Mon. March 29, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.2 release
424
425 updates for autoconf 2.5
426 fixes for ppp interfaces for freebsd 4.1
427 pcap gencode can generate code for 802.11, IEEE1394, and pflog.
428
429 Wed. November 12, 2003. mcr@sandelman.ottawa.on.ca. Summary for 0.8 release
430
431 added pcap_findalldevs()
432 Win32 patches from NetGroup, Politecnico di Torino (Italy)
433 OpenBSD pf, DLT_PFLOG added
434 Many changes to ATM support.
435 lookup pcap_lookupnet()
436 Added DLT_ARCNET_LINUX, DLT_ENC, DLT_IEEE802_11_RADIO, DLT_SUNATM,
437 DLT_IP_OVER_FC, DLT_FRELAY, others.
438 Sigh. More AIX wonderfulness.
439 Document updates.
440 Changes to API: pcap_next_ex(), pcap_breakloop(), pcap_dump_flush(),
441 pcap_list_datalinks(), pcap_set_datalink(),
442 pcap_lib_version(), pcap_datalink_val_to_name(),
443 pcap_datalink_name_to_val(), new error returns.
444
445 Tuesday, February 25, 2003. fenner@research.att.com. 0.7.2 release
446
447 Support link types that use 802.2 always, never, and sometimes.
448 Don't decrease the size of the BPF buffer from the default.
449 Support frame relay.
450 Handle 32-bit timestamps in DLPI, and pass the right buffer size.
451 Handle Linux systems with modern kernel but without
452 SOL_PACKET in the userland headers.
453 Linux support for ARPHRD_RAWHDLC.
454 Handle 32-bit timestamps in snoop.
455 Support eg (Octane/O2xxx/O3xxx Gigabit) devices.
456 Add new reserved DLT types.
457
458 Monday October 23, 2001. mcr@sandelman.ottawa.on.ca. Summary for 0.7 release
459
460 Added pcap_findalldevs() call to get list of interfaces in a MI way.
461
462 pcap_stats() has been documented as to what its counters mean on
463 each platform.
464
465 Tuesday January 9, 2001. guy@alum.mit.edu. Summary for 0.6 release
466
467 New Linux libpcap implementation, which, in 2.2 and later
468 kernels, uses PF_PACKET sockets and supports kernel packet
469 filtering (if compiled into the kernel), and supports the "any"
470 device for capturing on all interfaces. Cleans up promiscuous
471 mode better on pre-2.2 kernels, and has various other fixes
472 (handles 2.4 ARPHRD_IEEE802_TR, handles ISDN devices better,
473 doesn't show duplicate packets on loopback interface, etc.).
474
475 Fixed HP-UX libpcap implementation to correctly get the PPA for
476 an interface, to allow interfaces to be opened by interface name.
477
478 libpcap savefiles have system-independent link-layer type values
479 in the header, rather than sometimes platform-dependent DLT_
480 values, to make it easier to exchange capture files between
481 different OSes.
482
483 Non-standard capture files produced by some Linux tcpdumps, e.g.
484 the one from Red Hat Linux 6.2 and later, can now be read.
485
486 Updated autoconf stock files.
487
488 Filter expressions can filter on VLAN IDs and various OSI
489 protocols, and work on Token Ring (with non-source-routed
490 packets).
491
492 "pcap_open_dead()" added to allow compiling filter expressions
493 to pcap code without opening a capture device or capture file.
494
495 Header files fixed to allow use in C++ programs.
496
497 Removed dependancy on native headers for packet layout.
498 Removed Linux specific headers that were shipped.
499
500 Security fixes: Strcpy replaced with strlcpy, sprintf replaced
501 with snprintf.
502
503 Fixed bug that could cause subsequent "pcap_compile()"s to fail
504 erroneously after one compile failed.
505
506 Assorted other bug fixes.
507
508 README.aix and README.linux files added to describe
509 platform-specific issues.
510
511 "getifaddrs()" rather than SIOCGIFCONF used, if available.
512
513 v0.5 Sat Jun 10 11:09:15 PDT 2000
514
515 itojun@iijlab.net
516 - Brought in KAME IPv6/IPsec bpf compiler.
517 - Fixes for NetBSD.
518 - Support added for OpenBSD DLT_LOOP and BSD/OS DLT_C_HDLC (Cisco HDLC),
519 and changes to work around different BSDs having different DLT_ types
520 with the same numeric value.
521
522 Assar Westerlund <assar@sics.se>
523 - Building outside the source code tree fixed.
524 - Changed to write out time stamps with 32-bit seconds and microseconds
525 fields, regardless of whether those fields are 32 bits or 64 bits in
526 the OS's native "struct timeval".
527 - Changed "pcap_lookupdev()" to dynamically grow the buffer into which
528 the list of interfaces is read as necessary in order to hold the
529 entire list.
530
531 Greg Troxel <gdt@ir.bbn.com>
532 - Added a new "pcap_compile_nopcap()", which lets you compile a filter
533 expression into a BPF program without having an open live capture or
534 capture file.
535
536 v0.4 Sat Jul 25 12:40:09 PDT 1998
537
538 - Fix endian problem with DLT_NULL devices. From FreeBSD via Bill
539 Fenner (fenner@parc.xerox.com)
540
541 - Fix alignment problem with FDDI under DLPI. This was causing core
542 dumps under Solaris.
543
544 - Added configure options to disable flex and bison. Resulted from a
545 bug report by barnett@grymoire.crd.ge.com (Bruce Barnett). Also added
546 options to disable gcc and to force a particular packet capture type.
547
548 - Added support for Fore ATM interfaces (qaa and fa) under IRIX. Thanks
549 to John Hawkinson (jhawk@mit.edu)
550
551 - Change Linux PPP and SLIP to use DLT_RAW since the kernel does not
552 supply any "link layer" data.
553
554 - Change Linux to use SIOCGIFHWADDR ioctl to determine link layer type.
555 Thanks to Thomas Sailer (sailer@ife.ee.ethz.ch)
556
557 - Change IRIX PPP to use DLT_RAW since the kernel does not supply any
558 "link layer" data.
559
560 - Modified to support the new BSD/OS 2.1 PPP and SLIP link layer header
561 formats.
562
563 - Added some new SGI snoop interface types. Thanks to Steve Alexander
564 (sca@refugee.engr.sgi.com)
565
566 - Fixes for HP-UX 10.20 (which is similar to HP-UX 9). Thanks to
567 Richard Allen (ra@hp.is) and Steinar Haug (sthaug@nethelp.no)
568
569 - Fddi supports broadcast as reported by Jeff Macdonald
570 (jeff@iacnet.com). Also correct ieee802 and arcnet.
571
572 - Determine Linux pcap buffer size at run time or else it might not be
573 big enough for some interface types (e.g. FDDI). Thanks to Jes
574 Sorensen (Jes.Sorensen@cern.ch)
575
576 - Fix some linux alignment problems.
577
578 - Document promisc argument to pcap_open_live(). Reported by Ian Marsh
579 (ianm@sics.se)
580
581 - Support Metricom radio packets under Linux. Thanks to Kevin Lai
582 (laik@gunpowder.stanford.edu)
583
584 - Bind to interface name under Linux to avoid packets from multiple
585 interfaces on multi-homed hosts. Thanks to Kevin Lai
586 (laik@gunpowder.stanford.edu)
587
588 - Change L_SET to SEEK_SET for HP-UX. Thanks to Roland Roberts
589 (rroberts@muller.com)
590
591 - Fixed an uninitialized memory reference found by Kent Vander Velden
592 (graphix@iastate.edu)
593
594 - Fixed lex pattern for IDs to allow leading digits. As reported by
595 Theo de Raadt (deraadt@cvs.openbsd.org)
596
597 - Fixed Linux include file problems when using GNU libc.
598
599 - Ifdef ARPHRD_FDDI since not all versions of the Linux kernel have it.
600 Reported reported by Eric Jacksch (jacksch@tenebris.ca)
601
602 - Fixed bug in pcap_dispatch() that kept it from returning on packet
603 timeouts.
604
605 - Changed ISLOOPBACK() macro when IFF_LOOPBACK isn't available to check
606 for "lo" followed by an eos or digit (newer versions of Linux
607 apparently call the loopback "lo" instead of "lo0").
608
609 - Fixed Linux networking include files to use ints instead of longs to
610 avoid problems with 64 bit longs on the alpha. Thanks to Cristian
611 Gafton (gafton@redhat.com)
612
613 v0.3 Sat Nov 30 20:56:27 PST 1996
614
615 - Added Linux support.
616
617 - Fixed savefile bugs.
618
619 - Solaris x86 fix from Tim Rylance (t.rylance@elsevier.nl)
620
621 - Add support for bpf kernel port filters.
622
623 - Remove duplicate atalk protocol table entry. Thanks to Christian
624 Hopps (chopps@water.emich.edu)
625
626 - Fixed pcap_lookupdev() to ignore nonexistent devices. This was
627 reported to happen under BSD/OS by David Vincenzetti
628 (vince@cryptonet.it)
629
630 - Avoid solaris compiler warnings. Thanks to Bruce Barnett
631 (barnett@grymoire.crd.ge.com)
632
633 v0.2.1 Sun Jul 14 03:02:26 PDT 1996
634
635 - Fixes for HP-UX 10. Thanks in part to to Thomas Wolfram
636 (wolf@prz.tu-berlin.de) and Rick Jones (raj@hpisrdq.cup.hp.com)
637
638 - Added support for SINIX. Thanks to Andrej Borsenkow
639 (borsenkow.msk@sni.de)
640
641 - Fixes for AIX (although this system is not yet supported). Thanks to
642 John Hawkinson (jhawk@mit.edu)
643
644 - Use autoconf's idea of the top level directory in install targets.
645 Thanks to John Hawkinson.
646
647 - Add missing autoconf packet capture result message. Thanks to Bill
648 Fenner (fenner@parc.xerox.com)
649
650 - Fixed padding problems in the pf module.
651
652 - Fixed some more alignment problems on the alpha.
653
654 - Added explicit netmask support. Thanks to Steve Nuchia
655 (steve@research.oknet.com)
656
657 - Fixed to handle raw ip addresses such as 0.0.0.1 without "left
658 justifing"
659
660 - Add "sca" keyword (for DEC cluster services) as suggested by Terry
661 Kennedy (terry@spcvxa.spc.edu)
662
663 - Add "atalk" keyword as suggested by John Hawkinson.
664
665 - Add "igrp" keyword.
666
667 - Fixed HID definition in grammar.y to be a string, not a value.
668
669 - Use $CC when checking gcc version. Thanks to Carl Lindberg
670 (carl_lindberg@blacksmith.com)
671
672 - Removed obsolete reference to pcap_immediate() from the man page.
673 Michael Stolarchuk (mts@terminator.rs.itd.umich.edu)
674
675 - DLT_NULL has a 4 byte family header. Thanks to Jeffrey Honig
676 (jch@bsdi.com)
677
678 v0.2 Sun Jun 23 02:28:42 PDT 1996
679
680 - Add support for HP-UX. Resulted from code contributed by Tom Murray
681 (tmurray@hpindck.cup.hp.com) and Philippe-Andri Prindeville
682 (philipp@res.enst.fr)
683
684 - Update INSTALL with a reminder to install include files. Thanks to
685 Mark Andrews (mandrews@aw.sgi.com)
686
687 - Fix bpf compiler alignment bug on the alpha.
688
689 - Use autoconf to detect architectures that can't handle misaligned
690 accesses.
691
692 - Added loopback support for snoop. Resulted from report Steve
693 Alexander (sca@engr.sgi.com)
694
695 v0.1 Fri Apr 28 18:11:03 PDT 1995
696
697 - Fixed compiler and optimizer bugs. The BPF filter engine uses unsigned
698 comparison operators, while the code generator and optimizer assumed
699 signed semantics in several places. Thanks to Charlie Slater
700 (cslater@imatek.com) for pointing this out.
701
702 - Removed FDDI ifdef's, they aren't really needed. Resulted from report
703 by Gary Veum (veum@boa.gsfc.nasa.gov).
704
705 - Add pcap-null.c which allows offline use of libpcap on systems that
706 don't support live package capture. This feature resulting from a
707 request from Jan van Oorschot (j.p.m.voorschot@et.tudelft.nl).
708
709 - Make bpf_compile() reentrant. Fix thanks to Pascal Hennequin
710 (Pascal.Hennequin@hugo.int-evry.fr).
711
712 - Port to GNU autoconf.
713
714 - Fix pcap-dlpi.c to work with isdn. Resulted from report by Flemming
715 Johansen (fsj@csd.cri.dk).
716
717 - Handle multi-digit interface unit numbers (aka ppa's) under dlpi.
718 Resulted from report by Daniel Ehrlich (ehrlich@cse.psu.edu).
719
720 - Fix pcap-dlpi.c to work in non-promiscuous mode. Resulted from report
721 by Jeff Murphy (jcmurphy@acsu.buffalo.edu).
722
723 - Add support for "long jumps". Thanks to Jeffrey Mogul
724 (mogul@pa.dec.com).
725
726 - Fix minor problems when compiling with BDEBUG as noticed by Scott
727 Bertilson (scott@unet.umn.edu).
728
729 - Declare sys_errlist "const char *const" to avoid problems under
730 FreeBSD. Resulted from report by jher@eden.com.
731
732 v0.0.6 Fri Apr 28 04:07:13 PDT 1995
733
734 - Add missing variable declaration missing from 0.0.6
735
736 v0.0.5 Fri Apr 28 00:22:21 PDT 1995
737
738 - Workaround for problems when pcap_read() returns 0 due to the timeout
739 expiring.
740
741 v0.0.4 Thu Apr 20 20:41:48 PDT 1995
742
743 - Change configuration to not use gcc v2 flags with gcc v1.
744
745 - Fixed a bug in pcap_next(); if pcap_dispatch() returns 0, pcap_next()
746 should also return 0. Thanks to Richard Stevens (rstevens@noao.edu).
747
748 - Fixed configure to test for snoop before dlpi to avoid problems under
749 IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com).
750
751 - Hack around deficiency in Ultrix's make.
752
753 - Fix two bugs related to the Solaris pre-5.3.2 bufmod bug; handle
754 savefiles that have more than snapshot bytes of data in them (so we
755 can read old savefiles) and avoid writing such files.
756
757 - Added checkioctl which is used with gcc to check that the
758 "fixincludes" script has been run.
759
760 v0.0.3 Tue Oct 18 18:13:46 PDT 1994
761
762 - Fixed configure to test for snoop before dlpi to avoid problems under
763 IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com).
764
765 v0.0.2 Wed Oct 12 20:56:37 PDT 1994
766
767 - Implement timeout in the dlpi pcap_open_live(). Thanks to Richard
768 Stevens.
769
770 - Determine pcap link type from dlpi media type. Resulted from report
771 by Mahesh Jethanandani (mahesh@npix.com).
772
773 v0.0.1 Fri Jun 24 14:50:57 PDT 1994
774
775 - Fixed bug in nit_setflags() in pcap-snit.c. The streams ioctl timeout
776 wasn't being initialized sometimes resulting in an "NIOCSFLAGS:
777 Invalid argument" error under OSF/1. Reported by Matt Day
778 (mday@artisoft.com) and Danny Mitzel (dmitzel@whitney.hitc.com).
779
780 - Turn on FDDI support by default.
781
782 v0.0 Mon Jun 20 19:20:16 PDT 1994
783
784 - Initial release.
785
786 - Fixed bug with greater/less keywords, reported by Mark Andrews
787 (mandrews@alias.com).
788
789 - Fix bug where '|' was defined as BPF_AND instead of BPF_OR, reported
790 by Elan Amir (elan@leeb.cs.berkeley.edu).
791
792 - Machines with little-endian byte ordering are supported thanks to
793 Jeff Mogul.
794
795 - Add hack for version 2.3 savefiles which don't have caplen and len
796 swapped thanks to Vern Paxson.
797
798 - Added "&&" and "||" aliases for "and" and "or" thanks to Vern Paxson.
799
800 - Added length, inbound and outbound keywords.