Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-16-2001, 07:50 PM
|
#1
|
LQ Newbie
Registered: Aug 2001
Posts: 19
Rep:
|
eth0 promiscuous mode
what does this mean??
eth0: Setting promiscuous mode.
device eth0 entered promiscuous mode
tcpdump: eth0: Setting promiscuous mode.
parse error
device eth0 left promiscuous mode
root@Lyris~# Sep 16 19:45:49 Lyris kernel: eth0: Setting promiscuous mode.
Sep 16 19:45:49 Lyris kernel: device eth0 entered promiscuous mode
Sep 16 19:45:49 Lyris kernel: eth0: Setting promiscuous mode.
Sep 16 19:45:49 Lyris kernel: device eth0 left promiscuous mode
|
|
|
09-16-2001, 08:14 PM
|
#2
|
Member
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986
Rep:
|
A little more information would help.
What distro and kernel version are you using?
What model of NIC do you have, and what module is it using?
Had the system been functioning correctly before you started getting the error?
Did you add/upgrade any software just prior to this happening?
|
|
|
09-16-2001, 08:22 PM
|
#3
|
LQ Newbie
Registered: Aug 2001
Posts: 19
Original Poster
Rep:
|
Well it is self compiled linux running 2.47 kernel and networked with 2 3com nics (3Com PCI 3c905 Boomerang 100baseTx) and ( 3Com PCI 3c905C Tornado) using module 3c59x for both...
I don't think they are errors, yet they keep poping up on the console.
Any idea !!!
|
|
|
09-16-2001, 09:09 PM
|
#4
|
Member
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986
Rep:
|
Actually, you're right. Messages is probably a better word than errors.
So these aren't bootup messages, but messages that just appear periodically on the console?
I don't have any direct experience with this, but I'll put a couple of ideas out here anyway:
How often does this happen? Does it seem random? When did it start happening?
Are you running any processes that might be doing this? Check your running processes by doing "ps -aux|more" and look for a likely suspect.
Are you running a packet sniffer on your network? That would toggle a NIC into promiscuous mode. For that matter, if your network been compromised, someone else may be running a packet sniffer on your machine.
Try a Google search using the console messages, or parts of them, as your search criteria.
|
|
|
09-16-2001, 09:31 PM
|
#5
|
Member
Registered: Aug 2001
Location: South Carolina, USA
Distribution: Redhat 8.0/Custom
Posts: 96
Rep:
|
syslogd
I sounds like you are getting these messages on your console because syslog isn't running or isn't set to put these messages in /dev/null or a file.
ps aux | grep syslog to make sure it's running
you may need to add
*.info;mail.none;authpriv.none
|
|
|
09-17-2001, 04:49 AM
|
#6
|
LQ Newbie
Registered: Aug 2001
Posts: 19
Original Poster
Rep:
|
Well,
I noticed everytime I use "tcpdump" I see it again, but not sure what they mean or if they appear on their own every now and then.
I don't know if they have to do particulary with "tcpdump" or a result of an error somewhere.
syslogd is runnning OK.
|
|
|
09-17-2001, 05:12 AM
|
#7
|
Member
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986
Rep:
|
tcpdump isn't responsible for the messages, it's just reporting them. I'll ask again:
- Have you checked your processes (ps -aux|more), and is anything running which might be toggling promisc mode on/off?
- When did the messages start to appear, and had you modified your system prior to that?
|
|
|
09-17-2001, 06:34 AM
|
#8
|
Member
Registered: Aug 2001
Location: Qc, Canada
Distribution: RedHat, Mandrake, FreeEOS
Posts: 336
Rep:
|
The promiscuous mode is a mode set for your nic card. On normal mode, the cards interprets packets only when is own MAC adress is solicitate, all other paquets on the network are discard. The promiscuous mode is used by protocol analyser, the card pass every packet on the net the third layer and so on to the application layer for software application.
In my believe, you must have installed a packet sniffer on your machine...
I think that you can turn it off, with modprobe, do man modprode and you can find the switch to turn off promiscuous mode.
|
|
|
09-17-2001, 11:35 AM
|
#9
|
Member
Registered: Aug 2001
Location: Qc, Canada
Distribution: RedHat, Mandrake, FreeEOS
Posts: 336
Rep:
|
Sorry, not modprope but ifconfig obviously the swith is -promisc
good luck
|
|
|
09-20-2001, 06:16 PM
|
#10
|
LQ Newbie
Registered: Aug 2001
Posts: 19
Original Poster
Rep:
|
sorry,
I have not had much time to look into it, but I will try your suggestion....
Thanks.
|
|
|
09-22-2001, 01:07 AM
|
#11
|
Member
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986
Rep:
|
Just to update:
After a little more research, I've found the following:
A review of /var/log/messages on my machine showed that a script (/usr/share/msec/promisc_check.sh) was being fired off as a cron job. Although it never printed messages to my screen, you might want to check it out.
BTW- I'm using Mandrake 8; the location of this script may be different in your distro.
Last edited by DMR; 09-22-2001 at 01:10 AM.
|
|
|
09-22-2001, 01:39 AM
|
#12
|
Member
Registered: Mar 2001
Location: India
Posts: 332
Rep:
|
Hi
Actually there is no problem in any of ur configurations..
tcpdump is a sniffer utility. whenever u run tcpdump the nic card will go to promiscuous mode to collect all the pactest moving in the wire. if u stop it the card will work in normal mode.
siddiqu.T
|
|
|
All times are GMT -5. The time now is 03:51 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|