Set port promiscuous mode: ifconfig eth0 Promisc
Set promiscuous ifconfig Eth0-promisc cancel promiscuous
There are 4 modes of network card operation, namely:
Broadcast (broadcast) mode
Multicast (multicast) mode
Unicast mode (Unicast)
Promiscuous mode (promiscuous).
#注释:
The NIC in promiscuous mode can receive all the data through it, regardless of whether the data destination address is it. If the operating mode of the network card is set to "promiscuous mode" by the program, then the NIC will accept all the data frames that flow through it, which is actually the basic principle of sniffer work: Let the NIC receive all the data he can receive. Sniffer is a kind of software that can set the state of the local network card into promiscuous (promiscuous) state, when the network card is in this "promiscuous" mode, the network card has "broadcast address", it is to all encountered every data frame A hardware interrupt is generated to remind the operating system to process every packet that flows through the physical media. Visible, sniffer work in the network environment of the bottom, it will intercept all the data that is being transmitted on the network, and through the corresponding software processing, can analyze the content of these data in real-time, and then analyze the network status and overall layout.
PS: Xiao Kee
IP route del 169.254.0.0/16 via 0.0.0.0
IP route del 169.254.0.0/16 via 0.0.0.0
IP route del 169.254.0.0/16 via 0.0.0.0
Introduction to Linux port promiscuous mode ~