]> The Tcpdump Group git mirrors - libpcap/blob - CHANGES
Another change from Debian.
[libpcap] / CHANGES
1 @(#) $Header: /tcpdump/master/libpcap/CHANGES,v 1.67.2.9 2008-12-23 20:14:12 guy Exp $ (LBL)
2
3 Tue. December 23, 2008. ken@netfunctional.ca. Summary for 1.0.1 libpcap release
4 Install headers unconditionally, and include vlan.h/bluetooth.h if enabled
5 Autoconf fixes+cleanup
6 Support enabling/disabling bluetooth (--{en,dis}able-bluetooth)
7 Support disabling SITA support (--without-sita)
8 Return -1 on failure to create packet ring (if supported but creation failed)
9 Fix handling of 'any' device, so that it can be opened, and no longer
10 attempt to open it in Monitor mode
11 Add support for snapshot length for USB Memory-Mapped Interface
12 Fix configure and build on recent Linux kernels
13 Fixes for Linux USB capture
14 DLT: Add DLT_LINUX_EVDEV
15 DLT: Add DLT_GSMTAP_UM
16 DLT: Add DLT_GSMTAP_ABIS
17
18 Mon. October 27, 2008. ken@netfunctional.ca. Summary for 1.0.0 libpcap release
19 Compile with IPv6 support by default
20 Compile with large file support on by default
21 Add pcap-config script, which deals with -I/-L flags for compiling
22 DLT: Add IPMB
23 DLT: Add LAPD
24 DLT: Add AX25 (AX.25 w/KISS header)
25 DLT: Add JUNIPER_ST
26 802.15.4 support
27 Variable length 802.11 header support
28 X2E data type support
29 SITA ACN Interface support - see README.sita
30 Support for memory-mapped capture on Linux
31 Support for zerocopy BPF on platforms that support it
32 Support for setting buffer size when opening devices
33 Support for setting monitor mode when opening 802.11 devices
34 Better support for dealing with VLAN tagging/stripping on Linux
35 Fix dynamic library support on OSX
36 Return PCAP_ERROR_IFACE_NOT_UP if the interface isn't 'UP', so applications
37 can print better diagnostic information
38 Return PCAP_ERROR_PERM_DENIED if we don't have permission to open a device, so
39 applications can tell the user they need to go play with permissions
40 On Linux, ignore ENETDOWN so we can continue to capture packets if the
41 interface goes down and comes back up again.
42 On Linux, support new tpacket frame headers (2.6.27+)
43 On Mac OS X, add scripts for changing permissions on /dev/bpf* and launchd plist
44 On Solaris, support 'passive mode' on systems that support it
45 Fixes to autoconf and general build environment
46 Man page reorganization + cleanup
47 Autogenerate VERSION numbers better
48
49 Mon. September 10, 2007. ken@xelerance.com. Summary for 0.9.8 libpcap release
50 Change build process to put public libpcap headers into pcap subir
51 DLT: Add value for IPMI IPMB packets
52 DLT: Add value for u10 Networks boards
53 Require <net/pfvar.h> for pf definitions - allows reading of pflog formatted
54 libpcap files on an OS other than where the file was generated
55
56 Wed. April 25, 2007. ken@xelerance.com. Summary for 0.9.6 libpcap release
57
58 Put the public libpcap headers into a pcap subdirectory in both the
59 source directory and the target include directory, and have include
60 files at the top-level directory to include those headers, for
61 backwards compatibility.
62 Add Bluetooth support
63 Add USB capturing support on Linux
64 Add support for the binary USB sniffing interface in Linux
65 Add support for new FreeBSD BIOCSDIRECTION ioctl
66 Add additional filter operations for 802.11 frame types
67 Add support for filtering on MTP2 frame types
68 Propagate some changes from the main branch, so the x.9 branch has
69 all the DLT_ and LINKTYPE_ values that the main branch does
70 Reserved a DLT_ and SAVEFILE_ value for PPI (Per Packet Info)
71 encapsulated packets
72 Add LINKTYPE_ for IEEE 802.15.4, with address fields padded as done
73 by Linux drivers
74 Add LINKTYPE_ value corresponding to DLT_IEEE802_16_MAC_CPS.
75 Add DLT for IEEE 802.16 (WiMAX) MAC Common Part Sublayer
76 Add DLT for Bluetooth HCI UART transport layer
77 When building a shared library, build with "-fPIC" on Linux to support x86_64
78 Link with "$(CC) -shared" rather than "ld -shared" when building a
79 ".so" shared library
80 Add support for autoconf 2.60
81 Fixes to discard unread packets when changing filters
82 Changes to handle name changes in the DAG library resulting from
83 switching to libtool.
84 Add support for new DAG ERF types.
85 Add an explicit "-ldag" when building the shared library, so the DAG
86 library dependency is explicit.
87 Mac OSX fixes for dealing with "wlt" devices
88 Fixes in add_or_find_if() & pcap_findalldevs() to optimize generating
89 device lists
90 Fixed a bug in pcap_open_live(). The return value of PacketSetHwFilter
91 was not checked.
92
93 Tue. September 19, 2006. ken@xelerance.com. Summary for 0.9.5 libpcap release
94
95 Support for LAPD frames with vISDN
96 Support for ERF on channelized T1/E1 cards via DAG API
97 Fix capitalization that caused issues crossc compiling on Linux
98 Better failure detection on PacketGetAdapterNames()
99 Fixes for MPLS packet generation (link layer)
100 OP_PACKET now matches the beginning of the packet, instead of
101 beginning+link-layer
102 Add DLT/LINKTYPE for carrying FRF.16 Multi-link Frame Relay
103 Fix allocation of buffer for list of link-layer types
104 Added a new DLT and LINKTYPE value for ARINC 653 Interpartition Communcation Messages
105 Fixed a typo in a DLT value: it should start with DLT_ and not LINKTYPE_
106 Redefined DLT_CAN20B and LINKTYPE_CAN20B as #190 (as this is the right value for CAN).
107 Added definition for DLT_A429 and LINKTYPE_A429 as #184.
108 Added a new DLT and LINKTYPE value for CAN v2.0B frames.
109 Add support for DLT_JUNIPER_VP.
110 Don't double-count received packets on Linux systems that
111 support the PACKET_STATISTICS getsockopt() argument on
112 PF_PACKET sockets.
113 Add support for DLT_IEEE802_11 and DLT_IEEE802_11_RADIO link
114 layers in Windows
115 Add support to build libpcap.lib and wpcap.dll under Cygnus and
116 MingW32.
117
118 Mon. September 5, 2005. ken@xelerance.com. Summary for 0.9.4 libpcap release
119
120 Support for radiotap on Linux (Mike Kershaw)
121 Fixes for HP-UX
122 Support for additional Juniper link-layer types
123 Fixes for filters on MPLS-encapsulated packets
124 "vlan" filter fixed
125 "pppoed" and "pppoes" filters added; the latter modifies later
126 parts of the filter expression to look at the PPP headers and
127 headers in the PPP payload
128
129 Tue. July 5, 2005. ken@xelerance.com. Summary for 0.9.3 libpcap release
130
131 Fixes for compiling on nearly every platform,
132 including improved 64bit support
133 MSDOS Support
134 Add support for sending packets
135 OpenBSD pf format support
136 IrDA capture (Linux only)
137
138 Tue. March 30, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.3 release
139
140 Fixed minor problem in gencode.c that would appear on 64-bit
141 platforms.
142 Version number is now sane.
143
144 Mon. March 29, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.2 release
145
146 updates for autoconf 2.5
147 fixes for ppp interfaces for freebsd 4.1
148 pcap gencode can generate code for 802.11, IEEE1394, and pflog.
149
150 Wed. November 12, 2003. mcr@sandelman.ottawa.on.ca. Summary for 0.8 release
151
152 added pcap_findalldevs()
153 Win32 patches from NetGroup, Politecnico di Torino (Italy)
154 OpenBSD pf, DLT_PFLOG added
155 Many changes to ATM support.
156 lookup pcap_lookupnet()
157 Added DLT_ARCNET_LINUX, DLT_ENC, DLT_IEEE802_11_RADIO, DLT_SUNATM,
158 DLT_IP_OVER_FC, DLT_FRELAY, others.
159 Sigh. More AIX wonderfulness.
160 Document updates.
161 Changes to API: pcap_next_ex(), pcap_breakloop(), pcap_dump_flush(),
162 pcap_list_datalinks(), pcap_set_datalink(),
163 pcap_lib_version(), pcap_datalink_val_to_name(),
164 pcap_datalink_name_to_val(), new error returns.
165
166 Tuesday, February 25, 2003. fenner@research.att.com. 0.7.2 release
167
168 Support link types that use 802.2 always, never, and sometimes.
169 Don't decrease the size of the BPF buffer from the default.
170 Support frame relay.
171 Handle 32-bit timestamps in DLPI, and pass the right buffer size.
172 Handle Linux systems with modern kernel but without
173 SOL_PACKET in the userland headers.
174 Linux support for ARPHRD_RAWHDLC.
175 Handle 32-bit timestamps in snoop.
176 Support eg (Octane/O2xxx/O3xxx Gigabit) devices.
177 Add new reserved DLT types.
178
179 Monday October 23, 2001. mcr@sandelman.ottawa.on.ca. Summary for 0.7 release
180
181 Added pcap_findalldevs() call to get list of interfaces in a MI way.
182
183 pcap_stats() has been documented as to what its counters mean on
184 each platform.
185
186 Tuesday January 9, 2001. guy@alum.mit.edu. Summary for 0.6 release
187
188 New Linux libpcap implementation, which, in 2.2 and later
189 kernels, uses PF_PACKET sockets and supports kernel packet
190 filtering (if compiled into the kernel), and supports the "any"
191 device for capturing on all interfaces. Cleans up promiscuous
192 mode better on pre-2.2 kernels, and has various other fixes
193 (handles 2.4 ARPHRD_IEEE802_TR, handles ISDN devices better,
194 doesn't show duplicate packets on loopback interface, etc.).
195
196 Fixed HP-UX libpcap implementation to correctly get the PPA for
197 an interface, to allow interfaces to be opened by interface name.
198
199 libpcap savefiles have system-independent link-layer type values
200 in the header, rather than sometimes platform-dependent DLT_
201 values, to make it easier to exchange capture files between
202 different OSes.
203
204 Non-standard capture files produced by some Linux tcpdumps, e.g.
205 the one from Red Hat Linux 6.2 and later, can now be read.
206
207 Updated autoconf stock files.
208
209 Filter expressions can filter on VLAN IDs and various OSI
210 protocols, and work on Token Ring (with non-source-routed
211 packets).
212
213 "pcap_open_dead()" added to allow compiling filter expressions
214 to pcap code without opening a capture device or capture file.
215
216 Header files fixed to allow use in C++ programs.
217
218 Removed dependancy on native headers for packet layout.
219 Removed Linux specific headers that were shipped.
220
221 Security fixes: Strcpy replaced with strlcpy, sprintf replaced
222 with snprintf.
223
224 Fixed bug that could cause subsequent "pcap_compile()"s to fail
225 erroneously after one compile failed.
226
227 Assorted other bug fixes.
228
229 README.aix and README.linux files added to describe
230 platform-specific issues.
231
232 "getifaddrs()" rather than SIOCGIFCONF used, if available.
233
234 v0.5 Sat Jun 10 11:09:15 PDT 2000
235
236 itojun@iijlab.net
237 - Brought in KAME IPv6/IPsec bpf compiler.
238 - Fixes for NetBSD.
239 - Support added for OpenBSD DLT_LOOP and BSD/OS DLT_C_HDLC (Cisco HDLC),
240 and changes to work around different BSDs having different DLT_ types
241 with the same numeric value.
242
243 Assar Westerlund <assar@sics.se>
244 - Building outside the source code tree fixed.
245 - Changed to write out time stamps with 32-bit seconds and microseconds
246 fields, regardless of whether those fields are 32 bits or 64 bits in
247 the OS's native "struct timeval".
248 - Changed "pcap_lookupdev()" to dynamically grow the buffer into which
249 the list of interfaces is read as necessary in order to hold the
250 entire list.
251
252 Greg Troxel <gdt@ir.bbn.com>
253 - Added a new "pcap_compile_nopcap()", which lets you compile a filter
254 expression into a BPF program without having an open live capture or
255 capture file.
256
257 v0.4 Sat Jul 25 12:40:09 PDT 1998
258
259 - Fix endian problem with DLT_NULL devices. From FreeBSD via Bill
260 Fenner (fenner@parc.xerox.com)
261
262 - Fix alignment problem with FDDI under DLPI. This was causing core
263 dumps under Solaris.
264
265 - Added configure options to disable flex and bison. Resulted from a
266 bug report by barnett@grymoire.crd.ge.com (Bruce Barnett). Also added
267 options to disable gcc and to force a particular packet capture type.
268
269 - Added support for Fore ATM interfaces (qaa and fa) under IRIX. Thanks
270 to John Hawkinson (jhawk@mit.edu)
271
272 - Change Linux PPP and SLIP to use DLT_RAW since the kernel does not
273 supply any "link layer" data.
274
275 - Change Linux to use SIOCGIFHWADDR ioctl to determine link layer type.
276 Thanks to Thomas Sailer (sailer@ife.ee.ethz.ch)
277
278 - Change IRIX PPP to use DLT_RAW since the kernel does not supply any
279 "link layer" data.
280
281 - Modified to support the new BSD/OS 2.1 PPP and SLIP link layer header
282 formats.
283
284 - Added some new SGI snoop interface types. Thanks to Steve Alexander
285 (sca@refugee.engr.sgi.com)
286
287 - Fixes for HP-UX 10.20 (which is similar to HP-UX 9). Thanks to
288 Richard Allen (ra@hp.is) and Steinar Haug (sthaug@nethelp.no)
289
290 - Fddi supports broadcast as reported by Jeff Macdonald
291 (jeff@iacnet.com). Also correct ieee802 and arcnet.
292
293 - Determine Linux pcap buffer size at run time or else it might not be
294 big enough for some interface types (e.g. FDDI). Thanks to Jes
295 Sorensen (Jes.Sorensen@cern.ch)
296
297 - Fix some linux alignment problems.
298
299 - Document promisc argument to pcap_open_live(). Reported by Ian Marsh
300 (ianm@sics.se)
301
302 - Support Metricom radio packets under Linux. Thanks to Kevin Lai
303 (laik@gunpowder.stanford.edu)
304
305 - Bind to interface name under Linux to avoid packets from multiple
306 interfaces on multi-homed hosts. Thanks to Kevin Lai
307 (laik@gunpowder.stanford.edu)
308
309 - Change L_SET to SEEK_SET for HP-UX. Thanks to Roland Roberts
310 (rroberts@muller.com)
311
312 - Fixed an uninitialized memory reference found by Kent Vander Velden
313 (graphix@iastate.edu)
314
315 - Fixed lex pattern for IDs to allow leading digits. As reported by
316 Theo de Raadt (deraadt@cvs.openbsd.org)
317
318 - Fixed Linux include file problems when using GNU libc.
319
320 - Ifdef ARPHRD_FDDI since not all versions of the Linux kernel have it.
321 Reported reported by Eric Jacksch (jacksch@tenebris.ca)
322
323 - Fixed bug in pcap_dispatch() that kept it from returning on packet
324 timeouts.
325
326 - Changed ISLOOPBACK() macro when IFF_LOOPBACK isn't available to check
327 for "lo" followed by an eos or digit (newer versions of Linux
328 apparently call the loopback "lo" instead of "lo0").
329
330 - Fixed Linux networking include files to use ints instead of longs to
331 avoid problems with 64 bit longs on the alpha. Thanks to Cristian
332 Gafton (gafton@redhat.com)
333
334 v0.3 Sat Nov 30 20:56:27 PST 1996
335
336 - Added Linux support.
337
338 - Fixed savefile bugs.
339
340 - Solaris x86 fix from Tim Rylance (t.rylance@elsevier.nl)
341
342 - Add support for bpf kernel port filters.
343
344 - Remove duplicate atalk protocol table entry. Thanks to Christian
345 Hopps (chopps@water.emich.edu)
346
347 - Fixed pcap_lookupdev() to ignore nonexistent devices. This was
348 reported to happen under BSD/OS by David Vincenzetti
349 (vince@cryptonet.it)
350
351 - Avoid solaris compiler warnings. Thanks to Bruce Barnett
352 (barnett@grymoire.crd.ge.com)
353
354 v0.2.1 Sun Jul 14 03:02:26 PDT 1996
355
356 - Fixes for HP-UX 10. Thanks in part to to Thomas Wolfram
357 (wolf@prz.tu-berlin.de) and Rick Jones (raj@hpisrdq.cup.hp.com)
358
359 - Added support for SINIX. Thanks to Andrej Borsenkow
360 (borsenkow.msk@sni.de)
361
362 - Fixes for AIX (although this system is not yet supported). Thanks to
363 John Hawkinson (jhawk@mit.edu)
364
365 - Use autoconf's idea of the top level directory in install targets.
366 Thanks to John Hawkinson.
367
368 - Add missing autoconf packet capture result message. Thanks to Bill
369 Fenner (fenner@parc.xerox.com)
370
371 - Fixed padding problems in the pf module.
372
373 - Fixed some more alignment problems on the alpha.
374
375 - Added explicit netmask support. Thanks to Steve Nuchia
376 (steve@research.oknet.com)
377
378 - Fixed to handle raw ip addresses such as 0.0.0.1 without "left
379 justifing"
380
381 - Add "sca" keyword (for DEC cluster services) as suggested by Terry
382 Kennedy (terry@spcvxa.spc.edu)
383
384 - Add "atalk" keyword as suggested by John Hawkinson.
385
386 - Add "igrp" keyword.
387
388 - Fixed HID definition in grammar.y to be a string, not a value.
389
390 - Use $CC when checking gcc version. Thanks to Carl Lindberg
391 (carl_lindberg@blacksmith.com)
392
393 - Removed obsolete reference to pcap_immediate() from the man page.
394 Michael Stolarchuk (mts@terminator.rs.itd.umich.edu)
395
396 - DLT_NULL has a 4 byte family header. Thanks to Jeffrey Honig
397 (jch@bsdi.com)
398
399 v0.2 Sun Jun 23 02:28:42 PDT 1996
400
401 - Add support for HP-UX. Resulted from code contributed by Tom Murray
402 (tmurray@hpindck.cup.hp.com) and Philippe-Andri Prindeville
403 (philipp@res.enst.fr)
404
405 - Update INSTALL with a reminder to install include files. Thanks to
406 Mark Andrews (mandrews@aw.sgi.com)
407
408 - Fix bpf compiler alignment bug on the alpha.
409
410 - Use autoconf to detect architectures that can't handle misaligned
411 accesses.
412
413 - Added loopback support for snoop. Resulted from report Steve
414 Alexander (sca@engr.sgi.com)
415
416 v0.1 Fri Apr 28 18:11:03 PDT 1995
417
418 - Fixed compiler and optimizer bugs. The BPF filter engine uses unsigned
419 comparison operators, while the code generator and optimizer assumed
420 signed semantics in several places. Thanks to Charlie Slater
421 (cslater@imatek.com) for pointing this out.
422
423 - Removed FDDI ifdef's, they aren't really needed. Resulted from report
424 by Gary Veum (veum@boa.gsfc.nasa.gov).
425
426 - Add pcap-null.c which allows offline use of libpcap on systems that
427 don't support live package capture. This feature resulting from a
428 request from Jan van Oorschot (j.p.m.voorschot@et.tudelft.nl).
429
430 - Make bpf_compile() reentrant. Fix thanks to Pascal Hennequin
431 (Pascal.Hennequin@hugo.int-evry.fr).
432
433 - Port to GNU autoconf.
434
435 - Fix pcap-dlpi.c to work with isdn. Resulted from report by Flemming
436 Johansen (fsj@csd.cri.dk).
437
438 - Handle multi-digit interface unit numbers (aka ppa's) under dlpi.
439 Resulted from report by Daniel Ehrlich (ehrlich@cse.psu.edu).
440
441 - Fix pcap-dlpi.c to work in non-promiscuous mode. Resulted from report
442 by Jeff Murphy (jcmurphy@acsu.buffalo.edu).
443
444 - Add support for "long jumps". Thanks to Jeffrey Mogul
445 (mogul@pa.dec.com).
446
447 - Fix minor problems when compiling with BDEBUG as noticed by Scott
448 Bertilson (scott@unet.umn.edu).
449
450 - Declare sys_errlist "const char *const" to avoid problems under
451 FreeBSD. Resulted from report by jher@eden.com.
452
453 v0.0.6 Fri Apr 28 04:07:13 PDT 1995
454
455 - Add missing variable declaration missing from 0.0.6
456
457 v0.0.5 Fri Apr 28 00:22:21 PDT 1995
458
459 - Workaround for problems when pcap_read() returns 0 due to the timeout
460 expiring.
461
462 v0.0.4 Thu Apr 20 20:41:48 PDT 1995
463
464 - Change configuration to not use gcc v2 flags with gcc v1.
465
466 - Fixed a bug in pcap_next(); if pcap_dispatch() returns 0, pcap_next()
467 should also return 0. Thanks to Richard Stevens (rstevens@noao.edu).
468
469 - Fixed configure to test for snoop before dlpi to avoid problems under
470 IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com).
471
472 - Hack around deficiency in Ultrix's make.
473
474 - Fix two bugs related to the Solaris pre-5.3.2 bufmod bug; handle
475 savefiles that have more than snapshot bytes of data in them (so we
476 can read old savefiles) and avoid writing such files.
477
478 - Added checkioctl which is used with gcc to check that the
479 "fixincludes" script has been run.
480
481 v0.0.3 Tue Oct 18 18:13:46 PDT 1994
482
483 - Fixed configure to test for snoop before dlpi to avoid problems under
484 IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com).
485
486 v0.0.2 Wed Oct 12 20:56:37 PDT 1994
487
488 - Implement timeout in the dlpi pcap_open_live(). Thanks to Richard
489 Stevens.
490
491 - Determine pcap link type from dlpi media type. Resulted from report
492 by Mahesh Jethanandani (mahesh@npix.com).
493
494 v0.0.1 Fri Jun 24 14:50:57 PDT 1994
495
496 - Fixed bug in nit_setflags() in pcap-snit.c. The streams ioctl timeout
497 wasn't being initialized sometimes resulting in an "NIOCSFLAGS:
498 Invalid argument" error under OSF/1. Reported by Matt Day
499 (mday@artisoft.com) and Danny Mitzel (dmitzel@whitney.hitc.com).
500
501 - Turn on FDDI support by default.
502
503 v0.0 Mon Jun 20 19:20:16 PDT 1994
504
505 - Initial release.
506
507 - Fixed bug with greater/less keywords, reported by Mark Andrews
508 (mandrews@alias.com).
509
510 - Fix bug where '|' was defined as BPF_AND instead of BPF_OR, reported
511 by Elan Amir (elan@leeb.cs.berkeley.edu).
512
513 - Machines with little-endian byte ordering are supported thanks to
514 Jeff Mogul.
515
516 - Add hack for version 2.3 savefiles which don't have caplen and len
517 swapped thanks to Vern Paxson.
518
519 - Added "&&" and "||" aliases for "and" and "or" thanks to Vern Paxson.
520
521 - Added length, inbound and outbound keywords.