Urgent.News

What's breaking now, across thousands of outlets.

Tech

ARP! Tell your network to explain itself

When sending messages on a local network, two addresses are needed: an IP address and a MAC address. IP addresses identify devices at the network layer, while MAC addresses identify devices at the data link layer. Your network switch doesn't understand IP addresses; it uses MAC addresses to figure out which device a message should go to. When a device wants to send a message, it needs to know the MAC address of the recipient. This is where ARP (Address Resolution Protocol) comes in.

ARP works by asking the network "Who has this IP address?" When a device receives a message asking about its IP address, it responds with its MAC address. The computer then has both the IP and MAC addresses, allowing it to send the message with both addresses in the packet. Computers on the network keep track of known MAC addresses and their corresponding IP addresses in a list called the neighbor table. On Linux, you can view this list with the command "ip neighbour show."

However, ARP can be exploited if an attacker pretends to be another device on the network, a technique known as ARP spoofing. This can cause problems like broadcast storms, where a misbehaving device sends a flood of broadcast messages. It's important to be cautious and responsible when learning about these network concepts.

Written by urgent.news from Lobsters's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at benjcal.space →

More in Tech

Claves API expuestas en la brecha de OpenCode

Las claves API expuestas en la brecha de OpenCode obligan a revocar hoy mismo las credenciales de OpenAI, Anthropic y Google que muchos desarrolladores guardaron en Console, el servicio en la nube de…

  • API keys of major AI providers exposed due to unauthorized access to a legacy system.
  • Breach reported on October 17, affecting 1.4% of OpenCode's users.
  • OpenCode notified affected users via email and is working with providers to resolve the issue.

More from Sunday 18 October →