• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Promiscuous mode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Promiscuous mode


  • Subject: Re: Promiscuous mode
  • From: "Justin C. Walker" <email@hidden>
  • Date: Mon, 12 Sep 2005 15:54:29 -0700


On Sep 12, 2005, at 12:09 , Guy Meyer wrote:

How do you turn on promiscuous mode from the command line for an ethernet device (if possible).

It's possible (tcpdump does it). AFAIK, there is no command to do just this (and, if you have multiple interfaces active, and forwarding enabled [e.g., if you are "sharing" an internet connection]), then you should be very careful if you do this (you will place duplicate packets on networks attached to the interface).


If you want to experiment, you can do something like "tcpdump src no- such-address". Then tcpdump will sit quietly, and the interface will be in promiscuous mode (you can verify this with ifconfig). The kernel will do a bit of work verifying that no packet matches the request, but it's not onerous.

Cf. the code for libpcap, which implements this capability, as used by tcpdump.

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for General Semantics
--------
It's not whether you win or lose...
It's whether *I* win or lose.
--------


_______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Promiscuous mode (From: Guy Meyer <email@hidden>)

  • Prev by Date: Re: Promiscuous mode
  • Next by Date: Re: Promiscuous mode
  • Previous by thread: Re: Promiscuous mode
  • Next by thread: Re: Promiscuous mode
  • Index(es):
    • Date
    • Thread