]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/libpcap/CHANGES
This commit was generated by cvs2svn to compensate for changes in r170256,
[FreeBSD/FreeBSD.git] / contrib / libpcap / CHANGES
1 @(#) $Header: /tcpdump/master/libpcap/CHANGES,v 1.59.2.8 2005/09/05 09:17:47 guy Exp $ (LBL)
2
3 Mon.    September 5, 2005.  ken@xelerance.com. Summary for 0.9.4 libpcap release
4
5         Support for radiotap on Linux (Mike Kershaw)
6         Fixes for HP-UX
7         Support for additional Juniper link-layer types
8         Fixes for filters on MPLS-encapsulated packets
9         "vlan" filter fixed
10         "pppoed" and "pppoes" filters added; the latter modifies later
11         parts of the filter expression to look at the PPP headers and
12         headers in the PPP payload
13
14 Tue.    July 5, 2005.  ken@xelerance.com. Summary for 0.9.3 libpcap release
15
16         Fixes for compiling on nearly every platform,
17                 including improved 64bit support
18         MSDOS Support
19         Add support for sending packets
20         OpenBSD pf format support
21         IrDA capture (Linux only)
22
23 Tue.   March 30, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.3 release
24
25         Fixed minor problem in gencode.c that would appear on 64-bit
26         platforms.
27         Version number is now sane.
28
29 Mon.   March 29, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.2 release
30
31         updates for autoconf 2.5
32         fixes for ppp interfaces for freebsd 4.1
33         pcap gencode can generate code for 802.11, IEEE1394, and pflog.
34
35 Wed.   November 12, 2003. mcr@sandelman.ottawa.on.ca. Summary for 0.8 release
36
37         added pcap_findalldevs()
38         Win32 patches from NetGroup, Politecnico di Torino (Italy)
39         OpenBSD pf, DLT_PFLOG added
40         Many changes to ATM support.
41         lookup pcap_lookupnet()
42         Added DLT_ARCNET_LINUX, DLT_ENC, DLT_IEEE802_11_RADIO, DLT_SUNATM,
43                 DLT_IP_OVER_FC, DLT_FRELAY, others.
44         Sigh.  More AIX wonderfulness.
45         Document updates.
46         Changes to API: pcap_next_ex(), pcap_breakloop(), pcap_dump_flush(),
47                         pcap_list_datalinks(), pcap_set_datalink(),
48                         pcap_lib_version(), pcap_datalink_val_to_name(),
49                         pcap_datalink_name_to_val(), new error returns.
50
51 Tuesday, February 25, 2003. fenner@research.att.com.  0.7.2 release
52
53         Support link types that use 802.2 always, never, and sometimes.
54         Don't decrease the size of the BPF buffer from the default.
55         Support frame relay.
56         Handle 32-bit timestamps in DLPI, and pass the right buffer size.
57         Handle Linux systems with modern kernel but without
58          SOL_PACKET in the userland headers.
59         Linux support for ARPHRD_RAWHDLC.
60         Handle 32-bit timestamps in snoop.
61         Support eg (Octane/O2xxx/O3xxx Gigabit) devices.
62         Add new reserved DLT types.
63
64 Monday October 23, 2001. mcr@sandelman.ottawa.on.ca. Summary for 0.7 release
65
66         Added pcap_findalldevs() call to get list of interfaces in a MI way.
67
68         pcap_stats() has been documented as to what its counters mean on
69         each platform.
70
71 Tuesday January 9, 2001. guy@alum.mit.edu. Summary for 0.6 release
72
73         New Linux libpcap implementation, which, in 2.2 and later
74         kernels, uses PF_PACKET sockets and supports kernel packet
75         filtering (if compiled into the kernel), and supports the "any"
76         device for capturing on all interfaces.  Cleans up promiscuous
77         mode better on pre-2.2 kernels, and has various other fixes
78         (handles 2.4 ARPHRD_IEEE802_TR, handles ISDN devices better,
79         doesn't show duplicate packets on loopback interface, etc.).
80
81         Fixed HP-UX libpcap implementation to correctly get the PPA for
82         an interface, to allow interfaces to be opened by interface name.
83
84         libpcap savefiles have system-independent link-layer type values
85         in the header, rather than sometimes platform-dependent DLT_
86         values, to make it easier to exchange capture files between
87         different OSes.
88
89         Non-standard capture files produced by some Linux tcpdumps, e.g.
90         the one from Red Hat Linux 6.2 and later, can now be read.
91
92         Updated autoconf stock files.
93
94         Filter expressions can filter on VLAN IDs and various OSI
95         protocols, and work on Token Ring (with non-source-routed
96         packets).
97
98         "pcap_open_dead()" added to allow compiling filter expressions
99         to pcap code without opening a capture device or capture file.
100
101         Header files fixed to allow use in C++ programs.
102
103         Removed dependancy on native headers for packet layout.
104         Removed Linux specific headers that were shipped.
105
106         Security fixes: Strcpy replaced with strlcpy, sprintf replaced
107         with snprintf.
108
109         Fixed bug that could cause subsequent "pcap_compile()"s to fail
110         erroneously after one compile failed.
111
112         Assorted other bug fixes.
113
114         README.aix and README.linux files added to describe
115         platform-specific issues.
116
117         "getifaddrs()" rather than SIOCGIFCONF used, if available.
118
119 v0.5 Sat Jun 10 11:09:15 PDT 2000
120
121 itojun@iijlab.net
122 - Brought in KAME IPv6/IPsec bpf compiler.
123 - Fixes for NetBSD.
124 - Support added for OpenBSD DLT_LOOP and BSD/OS DLT_C_HDLC (Cisco HDLC),
125   and changes to work around different BSDs having different DLT_ types
126   with the same numeric value.
127
128 Assar Westerlund  <assar@sics.se>
129 - Building outside the source code tree fixed.
130 - Changed to write out time stamps with 32-bit seconds and microseconds
131   fields, regardless of whether those fields are 32 bits or 64 bits in
132   the OS's native "struct timeval".
133 - Changed "pcap_lookupdev()" to dynamically grow the buffer into which
134   the list of interfaces is read as necessary in order to hold the
135   entire list.
136
137 Greg Troxel <gdt@ir.bbn.com>
138 - Added a new "pcap_compile_nopcap()", which lets you compile a filter
139   expression into a BPF program without having an open live capture or
140   capture file.
141
142 v0.4 Sat Jul 25 12:40:09 PDT 1998
143
144 - Fix endian problem with DLT_NULL devices. From FreeBSD via Bill
145   Fenner (fenner@parc.xerox.com)
146
147 - Fix alignment problem with FDDI under DLPI. This was causing core
148   dumps under Solaris.
149
150 - Added configure options to disable flex and bison. Resulted from a
151   bug report by barnett@grymoire.crd.ge.com (Bruce Barnett). Also added
152   options to disable gcc and to force a particular packet capture type.
153
154 - Added support for Fore ATM interfaces (qaa and fa) under IRIX. Thanks
155   to John Hawkinson (jhawk@mit.edu)
156
157 - Change Linux PPP and SLIP to use DLT_RAW since the kernel does not
158   supply any "link layer" data.
159
160 - Change Linux to use SIOCGIFHWADDR ioctl to determine link layer type.
161   Thanks to Thomas Sailer (sailer@ife.ee.ethz.ch)
162
163 - Change IRIX PPP to use DLT_RAW since the kernel does not supply any
164   "link layer" data.
165
166 - Modified to support the new BSD/OS 2.1 PPP and SLIP link layer header
167   formats.
168
169 - Added some new SGI snoop interface types. Thanks to Steve Alexander
170   (sca@refugee.engr.sgi.com)
171
172 - Fixes for HP-UX 10.20 (which is similar to HP-UX 9). Thanks to
173   Richard Allen (ra@hp.is) and Steinar Haug (sthaug@nethelp.no)
174
175 - Fddi supports broadcast as reported by Jeff Macdonald
176   (jeff@iacnet.com). Also correct ieee802 and arcnet.
177
178 - Determine Linux pcap buffer size at run time or else it might not be
179   big enough for some interface types (e.g. FDDI). Thanks to Jes
180   Sorensen (Jes.Sorensen@cern.ch)
181
182 - Fix some linux alignment problems.
183
184 - Document promisc argument to pcap_open_live(). Reported by Ian Marsh
185   (ianm@sics.se)
186
187 - Support Metricom radio packets under Linux. Thanks to Kevin Lai
188   (laik@gunpowder.stanford.edu)
189
190 - Bind to interface name under Linux to avoid packets from multiple
191   interfaces on multi-homed hosts. Thanks to Kevin Lai
192   (laik@gunpowder.stanford.edu)
193
194 - Change L_SET to SEEK_SET for HP-UX. Thanks to Roland Roberts
195   (rroberts@muller.com)
196
197 - Fixed an uninitialized memory reference found by Kent Vander Velden
198   (graphix@iastate.edu)
199
200 - Fixed lex pattern for IDs to allow leading digits. As reported by
201   Theo de Raadt (deraadt@cvs.openbsd.org)
202
203 - Fixed Linux include file problems when using GNU libc.
204
205 - Ifdef ARPHRD_FDDI since not all versions of the Linux kernel have it.
206   Reported reported by Eric Jacksch (jacksch@tenebris.ca)
207
208 - Fixed bug in pcap_dispatch() that kept it from returning on packet
209   timeouts.
210
211 - Changed ISLOOPBACK() macro when IFF_LOOPBACK isn't available to check
212   for "lo" followed by an eos or digit (newer versions of Linux
213   apparently call the loopback "lo" instead of "lo0").
214
215 - Fixed Linux networking include files to use ints instead of longs to
216   avoid problems with 64 bit longs on the alpha. Thanks to Cristian
217   Gafton (gafton@redhat.com)
218
219 v0.3 Sat Nov 30 20:56:27 PST 1996
220
221 - Added Linux support.
222
223 - Fixed savefile bugs.
224
225 - Solaris x86 fix from Tim Rylance (t.rylance@elsevier.nl)
226
227 - Add support for bpf kernel port filters.
228
229 - Remove duplicate atalk protocol table entry. Thanks to Christian
230   Hopps (chopps@water.emich.edu)
231
232 - Fixed pcap_lookupdev() to ignore nonexistent devices. This was
233   reported to happen under BSD/OS by David Vincenzetti
234   (vince@cryptonet.it)
235
236 - Avoid solaris compiler warnings. Thanks to Bruce Barnett
237   (barnett@grymoire.crd.ge.com)
238
239 v0.2.1 Sun Jul 14 03:02:26 PDT 1996
240
241 - Fixes for HP-UX 10. Thanks in part to to Thomas Wolfram
242   (wolf@prz.tu-berlin.de) and Rick Jones (raj@hpisrdq.cup.hp.com)
243
244 - Added support for SINIX. Thanks to Andrej Borsenkow
245   (borsenkow.msk@sni.de)
246
247 - Fixes for AIX (although this system is not yet supported). Thanks to
248   John Hawkinson (jhawk@mit.edu)
249
250 - Use autoconf's idea of the top level directory in install targets.
251   Thanks to John Hawkinson.
252
253 - Add missing autoconf packet capture result message. Thanks to Bill
254   Fenner (fenner@parc.xerox.com)
255
256 - Fixed padding problems in the pf module.
257
258 - Fixed some more alignment problems on the alpha.
259
260 - Added explicit netmask support. Thanks to Steve Nuchia
261   (steve@research.oknet.com)
262
263 - Fixed to handle raw ip addresses such as 0.0.0.1 without "left
264   justifing"
265
266 - Add "sca" keyword (for DEC cluster services) as suggested by Terry
267   Kennedy (terry@spcvxa.spc.edu)
268
269 - Add "atalk" keyword as suggested by John Hawkinson.
270
271 - Add "igrp" keyword.
272
273 - Fixed HID definition in grammar.y to be a string, not a value.
274
275 - Use $CC when checking gcc version. Thanks to Carl Lindberg
276   (carl_lindberg@blacksmith.com)
277
278 - Removed obsolete reference to pcap_immediate() from the man page.
279   Michael Stolarchuk (mts@terminator.rs.itd.umich.edu)
280
281 - DLT_NULL has a 4 byte family header. Thanks to Jeffrey Honig
282   (jch@bsdi.com)
283
284 v0.2 Sun Jun 23 02:28:42 PDT 1996
285
286 - Add support for HP-UX. Resulted from code contributed by Tom Murray
287   (tmurray@hpindck.cup.hp.com) and Philippe-Andri Prindeville
288   (philipp@res.enst.fr)
289
290 - Update INSTALL with a reminder to install include files. Thanks to
291   Mark Andrews (mandrews@aw.sgi.com)
292
293 - Fix bpf compiler alignment bug on the alpha.
294
295 - Use autoconf to detect architectures that can't handle misaligned
296   accesses.
297
298 - Added loopback support for snoop. Resulted from report Steve
299   Alexander (sca@engr.sgi.com)
300
301 v0.1 Fri Apr 28 18:11:03 PDT 1995
302
303 - Fixed compiler and optimizer bugs.  The BPF filter engine uses unsigned
304   comparison operators, while the code generator and optimizer assumed
305   signed semantics in several places.  Thanks to Charlie Slater
306   (cslater@imatek.com) for pointing this out.
307
308 - Removed FDDI ifdef's, they aren't really needed. Resulted from report
309   by Gary Veum (veum@boa.gsfc.nasa.gov).
310
311 - Add pcap-null.c which allows offline use of libpcap on systems that
312   don't support live package capture. This feature resulting from a
313   request from Jan van Oorschot (j.p.m.voorschot@et.tudelft.nl).
314
315 - Make bpf_compile() reentrant. Fix thanks to Pascal Hennequin
316   (Pascal.Hennequin@hugo.int-evry.fr).
317
318 - Port to GNU autoconf.
319
320 - Fix pcap-dlpi.c to work with isdn. Resulted from report by Flemming
321   Johansen (fsj@csd.cri.dk).
322
323 - Handle multi-digit interface unit numbers (aka ppa's) under dlpi.
324   Resulted from report by Daniel Ehrlich (ehrlich@cse.psu.edu).
325
326 - Fix pcap-dlpi.c to work in non-promiscuous mode. Resulted from report
327   by Jeff Murphy (jcmurphy@acsu.buffalo.edu).
328
329 - Add support for "long jumps". Thanks to Jeffrey Mogul
330   (mogul@pa.dec.com).
331
332 - Fix minor problems when compiling with BDEBUG as noticed by Scott
333   Bertilson (scott@unet.umn.edu).
334
335 - Declare sys_errlist "const char *const" to avoid problems under
336   FreeBSD. Resulted from report by jher@eden.com.
337
338 v0.0.6 Fri Apr 28 04:07:13 PDT 1995
339
340 - Add missing variable declaration missing from 0.0.6
341
342 v0.0.5 Fri Apr 28 00:22:21 PDT 1995
343
344 - Workaround for problems when pcap_read() returns 0 due to the timeout
345   expiring.
346
347 v0.0.4 Thu Apr 20 20:41:48 PDT 1995
348
349 - Change configuration to not use gcc v2 flags with gcc v1.
350
351 - Fixed a bug in pcap_next(); if pcap_dispatch() returns 0, pcap_next()
352   should also return 0. Thanks to Richard Stevens (rstevens@noao.edu).
353
354 - Fixed configure to test for snoop before dlpi to avoid problems under
355   IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com).
356
357 - Hack around deficiency in Ultrix's make.
358
359 - Fix two bugs related to the Solaris pre-5.3.2 bufmod bug; handle
360   savefiles that have more than snapshot bytes of data in them (so we
361   can read old savefiles) and avoid writing such files.
362
363 - Added checkioctl which is used with gcc to check that the
364   "fixincludes" script has been run.
365
366 v0.0.3 Tue Oct 18 18:13:46 PDT 1994
367
368 - Fixed configure to test for snoop before dlpi to avoid problems under
369   IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com).
370
371 v0.0.2 Wed Oct 12 20:56:37 PDT 1994
372
373 - Implement timeout in the dlpi pcap_open_live(). Thanks to Richard
374   Stevens.
375
376 - Determine pcap link type from dlpi media type. Resulted from report
377   by Mahesh Jethanandani (mahesh@npix.com).
378
379 v0.0.1 Fri Jun 24 14:50:57 PDT 1994
380
381 - Fixed bug in nit_setflags() in pcap-snit.c. The streams ioctl timeout
382   wasn't being initialized sometimes resulting in an "NIOCSFLAGS:
383   Invalid argument" error under OSF/1. Reported by Matt Day
384   (mday@artisoft.com) and Danny Mitzel (dmitzel@whitney.hitc.com).
385
386 - Turn on FDDI support by default.
387
388 v0.0 Mon Jun 20 19:20:16 PDT 1994
389
390 - Initial release.
391
392 - Fixed bug with greater/less keywords, reported by Mark Andrews
393   (mandrews@alias.com).
394
395 - Fix bug where '|' was defined as BPF_AND instead of BPF_OR, reported
396   by Elan Amir (elan@leeb.cs.berkeley.edu).
397
398 - Machines with little-endian byte ordering are supported thanks to
399   Jeff Mogul.
400
401 - Add hack for version 2.3 savefiles which don't have caplen and len
402   swapped thanks to Vern Paxson.
403
404 - Added "&&" and "||" aliases for "and" and "or" thanks to Vern Paxson.
405
406 - Added length, inbound and outbound keywords.