xref: /openbsd/lib/libpcap/CHANGES (revision 6d6dc666)
1*6d6dc666Slteo$OpenBSD: CHANGES,v 1.7 2014/04/11 04:08:58 lteo Exp $
2df930be7Sderaadt$NetBSD: CHANGES,v 1.2 1995/03/06 11:37:58 mycroft Exp $
3a9b0695fSjakob
4a9b0695fSjakobSun Oct 19 JST 1999  itojun@iijlab.net
5a9b0695fSjakob	* bring in KAME IPv6/IPsec bpf compiler.
6a9b0695fSjakob
7a9b0695fSjakobSometime in 1999
8a9b0695fSjakob	* tcpdump.org imported LBL 0.4
901efc7efSderaadt
1001efc7efSderaadtv0.4 Sat Jul 25 12:40:09 PDT 1998
1101efc7efSderaadt
1201efc7efSderaadt- Fix endian problem with DLT_NULL devices. From FreeBSD via Bill
1301efc7efSderaadt  Fenner (fenner@parc.xerox.com)
1401efc7efSderaadt
1501efc7efSderaadt- Fix alignment problem with FDDI under DLPI. This was causing core
1601efc7efSderaadt  dumps under Solaris.
1701efc7efSderaadt
1801efc7efSderaadt- Added configure options to disable flex and bison. Resulted from a
1901efc7efSderaadt  bug report by barnett@grymoire.crd.ge.com (Bruce Barnett). Also added
2001efc7efSderaadt  options to disable gcc and to force a particular packet capture type.
2101efc7efSderaadt
2201efc7efSderaadt- Added support for Fore ATM interfaces (qaa and fa) under IRIX. Thanks
2301efc7efSderaadt  to John Hawkinson (jhawk@mit.edu)
2401efc7efSderaadt
2501efc7efSderaadt- Change Linux PPP and SLIP to use DLT_RAW since the kernel does not
2601efc7efSderaadt  supply any "link layer" data.
2701efc7efSderaadt
2801efc7efSderaadt- Change Linux to use SIOCGIFHWADDR ioctl to determine link layer type.
2901efc7efSderaadt  Thanks to Thomas Sailer (sailer@ife.ee.ethz.ch)
3001efc7efSderaadt
3101efc7efSderaadt- Change IRIX PPP to use DLT_RAW since the kernel does not supply any
3201efc7efSderaadt  "link layer" data.
3301efc7efSderaadt
3401efc7efSderaadt- Modified to support the new BSD/OS 2.1 PPP and SLIP link layer header
3501efc7efSderaadt  formats.
3601efc7efSderaadt
3701efc7efSderaadt- Added some new SGI snoop interface types. Thanks to Steve Alexander
3801efc7efSderaadt  (sca@refugee.engr.sgi.com)
3901efc7efSderaadt
4001efc7efSderaadt- Fixes for HP-UX 10.20 (which is similar to HP-UX 9). Thanks to
4101efc7efSderaadt  Richard Allen (ra@hp.is) and Steinar Haug (sthaug@nethelp.no)
4201efc7efSderaadt
4301efc7efSderaadt- Fddi supports broadcast as reported by Jeff Macdonald
4401efc7efSderaadt  (jeff@iacnet.com). Also correct ieee802 and arcnet.
4501efc7efSderaadt
4601efc7efSderaadt- Determine Linux pcap buffer size at run time or else it might not be
4701efc7efSderaadt  big enough for some interface types (e.g. FDDI). Thanks to Jes
4801efc7efSderaadt  Sorensen (Jes.Sorensen@cern.ch)
4901efc7efSderaadt
5001efc7efSderaadt- Fix some linux alignment problems.
5101efc7efSderaadt
5201efc7efSderaadt- Document promisc argument to pcap_open_live(). Reported by Ian Marsh
5301efc7efSderaadt  (ianm@sics.se)
5401efc7efSderaadt
5501efc7efSderaadt- Support Metricom radio packets under Linux. Thanks to Kevin Lai
5601efc7efSderaadt  (laik@gunpowder.stanford.edu)
5701efc7efSderaadt
5801efc7efSderaadt- Bind to interface name under Linux to avoid packets from multiple
5901efc7efSderaadt  interfaces on multi-homed hosts. Thanks to Kevin Lai
6001efc7efSderaadt  (laik@gunpowder.stanford.edu)
6101efc7efSderaadt
6201efc7efSderaadt- Change L_SET to SEEK_SET for HP-UX. Thanks to Roland Roberts
6301efc7efSderaadt  (rroberts@muller.com)
6401efc7efSderaadt
6501efc7efSderaadt- Fixed an uninitialized memory reference found by Kent Vander Velden
6601efc7efSderaadt  (graphix@iastate.edu)
6701efc7efSderaadt
6801efc7efSderaadt- Fixed lex pattern for IDs to allow leading digits. As reported by
6901efc7efSderaadt  Theo de Raadt (deraadt@cvs.openbsd.org)
7001efc7efSderaadt
7101efc7efSderaadt- Fixed Linux include file problems when using GNU libc.
7201efc7efSderaadt
7301efc7efSderaadt- Ifdef ARPHRD_FDDI since not all versions of the Linux kernel have it.
7401efc7efSderaadt  Reported reported by Eric Jacksch (jacksch@tenebris.ca)
7501efc7efSderaadt
7601efc7efSderaadt- Fixed bug in pcap_dispatch() that kept it from returning on packet
7701efc7efSderaadt  timeouts.
7801efc7efSderaadt
7901efc7efSderaadt- Changed ISLOOPBACK() macro when IFF_LOOPBACK isn't available to check
8001efc7efSderaadt  for "lo" followed by an eos or digit (newer versions of Linux
8101efc7efSderaadt  apparently call the loopback "lo" instead of "lo0").
8201efc7efSderaadt
8301efc7efSderaadt- Fixed Linux networking include files to use ints instead of longs to
8401efc7efSderaadt  avoid problems with 64 bit longs on the alpha. Thanks to Cristian
8501efc7efSderaadt  Gafton (gafton@redhat.com)
8601efc7efSderaadt
8701efc7efSderaadtv0.3 Sat Nov 30 20:56:27 PST 1996
8801efc7efSderaadt
8901efc7efSderaadt- Added Linux support.
9001efc7efSderaadt
9101efc7efSderaadt- Fixed savefile bugs.
9201efc7efSderaadt
9301efc7efSderaadt- Solaris x86 fix from Tim Rylance (t.rylance@elsevier.nl)
9401efc7efSderaadt
9501efc7efSderaadt- Add support for bpf kernel port filters.
9601efc7efSderaadt
9701efc7efSderaadt- Remove duplicate atalk protocol table entry. Thanks to Christian
9801efc7efSderaadt  Hopps (chopps@water.emich.edu)
9901efc7efSderaadt
10001efc7efSderaadt- Fixed pcap_lookupdev() to ignore nonexistent devices. This was
10101efc7efSderaadt  reported to happen under BSD/OS by David Vincenzetti
10201efc7efSderaadt  (vince@cryptonet.it)
10301efc7efSderaadt
10401efc7efSderaadt- Avoid solaris compiler warnings. Thanks to Bruce Barnett
10501efc7efSderaadt  (barnett@grymoire.crd.ge.com)
10601efc7efSderaadt
10701efc7efSderaadtv0.2.1 Sun Jul 14 03:02:26 PDT 1996
10801efc7efSderaadt
10901efc7efSderaadt- Fixes for HP-UX 10. Thanks in part to to Thomas Wolfram
11001efc7efSderaadt  (wolf@prz.tu-berlin.de) and Rick Jones (raj@hpisrdq.cup.hp.com)
11101efc7efSderaadt
11201efc7efSderaadt- Added support for SINIX. Thanks to Andrej Borsenkow
11301efc7efSderaadt  (borsenkow.msk@sni.de)
11401efc7efSderaadt
11501efc7efSderaadt- Fixes for AIX (although this system is not yet supported). Thanks to
11601efc7efSderaadt  John Hawkinson (jhawk@mit.edu)
11701efc7efSderaadt
11801efc7efSderaadt- Use autoconf's idea of the top level directory in install targets.
11901efc7efSderaadt  Thanks to John Hawkinson.
12001efc7efSderaadt
12101efc7efSderaadt- Add missing autoconf packet capture result message. Thanks to Bill
12201efc7efSderaadt  Fenner (fenner@parc.xerox.com)
12301efc7efSderaadt
12401efc7efSderaadt- Fixed padding problems in the pf module.
12501efc7efSderaadt
12601efc7efSderaadt- Fixed some more alignment problems on the alpha.
12701efc7efSderaadt
12801efc7efSderaadt- Added explicit netmask support. Thanks to Steve Nuchia
12901efc7efSderaadt  (steve@research.oknet.com)
13001efc7efSderaadt
13101efc7efSderaadt- Fixed to handle raw ip addresses such as 0.0.0.1 without "left
13201efc7efSderaadt  justifing"
13301efc7efSderaadt
13401efc7efSderaadt- Add "sca" keyword (for DEC cluster services) as suggested by Terry
13501efc7efSderaadt  Kennedy (terry@spcvxa.spc.edu)
13601efc7efSderaadt
13701efc7efSderaadt- Add "atalk" keyword as suggested by John Hawkinson.
13801efc7efSderaadt
13901efc7efSderaadt- Add "igrp" keyword.
14001efc7efSderaadt
14101efc7efSderaadt- Fixed HID definition in grammar.y to be a string, not a value.
14201efc7efSderaadt
14301efc7efSderaadt- Use $CC when checking gcc version. Thanks to Carl Lindberg
14401efc7efSderaadt  (carl_lindberg@blacksmith.com)
14501efc7efSderaadt
14601efc7efSderaadt- Removed obsolete reference to pcap_immediate() from the man page.
14701efc7efSderaadt  Michael Stolarchuk (mts@terminator.rs.itd.umich.edu)
14801efc7efSderaadt
14901efc7efSderaadt- DLT_NULL has a 4 byte family header. Thanks to Jeffrey Honig
15001efc7efSderaadt  (jch@bsdi.com)
1519b113833Smickey
1529b113833Smickeyv0.2 Sun Jun 23 02:28:42 PDT 1996
1539b113833Smickey
1549b113833Smickey- Add support for HP-UX. Resulted from code contributed by Tom Murray
1559b113833Smickey  (tmurray@hpindck.cup.hp.com) and Philippe-Andri Prindeville
1569b113833Smickey  (philipp@res.enst.fr)
1579b113833Smickey
1589b113833Smickey- Update INSTALL with a reminder to install include files. Thanks to
1599b113833Smickey  Mark Andrews (mandrews@aw.sgi.com)
1609b113833Smickey
1619b113833Smickey- Fix bpf compiler alignment bug on the alpha.
1629b113833Smickey
1639b113833Smickey- Use autoconf to detect architectures that can't handle misaligned
1649b113833Smickey  accesses.
1659b113833Smickey
1669b113833Smickey- Added loopback support for snoop. Resulted from report Steve
1679b113833Smickey  Alexander (sca@engr.sgi.com)
1689b113833Smickey
1699b113833Smickeyv0.1 Fri Apr 28 18:11:03 PDT 1995
1709b113833Smickey
1719b113833Smickey- Fixed compiler and optimizer bugs.  The BPF filter engine uses unsigned
1729b113833Smickey  comparison operators, while the code generator and optimizer assumed
1739b113833Smickey  signed semantics in several places.  Thanks to Charlie Slater
1749b113833Smickey  (cslater@imatek.com) for pointing this out.
1759b113833Smickey
1769b113833Smickey- Removed FDDI ifdef's, they aren't really needed. Resulted from report
1779b113833Smickey  by Gary Veum (veum@boa.gsfc.nasa.gov).
1789b113833Smickey
1799b113833Smickey- Add pcap-null.c which allows offline use of libpcap on systems that
1809b113833Smickey  don't support live package capture. This feature resulting from a
1819b113833Smickey  request from Jan van Oorschot (j.p.m.voorschot@et.tudelft.nl).
1829b113833Smickey
1839b113833Smickey- Make bpf_compile() reentrant. Fix thanks to Pascal Hennequin
1849b113833Smickey  (Pascal.Hennequin@hugo.int-evry.fr).
1859b113833Smickey
1869b113833Smickey- Port to GNU autoconf.
1879b113833Smickey
1889b113833Smickey- Fix pcap-dlpi.c to work with isdn. Resulted from report by Flemming
1899b113833Smickey  Johansen (fsj@csd.cri.dk).
1909b113833Smickey
1919b113833Smickey- Handle multi-digit interface unit numbers (aka ppa's) under dlpi.
1929b113833Smickey  Resulted from report by Daniel Ehrlich (ehrlich@cse.psu.edu).
1939b113833Smickey
1949b113833Smickey- Fix pcap-dlpi.c to work in non-promiscuous mode. Resulted from report
1959b113833Smickey  by Jeff Murphy (jcmurphy@acsu.buffalo.edu).
1969b113833Smickey
1979b113833Smickey- Add support for "long jumps". Thanks to Jeffrey Mogul
1989b113833Smickey  (mogul@pa.dec.com).
1999b113833Smickey
2009b113833Smickey- Fix minor problems when compiling with BDEBUG as noticed by Scott
2019b113833Smickey  Bertilson (scott@unet.umn.edu).
2029b113833Smickey
2039b113833Smickey- Declare sys_errlist "const char *const" to avoid problems under
2049b113833Smickey  FreeBSD. Resulted from report by jher@eden.com.
2059b113833Smickey
2069b113833Smickeyv0.0.6 Fri Apr 28 04:07:13 PDT 1995
2079b113833Smickey
2089b113833Smickey- Add missing variable declaration missing from 0.0.6
2099b113833Smickey
2109b113833Smickeyv0.0.5 Fri Apr 28 00:22:21 PDT 1995
2119b113833Smickey
2129b113833Smickey- Workaround for problems when pcap_read() returns 0 due to the timeout
2139b113833Smickey  expiring.
2149b113833Smickey
2159b113833Smickeyv0.0.4 Thu Apr 20 20:41:48 PDT 1995
2169b113833Smickey
2179b113833Smickey- Change configuration to not use gcc v2 flags with gcc v1.
2189b113833Smickey
2199b113833Smickey- Fixed a bug in pcap_next(); if pcap_dispatch() returns 0, pcap_next()
2209b113833Smickey  should also return 0. Thanks to Richard Stevens (rstevens@noao.edu).
2219b113833Smickey
2229b113833Smickey- Fixed configure to test for snoop before dlpi to avoid problems under
2239b113833Smickey  IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com).
2249b113833Smickey
2259b113833Smickey- Hack around deficiency in Ultrix's make.
2269b113833Smickey
2279b113833Smickey- Fix two bugs related to the Solaris pre-5.3.2 bufmod bug; handle
2289b113833Smickey  savefiles that have more than snapshot bytes of data in them (so we
2299b113833Smickey  can read old savefiles) and avoid writing such files.
2309b113833Smickey
2319b113833Smickey- Added checkioctl which is used with gcc to check that the
2329b113833Smickey  "fixincludes" script has been run.
2339b113833Smickey
2349b113833Smickeyv0.0.3 Tue Oct 18 18:13:46 PDT 1994
2359b113833Smickey
2369b113833Smickey- Fixed configure to test for snoop before dlpi to avoid problems under
2379b113833Smickey  IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com).
2389b113833Smickey
2399b113833Smickeyv0.0.2 Wed Oct 12 20:56:37 PDT 1994
2409b113833Smickey
2419b113833Smickey- Implement timeout in the dlpi pcap_open_live(). Thanks to Richard
2429b113833Smickey  Stevens.
2439b113833Smickey
2449b113833Smickey- Determine pcap link type from dlpi media type. Resulted from report
2459b113833Smickey  by Mahesh Jethanandani (mahesh@npix.com).
2469b113833Smickey
2479b113833Smickeyv0.0.1 Fri Jun 24 14:50:57 PDT 1994
2489b113833Smickey
2499b113833Smickey- Fixed bug in nit_setflags() in pcap-snit.c. The streams ioctl timeout
2509b113833Smickey  wasn't being initialized sometimes resulting in an "NIOCSFLAGS:
2519b113833Smickey  Invalid argument" error under OSF/1. Reported by Matt Day
2529b113833Smickey  (mday@artisoft.com) and Danny Mitzel (dmitzel@whitney.hitc.com).
2539b113833Smickey
2549b113833Smickey- Turn on FDDI support by default.
255df930be7Sderaadt
256df930be7Sderaadtv0.0 Mon Jun 20 19:20:16 PDT 1994
257df930be7Sderaadt
258df930be7Sderaadt- Initial release.
259df930be7Sderaadt
260df930be7Sderaadt- Fixed bug with greater/less keywords, reported by Mark Andrews
261df930be7Sderaadt  (mandrews@alias.com).
262df930be7Sderaadt
263df930be7Sderaadt- Fix bug where '|' was defined as BPF_AND instead of BPF_OR, reported
264df930be7Sderaadt  by Elan Amir (elan@leeb.cs.berkeley.edu).
265df930be7Sderaadt
266df930be7Sderaadt- Machines with little-endian byte ordering are supported thanks to
267df930be7Sderaadt  Jeff Mogul.
268df930be7Sderaadt
269df930be7Sderaadt- Add hack for version 2.3 savefiles which don't have caplen and len
270df930be7Sderaadt  swapped thanks to Vern Paxson.
271df930be7Sderaadt
272df930be7Sderaadt- Added "&&" and "||" aliases for "and" and "or" thanks to Vern Paxson.
273df930be7Sderaadt
274df930be7Sderaadt- Added length, inbound and outbound keywords.
275