Skip to content
This repository was archived by the owner on Oct 20, 2025. It is now read-only.

Latest commit

 

History

History

README.md

Namespace PoC.net.arp

The namespace PoC.net.arp offers an "Address Resolution Protocol" (ARP) implementation.

Package

No files published, yet.

Entities

Address Resolution Protocol - ARP

BroadCast Receiver

Endianess: big-endian
Alignment: 1 byte

							Byte 0													Byte 1														Byte 2													Byte 3
+--------------------------------+--------------------------------+--------------------------------+--------------------------------+
| HardwareType (Ethernet = 0x0001)																| ProtocolType (IPv4 = 0x0800; IPv6 = 0x86DD)											|
+--------------------------------+--------------------------------+--------------------------------+--------------------------------+
| Hardware_Length (= 0x06)			 | Protocol_Length (= 0x04; 0x10) | Operation (Request = 0x0001)																		|
+--------------------------------+--------------------------------+--------------------------------+--------------------------------+
| SenderMACAddress																																																									|
+                                +                                +--------------------------------+--------------------------------+
|																																	| SenderIPAddress																									|
+--------------------------------+--------------------------------+--------------------------------+--------------------------------+
|																																	| TargetMACAddress (= 00:00:00:00:00:00)													|
+--------------------------------+--------------------------------+                                +                                +
|																																																																		|
+--------------------------------+--------------------------------+--------------------------------+--------------------------------+
| TargetIPAddress																																																										|
+--------------------------------+--------------------------------+--------------------------------+--------------------------------+

BroadCast Requester

Endianess: big-endian
Alignment: 1 byte

							Byte 0													Byte 1														Byte 2													Byte 3
+--------------------------------+--------------------------------+--------------------------------+--------------------------------+
| HardwareType (Ethernet = 0x0001)																| ProtocolType (IPv4 = 0x0800; IPv6 = 0x86DD)											|
+--------------------------------+--------------------------------+--------------------------------+--------------------------------+
| Hardware_Length (= 0x06)			 | Protocol_Length (= 0x04; 0x10) | Operation (Request = 0x0001)																		|
+--------------------------------+--------------------------------+--------------------------------+--------------------------------+
| SenderMACAddress																																																									|
+                                +                                +--------------------------------+--------------------------------+
|																																	| SenderIPAddress																									|
+--------------------------------+--------------------------------+--------------------------------+--------------------------------+
|																																	| TargetMACAddress (= 00:00:00:00:00:00)													|
+--------------------------------+--------------------------------+                                +                                +
|																																																																		|
+--------------------------------+--------------------------------+--------------------------------+--------------------------------+
| TargetIPAddress																																																										|
+--------------------------------+--------------------------------+--------------------------------+--------------------------------+

UniCast Responder

Endianess: big-endian
Alignment: 1 byte

							Byte 0													Byte 1														Byte 2													Byte 3
+--------------------------------+--------------------------------+--------------------------------+--------------------------------+
| HardwareType (Ethernet = 0x0001)																| ProtocolType (IPv4 = 0x0800; IPv6 = 0x86DD)											|
+--------------------------------+--------------------------------+--------------------------------+--------------------------------+
| Hardware_Length (= 0x06)			 | Protocol_Length (= 0x04; 0x10) | Operation (Request = 0x0002)																		|
+--------------------------------+--------------------------------+--------------------------------+--------------------------------+
| SenderMACAddress																																																									|
+                                +                                +--------------------------------+--------------------------------+
|																																	| SenderIPAddress																									|
+--------------------------------+--------------------------------+--------------------------------+--------------------------------+
|																																	| TargetMACAddress																								|
+--------------------------------+--------------------------------+                                +                                +
|																																																																		|
+--------------------------------+--------------------------------+--------------------------------+--------------------------------+
| TargetIPAddress																																																										|
+--------------------------------+--------------------------------+--------------------------------+--------------------------------+

UniCast Receiver

Endianess: big-endian
Alignment: 1 byte

							Byte 0													Byte 1														Byte 2													Byte 3
+--------------------------------+--------------------------------+--------------------------------+--------------------------------+
| HardwareType (Ethernet = 0x0001)																| ProtocolType (IPv4 = 0x0800; IPv6 = 0x86DD)											|
+--------------------------------+--------------------------------+--------------------------------+--------------------------------+
| Hardware_Length (= 0x06)			 | Protocol_Length (= 0x04; 0x10) | Operation (Request = 0x0002)																		|
+--------------------------------+--------------------------------+--------------------------------+--------------------------------+
| SenderMACAddress																																																									|
+                                +                                +--------------------------------+--------------------------------+
|																																	| SenderIPAddress																									|
+--------------------------------+--------------------------------+--------------------------------+--------------------------------+
|																																	| TargetMACAddress																								|
+--------------------------------+--------------------------------+                                +                                +
|																																																																		|
+--------------------------------+--------------------------------+--------------------------------+--------------------------------+
| TargetIPAddress																																																										|
+--------------------------------+--------------------------------+--------------------------------+--------------------------------+