Arpeth digital currency
ARP (address resolution protocol) is a TCP / IP protocol to obtain physical address according to IP address. When the host sends the information, it broadcasts the ARP request containing the target IP address to all hosts on the LAN, and receives the return message to determine the physical address of the target; After receiving the returned message, the IP address and physical address will be stored in the local ARP cache for a certain period of time, and the ARP cache will be queried directly in the next request to save resources
the address resolution protocol is based on the mutual trust of each host in the network. The host in the local area network can send ARP response message independently, and other hosts will not detect the authenticity of the response message when they receive it, and will record it into the local ARP cache; Thus, the attacker can send a pseudo ARP response message to a host, so that the message can not reach the expected host or the wrong host, which constitutes an ARP spoofing
extended data:
RARP is different from ARP. Address resolution protocol is a protocol to obtain physical address according to IP address, while reverse address translation protocol (RARP) is a protocol to request IP address from ARP table or cache of gateway server according to MAC address, Its function is opposite to address resolution protocol. Compared with ARP, the workflow of RARP is the opposite. First, the query host sends a RARP request broadcast packet to the network, and queries its own IP address from other hosts. At this time, the RARP server on the network will respond the sender's IP address with the RARP reply packet, so that the query host will get its own IP address
ARP -d inet_ addr [if_ addr]
ARP -a [inet_ addr] [-N if_ Addr] [- v]
- a displays the current ARP item by querying the current protocol data
If INET is specified_ Addr, only the IP address and physical address of the specified computer are displayed. If more than one network
interface uses ARP, the entries of each ARP table are displayed
- G is the same as - A
- V displays the current ARP item in detail mode. All invalid items
and items on the loopback interface will be displayed< br /> inet_ Addr specifies the Internet address< br /> -N if_ Addr display if_ ARP entry of the network interface specified by addr
- D delete INET_ The host specified by addr. inet_ Addr can be
as a wildcard * to delete all hosts
- s add the host and change the Internet address to INET_ Addr
and physical address eth_ Addr. The physical address is six hexadecimal bytes separated by
hyphens. The project is permanent< br /> eth_ Addr specifies the physical address< br /> if_ If addr exists, this item specifies the Internet address of the interface
that the address translation table should modify. If not, the first
applicable interface is used
example:
& gt; ARP - s 157.55.85.212 00-aa-00-62-c6-09... Add static items< br /> > ARP - a.. Displays the ARP table.