LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-20-2017, 03:18 AM   #1
tprabhu1983
LQ Newbie
 
Registered: Jul 2012
Location: Singapore
Distribution: RedHat, Fedora, SuSE
Posts: 8

Rep: Reputation: Disabled
RHEL 7.3 (vM): Promiscuous mode auto enable/disable, why?


Objective: How to eradicate this “promiscuous mode auto-enable/disable” permanently and avoid seeing these messages in /var/log/messages: kernel: device eth0 entered promiscuous mode & kernel: device eth0 left promiscuous mode

I've referred below links before posting this thread:
http://www.linuxquestions.org/questi...s-mode-220940/
https://access.redhat.com/solutions/57310
https://access.redhat.com/solutions/26464

Platform: VMware Virtual Machine + RHEL 7.3
Issue Description:
Promiscuous mode auto-enable/disable and triggers the notification to dmesg and in-turn it feeds to /etc/syslog.conf
Our monitoring tool picks this alert from dmesg and also from /var/log/messages, but Red Hat is providing a solution to suppress these under /var/log/messages, and not under dmesg.
Monitoring tool is picking up this alert from dmesg and generating tickets.
If you ask me why this promiscuous mode being enabled and what was the cause of it, actually with the output of “ip link show eth0” promisc mode is not enabled, but we still see the monitoring ticket for the same.

Red Hat’s Reply:

1. is this information alert ?
Yes. This is an information alert.
2. if i add below line in /etc/rsyslog.conf. Ticket generation will be stopped ?
:msg, contains, "promiscuous mode" ~
The rsyslog filter will stop the message entering into syslog
3. do i have to restart rsyslog service after adding this ?
Yes. service restart will be required to reload the new configuration.
4. it means it should not make entry in dmesg itself?
dmesg is just a way to read the kernel ring buffer, the kernel buffer is also sent to syslog, anything in dmesg will also appear in syslog. There is no way to stop it in dmesg.
 
Old 02-20-2017, 09:30 AM   #2
NM04
Member
 
Registered: Jan 2011
Distribution: Back Track,Fedora,centos
Posts: 240

Rep: Reputation: 14
Hi,
First thing (by your description) is that you haven't executed anything command to stop it. Check all you interfaces by executing "ifconfig -all", this will also tell you the interface which is running in promiscuous mode. To stop it you should try "ifconfig 'interface name' -promisc" to disable promiscuous mode. The interface name could be either "eth0" for LAN or "wlan0" for wireless.

Also check for any sniffers running on the system, there is a possibility that sniffer is in operation, which is using the interface in promiscuous mode. If so, stop the sniffer. In case, need more help you are welcome.

Cheers!!
 
Old 02-20-2017, 10:25 PM   #3
tprabhu1983
LQ Newbie
 
Registered: Jul 2012
Location: Singapore
Distribution: RedHat, Fedora, SuSE
Posts: 8

Original Poster
Rep: Reputation: Disabled
@NM04,
Thanks for your reply.
I am having the output wherein it is customers confidential data which cannot be posted here.
However, we have verified it and it has been confirmed that no PROMISC flag in the ifconfig -all output.

As far as a sniffer concern, the engineer is not available today to check on that.
Q # If sniffers were enabled, whether I should be seeing the "promisc" with the "ifconfig -a"? If you say yes, then I have not seen the PROMISC flag from the output.

Even if the sniffers were enabled, that would have been a human initiated one, but we are facing this issue without enabling them that too on multiple servers.
 
  


Reply

Tags
linux, networking, security breach



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kvm - how to enable promiscuous mode? bangnagr Linux - Virtualization and Cloud 1 04-12-2015 05:10 AM
Enable/disable PAE in RHEL 6? glowin_orb Linux - Server 7 01-14-2011 06:50 PM
how i can dissable promiscuous mode in RHEL 5 (kernel 2.6 series) ashishshukla Linux - Security 3 09-26-2008 11:59 AM
how to disable promiscuous mode in RHEL jindalarpan Linux - Security 6 09-10-2008 12:34 PM
How can I disable auto poweroff screen in RHEL update 4 burak Linux - Desktop 5 07-03-2008 08:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration