Results 1 to 3 of 3
Hi, all:
The physical network interface card should drop the packets if it doesn't match the MAC address of the NIC. In my PC, however, the packets which shoud be ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-21-2011 #1Just Joined!
- Join Date
- Nov 2011
- Posts
- 28
I suspect that my NIC is working in hybridization mode?
Hi, all:
The physical network interface card should drop the packets if it doesn't match the MAC address of the NIC. In my PC, however, the packets which shoud be dropped trigger the interrupt function of my own driver and are recieved as skb to be transfered to the upper layer!
Why? How should I do to filter the packets at physical layer? I suspect that my NIC is working in hybridization mode?
Notes: my platform is linux 3.0.4 on x86.
li,kunlun
- 11-21-2011 #2Just Joined!
- Join Date
- Nov 2011
- Posts
- 28
- 11-22-2011 #3Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,680
You can verify if the device is in promiscuous mode with:
If is is, you'll see it like this:Code:ip addr show dev ETH_N
you can disable promiscuous mode with:Code:3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,PROMISC,UP> mtu 1500 qdisc mq state DOWN qlen 1000
Code:ifconfig ETH_N -promisc


Reply With Quote

