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