xref: /freebsd/contrib/libpcap/CHANGES (revision a4b5b39fceb979079417d4dcb6e9e9443874ccdb)
1a4b5b39fSBill Fenner@(#) $Header: CHANGES,v 1.47 98/07/25 12:40:16 leres Exp $ (LBL)
2a4b5b39fSBill Fenner
3a4b5b39fSBill Fennerv0.4 Sat Jul 25 12:40:09 PDT 1998
4a4b5b39fSBill Fenner
5a4b5b39fSBill Fenner- Fix endian problem with DLT_NULL devices. From FreeBSD via Bill
6a4b5b39fSBill Fenner  Fenner (fenner@parc.xerox.com)
7a4b5b39fSBill Fenner
8a4b5b39fSBill Fenner- Fix alignment problem with FDDI under DLPI. This was causing core
9a4b5b39fSBill Fenner  dumps under Solaris.
10a4b5b39fSBill Fenner
11a4b5b39fSBill Fenner- Added configure options to disable flex and bison. Resulted from a
12a4b5b39fSBill Fenner  bug report by barnett@grymoire.crd.ge.com (Bruce Barnett). Also added
13a4b5b39fSBill Fenner  options to disable gcc and to force a particular packet capture type.
14a4b5b39fSBill Fenner
15a4b5b39fSBill Fenner- Added support for Fore ATM interfaces (qaa and fa) under IRIX. Thanks
16a4b5b39fSBill Fenner  to John Hawkinson (jhawk@mit.edu)
17a4b5b39fSBill Fenner
18a4b5b39fSBill Fenner- Change Linux PPP and SLIP to use DLT_RAW since the kernel does not
19a4b5b39fSBill Fenner  supply any "link layer" data.
20a4b5b39fSBill Fenner
21a4b5b39fSBill Fenner- Change Linux to use SIOCGIFHWADDR ioctl to determine link layer type.
22a4b5b39fSBill Fenner  Thanks to Thomas Sailer (sailer@ife.ee.ethz.ch)
23a4b5b39fSBill Fenner
24a4b5b39fSBill Fenner- Change IRIX PPP to use DLT_RAW since the kernel does not supply any
25a4b5b39fSBill Fenner  "link layer" data.
26a4b5b39fSBill Fenner
27a4b5b39fSBill Fenner- Modified to support the new BSD/OS 2.1 PPP and SLIP link layer header
28a4b5b39fSBill Fenner  formats.
29a4b5b39fSBill Fenner
30a4b5b39fSBill Fenner- Added some new SGI snoop interface types. Thanks to Steve Alexander
31a4b5b39fSBill Fenner  (sca@refugee.engr.sgi.com)
32a4b5b39fSBill Fenner
33a4b5b39fSBill Fenner- Fixes for HP-UX 10.20 (which is similar to HP-UX 9). Thanks to
34a4b5b39fSBill Fenner  Richard Allen (ra@hp.is) and Steinar Haug (sthaug@nethelp.no)
35a4b5b39fSBill Fenner
36a4b5b39fSBill Fenner- Fddi supports broadcast as reported by Jeff Macdonald
37a4b5b39fSBill Fenner  (jeff@iacnet.com). Also correct ieee802 and arcnet.
38a4b5b39fSBill Fenner
39a4b5b39fSBill Fenner- Determine Linux pcap buffer size at run time or else it might not be
40a4b5b39fSBill Fenner  big enough for some interface types (e.g. FDDI). Thanks to Jes
41a4b5b39fSBill Fenner  Sorensen (Jes.Sorensen@cern.ch)
42a4b5b39fSBill Fenner
43a4b5b39fSBill Fenner- Fix some linux alignment problems.
44a4b5b39fSBill Fenner
45a4b5b39fSBill Fenner- Document promisc argument to pcap_open_live(). Reported by Ian Marsh
46a4b5b39fSBill Fenner  (ianm@sics.se)
47a4b5b39fSBill Fenner
48a4b5b39fSBill Fenner- Support Metricom radio packets under Linux. Thanks to Kevin Lai
49a4b5b39fSBill Fenner  (laik@gunpowder.stanford.edu)
50a4b5b39fSBill Fenner
51a4b5b39fSBill Fenner- Bind to interface name under Linux to avoid packets from multiple
52a4b5b39fSBill Fenner  interfaces on multi-homed hosts. Thanks to Kevin Lai
53a4b5b39fSBill Fenner  (laik@gunpowder.stanford.edu)
54a4b5b39fSBill Fenner
55a4b5b39fSBill Fenner- Change L_SET to SEEK_SET for HP-UX. Thanks to Roland Roberts
56a4b5b39fSBill Fenner  (rroberts@muller.com)
57a4b5b39fSBill Fenner
58a4b5b39fSBill Fenner- Fixed an uninitialized memory reference found by Kent Vander Velden
59a4b5b39fSBill Fenner  (graphix@iastate.edu)
60a4b5b39fSBill Fenner
61a4b5b39fSBill Fenner- Fixed lex pattern for IDs to allow leading digits. As reported by
62a4b5b39fSBill Fenner  Theo de Raadt (deraadt@cvs.openbsd.org)
63a4b5b39fSBill Fenner
64a4b5b39fSBill Fenner- Fixed Linux include file problems when using GNU libc.
65a4b5b39fSBill Fenner
66a4b5b39fSBill Fenner- Ifdef ARPHRD_FDDI since not all versions of the Linux kernel have it.
67a4b5b39fSBill Fenner  Reported reported by Eric Jacksch (jacksch@tenebris.ca)
68a4b5b39fSBill Fenner
69a4b5b39fSBill Fenner- Fixed bug in pcap_dispatch() that kept it from returning on packet
70a4b5b39fSBill Fenner  timeouts.
71a4b5b39fSBill Fenner
72a4b5b39fSBill Fenner- Changed ISLOOPBACK() macro when IFF_LOOPBACK isn't available to check
73a4b5b39fSBill Fenner  for "lo" followed by an eos or digit (newer versions of Linux
74a4b5b39fSBill Fenner  apparently call the loopback "lo" instead of "lo0").
75a4b5b39fSBill Fenner
76a4b5b39fSBill Fenner- Fixed Linux networking include files to use ints instead of longs to
77a4b5b39fSBill Fenner  avoid problems with 64 bit longs on the alpha. Thanks to Cristian
78a4b5b39fSBill Fenner  Gafton (gafton@redhat.com)
793052b236SBill Fenner
803052b236SBill Fennerv0.3 Sat Nov 30 20:56:27 PST 1996
813052b236SBill Fenner
823052b236SBill Fenner- Added Linux support.
833052b236SBill Fenner
843052b236SBill Fenner- Fixed savefile bugs.
853052b236SBill Fenner
863052b236SBill Fenner- Solaris x86 fix from Tim Rylance (t.rylance@elsevier.nl)
873052b236SBill Fenner
883052b236SBill Fenner- Add support for bpf kernel port filters.
893052b236SBill Fenner
903052b236SBill Fenner- Remove duplicate atalk protocol table entry. Thanks to Christian
913052b236SBill Fenner  Hopps (chopps@water.emich.edu)
923052b236SBill Fenner
933052b236SBill Fenner- Fixed pcap_lookupdev() to ignore nonexistent devices. This was
943052b236SBill Fenner  reported to happen under BSD/OS by David Vincenzetti
953052b236SBill Fenner  (vince@cryptonet.it)
963052b236SBill Fenner
973052b236SBill Fenner- Avoid solaris compiler warnings. Thanks to Bruce Barnett
983052b236SBill Fenner  (barnett@grymoire.crd.ge.com)
998cf6c252SPaul Traina
1008cf6c252SPaul Trainav0.2.1 Sun Jul 14 03:02:26 PDT 1996
1018cf6c252SPaul Traina
1028cf6c252SPaul Traina- Fixes for HP-UX 10. Thanks in part to to Thomas Wolfram
1038cf6c252SPaul Traina  (wolf@prz.tu-berlin.de) and Rick Jones (raj@hpisrdq.cup.hp.com)
1048cf6c252SPaul Traina
1058cf6c252SPaul Traina- Added support for SINIX. Thanks to Andrej Borsenkow
1068cf6c252SPaul Traina  (borsenkow.msk@sni.de)
1078cf6c252SPaul Traina
1088cf6c252SPaul Traina- Fixes for AIX (although this system is not yet supported). Thanks to
1098cf6c252SPaul Traina  John Hawkinson (jhawk@mit.edu)
1108cf6c252SPaul Traina
1118cf6c252SPaul Traina- Use autoconf's idea of the top level directory in install targets.
1128cf6c252SPaul Traina  Thanks to John Hawkinson.
1138cf6c252SPaul Traina
1148cf6c252SPaul Traina- Add missing autoconf packet capture result message. Thanks to Bill
1158cf6c252SPaul Traina  Fenner (fenner@parc.xerox.com)
1168cf6c252SPaul Traina
1178cf6c252SPaul Traina- Fixed padding problems in the pf module.
1188cf6c252SPaul Traina
1198cf6c252SPaul Traina- Fixed some more alignment problems on the alpha.
1208cf6c252SPaul Traina
1218cf6c252SPaul Traina- Added explicit netmask support. Thanks to Steve Nuchia
1228cf6c252SPaul Traina  (steve@research.oknet.com)
1238cf6c252SPaul Traina
1248cf6c252SPaul Traina- Fixed to handle raw ip addresses such as 0.0.0.1 without "left
1258cf6c252SPaul Traina  justifing"
1268cf6c252SPaul Traina
1278cf6c252SPaul Traina- Add "sca" keyword (for DEC cluster services) as suggested by Terry
1288cf6c252SPaul Traina  Kennedy (terry@spcvxa.spc.edu)
1298cf6c252SPaul Traina
1308cf6c252SPaul Traina- Add "atalk" keyword as suggested by John Hawkinson.
1318cf6c252SPaul Traina
1328cf6c252SPaul Traina- Add "igrp" keyword.
1338cf6c252SPaul Traina
1348cf6c252SPaul Traina- Fixed HID definition in grammar.y to be a string, not a value.
1358cf6c252SPaul Traina
1368cf6c252SPaul Traina- Use $CC when checking gcc version. Thanks to Carl Lindberg
1378cf6c252SPaul Traina  (carl_lindberg@blacksmith.com)
1388cf6c252SPaul Traina
1398cf6c252SPaul Traina- Removed obsolete reference to pcap_immediate() from the man page.
1408cf6c252SPaul Traina  Michael Stolarchuk (mts@terminator.rs.itd.umich.edu)
1418cf6c252SPaul Traina
1428cf6c252SPaul Traina- DLT_NULL has a 4 byte family header. Thanks to Jeffrey Honig
1438cf6c252SPaul Traina  (jch@bsdi.com)
1448cf6c252SPaul Traina
1458cf6c252SPaul Trainav0.2 Sun Jun 23 02:28:42 PDT 1996
1468cf6c252SPaul Traina
1478cf6c252SPaul Traina- Add support for HP-UX. Resulted from code contributed by Tom Murray
1488cf6c252SPaul Traina  (tmurray@hpindck.cup.hp.com) and Philippe-Andri Prindeville
1498cf6c252SPaul Traina  (philipp@res.enst.fr)
1508cf6c252SPaul Traina
1518cf6c252SPaul Traina- Update INSTALL with a reminder to install include files. Thanks to
1528cf6c252SPaul Traina  Mark Andrews (mandrews@aw.sgi.com)
1538cf6c252SPaul Traina
1548cf6c252SPaul Traina- Fix bpf compiler alignment bug on the alpha.
1558cf6c252SPaul Traina
1568cf6c252SPaul Traina- Use autoconf to detect architectures that can't handle misaligned
1578cf6c252SPaul Traina  accesses.
1588cf6c252SPaul Traina
1598cf6c252SPaul Traina- Added loopback support for snoop. Resulted from report Steve
1608cf6c252SPaul Traina  Alexander (sca@engr.sgi.com)
1618cf6c252SPaul Traina
1628cf6c252SPaul Trainav0.1 Fri Apr 28 18:11:03 PDT 1995
1638cf6c252SPaul Traina
1648cf6c252SPaul Traina- Fixed compiler and optimizer bugs.  The BPF filter engine uses unsigned
1658cf6c252SPaul Traina  comparison operators, while the code generator and optimizer assumed
1668cf6c252SPaul Traina  signed semantics in several places.  Thanks to Charlie Slater
1678cf6c252SPaul Traina  (cslater@imatek.com) for pointing this out.
1688cf6c252SPaul Traina
1698cf6c252SPaul Traina- Removed FDDI ifdef's, they aren't really needed. Resulted from report
1708cf6c252SPaul Traina  by Gary Veum (veum@boa.gsfc.nasa.gov).
1718cf6c252SPaul Traina
1728cf6c252SPaul Traina- Add pcap-null.c which allows offline use of libpcap on systems that
1738cf6c252SPaul Traina  don't support live package capture. This feature resulting from a
1748cf6c252SPaul Traina  request from Jan van Oorschot (j.p.m.voorschot@et.tudelft.nl).
1758cf6c252SPaul Traina
1768cf6c252SPaul Traina- Make bpf_compile() reentrant. Fix thanks to Pascal Hennequin
1778cf6c252SPaul Traina  (Pascal.Hennequin@hugo.int-evry.fr).
1788cf6c252SPaul Traina
1798cf6c252SPaul Traina- Port to GNU autoconf.
1808cf6c252SPaul Traina
1818cf6c252SPaul Traina- Fix pcap-dlpi.c to work with isdn. Resulted from report by Flemming
1828cf6c252SPaul Traina  Johansen (fsj@csd.cri.dk).
1838cf6c252SPaul Traina
1848cf6c252SPaul Traina- Handle multi-digit interface unit numbers (aka ppa's) under dlpi.
1858cf6c252SPaul Traina  Resulted from report by Daniel Ehrlich (ehrlich@cse.psu.edu).
1868cf6c252SPaul Traina
1878cf6c252SPaul Traina- Fix pcap-dlpi.c to work in non-promiscuous mode. Resulted from report
1888cf6c252SPaul Traina  by Jeff Murphy (jcmurphy@acsu.buffalo.edu).
1898cf6c252SPaul Traina
1908cf6c252SPaul Traina- Add support for "long jumps". Thanks to Jeffrey Mogul
1918cf6c252SPaul Traina  (mogul@pa.dec.com).
1928cf6c252SPaul Traina
1938cf6c252SPaul Traina- Fix minor problems when compiling with BDEBUG as noticed by Scott
1948cf6c252SPaul Traina  Bertilson (scott@unet.umn.edu).
1958cf6c252SPaul Traina
1968cf6c252SPaul Traina- Declare sys_errlist "const char *const" to avoid problems under
1978cf6c252SPaul Traina  FreeBSD. Resulted from report by jher@eden.com.
1988cf6c252SPaul Traina
1998cf6c252SPaul Trainav0.0.6 Fri Apr 28 04:07:13 PDT 1995
2008cf6c252SPaul Traina
2018cf6c252SPaul Traina- Add missing variable declaration missing from 0.0.6
2028cf6c252SPaul Traina
2038cf6c252SPaul Trainav0.0.5 Fri Apr 28 00:22:21 PDT 1995
2048cf6c252SPaul Traina
2058cf6c252SPaul Traina- Workaround for problems when pcap_read() returns 0 due to the timeout
2068cf6c252SPaul Traina  expiring.
2078cf6c252SPaul Traina
2088cf6c252SPaul Trainav0.0.4 Thu Apr 20 20:41:48 PDT 1995
2098cf6c252SPaul Traina
2108cf6c252SPaul Traina- Change configuration to not use gcc v2 flags with gcc v1.
2118cf6c252SPaul Traina
2128cf6c252SPaul Traina- Fixed a bug in pcap_next(); if pcap_dispatch() returns 0, pcap_next()
2138cf6c252SPaul Traina  should also return 0. Thanks to Richard Stevens (rstevens@noao.edu).
2148cf6c252SPaul Traina
2158cf6c252SPaul Traina- Fixed configure to test for snoop before dlpi to avoid problems under
2168cf6c252SPaul Traina  IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com).
2178cf6c252SPaul Traina
2188cf6c252SPaul Traina- Hack around deficiency in Ultrix's make.
2198cf6c252SPaul Traina
2208cf6c252SPaul Traina- Fix two bugs related to the Solaris pre-5.3.2 bufmod bug; handle
2218cf6c252SPaul Traina  savefiles that have more than snapshot bytes of data in them (so we
2228cf6c252SPaul Traina  can read old savefiles) and avoid writing such files.
2238cf6c252SPaul Traina
2248cf6c252SPaul Traina- Added checkioctl which is used with gcc to check that the
2258cf6c252SPaul Traina  "fixincludes" script has been run.
2268cf6c252SPaul Traina
2278cf6c252SPaul Trainav0.0.3 Tue Oct 18 18:13:46 PDT 1994
2288cf6c252SPaul Traina
2298cf6c252SPaul Traina- Fixed configure to test for snoop before dlpi to avoid problems under
2308cf6c252SPaul Traina  IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com).
2318cf6c252SPaul Traina
2328cf6c252SPaul Trainav0.0.2 Wed Oct 12 20:56:37 PDT 1994
2338cf6c252SPaul Traina
2348cf6c252SPaul Traina- Implement timeout in the dlpi pcap_open_live(). Thanks to Richard
2358cf6c252SPaul Traina  Stevens.
2368cf6c252SPaul Traina
2378cf6c252SPaul Traina- Determine pcap link type from dlpi media type. Resulted from report
2388cf6c252SPaul Traina  by Mahesh Jethanandani (mahesh@npix.com).
2398cf6c252SPaul Traina
2408cf6c252SPaul Trainav0.0.1 Fri Jun 24 14:50:57 PDT 1994
2418cf6c252SPaul Traina
2428cf6c252SPaul Traina- Fixed bug in nit_setflags() in pcap-snit.c. The streams ioctl timeout
2438cf6c252SPaul Traina  wasn't being initialized sometimes resulting in an "NIOCSFLAGS:
2448cf6c252SPaul Traina  Invalid argument" error under OSF/1. Reported by Matt Day
2458cf6c252SPaul Traina  (mday@artisoft.com) and Danny Mitzel (dmitzel@whitney.hitc.com).
2468cf6c252SPaul Traina
2478cf6c252SPaul Traina- Turn on FDDI support by default.
2488cf6c252SPaul Traina
2498cf6c252SPaul Trainav0.0 Mon Jun 20 19:20:16 PDT 1994
2508cf6c252SPaul Traina
2518cf6c252SPaul Traina- Initial release.
2528cf6c252SPaul Traina
2538cf6c252SPaul Traina- Fixed bug with greater/less keywords, reported by Mark Andrews
2548cf6c252SPaul Traina  (mandrews@alias.com).
2558cf6c252SPaul Traina
2568cf6c252SPaul Traina- Fix bug where '|' was defined as BPF_AND instead of BPF_OR, reported
2578cf6c252SPaul Traina  by Elan Amir (elan@leeb.cs.berkeley.edu).
2588cf6c252SPaul Traina
2598cf6c252SPaul Traina- Machines with little-endian byte ordering are supported thanks to
2608cf6c252SPaul Traina  Jeff Mogul.
2618cf6c252SPaul Traina
2628cf6c252SPaul Traina- Add hack for version 2.3 savefiles which don't have caplen and len
2638cf6c252SPaul Traina  swapped thanks to Vern Paxson.
2648cf6c252SPaul Traina
2658cf6c252SPaul Traina- Added "&&" and "||" aliases for "and" and "or" thanks to Vern Paxson.
2668cf6c252SPaul Traina
2678cf6c252SPaul Traina- Added length, inbound and outbound keywords.
268