


CPM(1)                   USER COMMANDS                     CPM(1)



NAME
     cpm - check promiscuous mode for all network interfaces

SYNOPSIS
     cpm

DESCRIPTION
     Cpm checks whether any network interface on  a  host  is  in
     promiscuous  mode.  Cpm uses standard BSD Unix socket(2) and
     ioctl(2) system calls to  determine  a  system's  configured
     network  interfaces, and to check whether any of the network
     interfaces are currently in promiscuous mode.

     Cpm prints the interface name of any interface(s) that is in
     promiscuous  mode,  to  stdout,  and  returns  the number of
     discovered promiscuous interfaces as its  exit  status.   No
     special privileges are required to invoke cpm.

SEE ALSO
     socket(2), ioctl(2)

BUGS
     This software relies on socket(2) and  ioctl(2)  calls  that
     support  the  SIOCGIFCONF requests.  This should be portable
     to all SunOS versions prior to  4.1.3,  and  many  BSD  Unix
     derived platforms.





























CERT Coordination Center  Last change: Thu Feb 3 1994                  1



