Results 1 to 3 of 3
I know it turns the NIC into promiscous mode and sucks all the information and displays them. But, my question is how to set a NIC to promiscous mode . ...
- 05-02-2003 #1Just Joined!
- Join Date
- May 2003
- Location
- vijayawada
- Posts
- 4
ethereal... how does it work..
I know it turns the NIC into promiscous mode and sucks all the information and displays them. But, my question is how to set a NIC to promiscous mode . . . . . . the implementation concept!!
Thats all
- 05-02-2003 #2Linux Newbie
- Join Date
- Apr 2003
- Location
- UK, Manchester
- Posts
- 147
ifconfig <interface> promisc
That turns the <interface> to promiscuous mode.
I would guess that ethereal does it a lower level than that though.
- 05-02-2003 #3Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
Ethereal probably uses the same socket ioctl that ifconfig does. However, it is important to note that promiscuous mode isn't what you use to suck packets from the interface; for that you mainly just use a raw socket. Promiscuous mode enables the NIC to pass all packets through to the kernel, even those that wasn't intended for your MAC address. That means that if you're using a switch, promiscuous makes no difference, but if you're using a hub, you can listen to other computers' conversations as well.


Reply With Quote
