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