

cpm -  check for network interfaces in promiscuous mode.

Copyright (c) Carnegie Mellon University 1994, 1995, 1996
Thursday Feb 3  1994	Release cpm.1.0
Friday   Dec 22 1995    Release cpm.1.1 - updates suggested by NASIRC
Thursday Feb 1  1996	Release cpm.1.2 - service mark usage updates

CERT(sm) Coordination Center
Software Engineering Institute
Carnegie Mellon University
Pittsburgh, PA 15213-3890
U.S.A.

CERT is a service mark of Carnegie Mellon University.


   This program is free software; you can distribute it and/or modify
   it as long as you retain the Carnegie Mellon copyright statement.

   It can be obtained via anonymous FTP from 
	ftp://info.cert.org:/pub/tools/cpm.tar.Z


   This program is distributed WITHOUT ANY WARRANTY; without the IMPLIED
   WARRANTY of merchantability or fitness for a particular purpose.

   This package contains:
       README
       MANIFEST
       cpm.1
       cpm.c

   To create cpm under SunOs, type:
   % cc -Bstatic -o cpm cpm.c 

   On machines that support dynamic loading, such as Sun's, the CERT
   staff recommends that programs be statically linked so that this
   feature is disabled.

   The CERT Coordination Center recommends that after you install cpm
   in your favorite directory, you take measures to ensure the
   integrity of the program by noting the size and checksums of the
   source code and resulting binary.


   The following is an example of the output of cpm and its exit status.

   Running cpm on a machine where both the lo0 and le0 interfaces are
   in promiscuous mode, under csh(1):

   % cpm
   2 network interfaces found:
     lo0: Normal
     le0: *** IN PROMISCUOUS MODE ***
   1 of them is in promiscuous mode.
   % echo $status
   1
   %

   Running cpm on a machine where no interfaces are in promiscuous 
   mode, under csh(1):

   % cpm
   2 network interfaces found:
     lo0: Normal
     le0: Normal
   0 of them are in promiscuous mode.
   % echo $status
   0
   %


