LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   etho toggleing promiscuous mode (https://www.linuxquestions.org/questions/linux-networking-3/etho-toggleing-promiscuous-mode-369285/)

hardian_97 10-03-2005 03:56 AM

etho toggleing promiscuous mode
 
Hi all,

I checked my server using dmesg command and I found this message:
.
.
.
device eth0 entered promiscuous mode
device eth0 left promiscuous mode
device eth0 entered promiscuous mode
device eth0 left promiscuous mode
device eth0 entered promiscuous mode
device eth0 left promiscuous mode
device eth0 entered promiscuous mode
device eth0 left promiscuous mode
.
.
.

It is toggling all the time. It doesn't effect to network performance though. I tried to googled this problem and it was said that some sniffer program can caused this, such as tcpdump. But, I couldn't see any tcpdump running. I did using it before but not anymore.

Do you know how to find out which program that causing this eth0 toggling between entering and leaving promiscuous mode?

Thanks for your time and I'd appreciate your respond.

With kind regards,
Hardian
Jr. System Engineer

unSpawn 10-03-2005 08:21 AM

- make sure /var/log/messages is the log the messages arrive in, else choose other log,
- install latest Chkrootkit(.org), run chkrootkit to be on the safe side, find location of "ifpromisc" binary
then as root run:
Code:

tail -f /var/log/messages|grep -qie "promisc" &&  /path/to/ifpromisc
It will die after the first hit and show a message "interface_name: PF_PACKET(/path/name)"
where "/path/name" is a binary who puts the interface in promisc mode.

JakeX 03-28-2006 10:49 AM

I'm also plauged with this promisc mode on my eth0, I'll try the above mentioned. As I've ran chkrootkit scans and all come back negative, firewall is fine... device keeps going promisc, and I haven't used tcpdump on there :|


All times are GMT -5. The time now is 11:52 PM.