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