Re: checking promiscuous mode

1999-05-02 Thread Heikki Vatiainen
Eugene Sevinian [EMAIL PROTECTED] wrote:
 Hi, ppl,
 Does anybody know how to test whether the network card
 set to promiscuous mode. It is supposed to run it from
 cron.

Just last week I tried a little program called ifstatus on
Solaris. The program is designed to run from cron so that only if
an interface is in promiscuous mode, it will print out a warning
message. Here is a snippet from its manual page:

DESCRIPTION
 Ifstatus checks all network interfaces on  the  system,  and
 reports any that are in debug or promiscuous mode, which may
 be a sign of unauthorized access to the system.

You can get it from
 ftp://coast.cs.purdue.edu /pub/tools/unix/ifstatus/

When you compile it for Linux you need to edit Makefile like this:

-- cut here 

--- Makefile.orig   Mon Sep 21 14:38:43 1998
+++ MakefileMon May  3 00:33:03 1999
@@ -43,8 +43,8 @@
 #  SUNOS55 -lkvm -lelf -lnsl -lsocket
 #  SUNOS56 -lkvm -lelf -lnsl -lsocket
 #
-OSNAME=SUNOS55
-LIBS=  -lkvm -lelf -lnsl -lsocket
+OSNAME=BSD
+LIBS=# -lkvm -lelf -lnsl -lsocket
 
 #
 # Change BINDIR, MANDIR, and MANSUF if you want.  They are used with the

-- cut here 

That is, change SUNOS55 to BSD and comment out any libraries.

 Thanks,

No problem.

 Eugene Sevinian

// Heikki
-- 
Heikki Vatiainen  * [EMAIL PROTECTED]
Tampere University of Technology  * Tampere, Finland



checking promiscuous mode

1999-05-01 Thread Eugene Sevinian
Hi, ppl,
Does anybody know how to test whether the network card
set to promiscuous mode. It is supposed to run it from
cron.

Thanks,

Eugene Sevinian


CRD, YerPhI, 375036, Armenia
URL: http://crdlx5.yerphi.am/
Phone: 374-2-344873


Re: checking promiscuous mode

1999-05-01 Thread Jim B
You would see the promiscuous flag in the device configuration when you run
ifconfig.

If it's not there, it's not running in promiscuous mode.

ifconfig -a

or

ifconfig device


- Original Message -
From: Eugene Sevinian [EMAIL PROTECTED]
To: debian-user@lists.debian.org
Sent: Saturday, May 01, 1999 3:44 PM
Subject: checking promiscuous mode


 Hi, ppl,
 Does anybody know how to test whether the network card
 set to promiscuous mode. It is supposed to run it from
 cron.

 Thanks,

 Eugene Sevinian

 
 CRD, YerPhI, 375036, Armenia
 URL: http://crdlx5.yerphi.am/
 Phone: 374-2-344873


 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] 
/dev/null