]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Many UN*Xes come with libpcap, so you might not have to install
authorguy <guy>
Fri, 15 Jun 2007 20:10:17 +0000 (20:10 +0000)
committerguy <guy>
Fri, 15 Jun 2007 20:10:17 +0000 (20:10 +0000)
tcpdump.org's libpcap in order to build tcpdump.org's tcpdump (the
configure script doesn't assume the latest version of libpcap, so it
should be possible to build tcpdump with older versions of libpcap).

By default, tcpdump is installed with universal execute permissions, and
no special privileges; that way, anybody can use it to read a capture.

Remove the comments about capture permissions, as it applies only to
systems using BPF.  The tcpdump man page gives the gory details of
capture permissions; refer users there.

Remove the comment about libpcap; it's in the libpcap INSTALL.txt, where
it belongs.

INSTALL

diff --git a/INSTALL b/INSTALL
index 091e509ced391fc71aa27dc3fc2d8d9e941d001e..b4e2d5edfd3073fb0d577a1c358f8638a69e2476 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -1,7 +1,11 @@
-@(#) $Header: /tcpdump/master/tcpdump/Attic/INSTALL,v 1.63.2.4 2005-09-20 06:05:35 guy Exp $ (LBL)
+@(#) $Header: /tcpdump/master/tcpdump/Attic/INSTALL,v 1.63.2.5 2007-06-15 20:10:17 guy Exp $ (LBL)
 
-If you have not built libpcap, do so first.  See the README
-file in this directory for the ftp location.
+If you have not built libpcap, and your system does not have libpcap
+installed, install libpcap first.  Your system might provide a version
+of libpcap that can be installed; if so, to compile tcpdump you might
+need to install a "developer" version of libpcap as well as the
+"run-time" version.  You can also install tcpdump.org's version of
+libpcap; see the README file in this directory for the ftp location.
 
 You will need an ANSI C compiler to build tcpdump. The configure script
 will abort if your compiler is not ANSI compliant. If this happens, use
@@ -15,21 +19,18 @@ directory), run ./configure (a shell script).  "configure" will
 determine your system attributes and generate an appropriate Makefile
 from Makefile.in.  Now build tcpdump by running "make".
 
-If everything builds ok, su and type "make install". This will install
-tcpdump and the manual entry. By default, tcpdump is installed with
-group execute permissions. The group used depends on your os. In
-addition, BPF packet access is controlled by permissions to
-/dev/bpf0. In any case, DO NOT give untrusted users the capability of
-running tcpdump. Tcpdump can capture any traffic on your net,
-including passwords.
+If everything builds ok, su and type "make install".  This will install
+tcpdump and the manual entry.  Any user will be able to use tcpdump to
+read saved captures.  Whether a user will be able to capture traffic
+depends on the OS and the configuration of the system; see the tcpdump
+man page for details.  DO NOT give untrusted users the ability to
+capture traffic.  If a user can capture traffic, he or she could use
+utilities such as tcpdump to capture any traffic on your net, including
+passwords.
 
 Note that most systems ship tcpdump, but usually an older version.
 Remember to remove or rename the installed binary when upgrading.
 
-If you use Linux, this version of libpcap is known to compile and run
-with 2.0.25 and more modern, and 2.2 and later, kernels.  It is
-guaranteed not to work with 1.X kernels.
-
 If your system is not one which we have tested tcpdump on, you may have
 to modify the configure script and Makefile.in. Please send us patches
 for any modifications you need to make.