Skip to content

oguzhanagkus/arp-request

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

ARP(Address Resolution Protocol) was a protocol that I worked with during my internship.

This code creates simple ARP package and then broadcasts it to get the MAC address of the device whose IP address is known. This is ARP Request. Finally it captures the ARP Reply package and gets the MAC address.

After you compile it, you should run it as root. It needs permissions. While you running it, you should give 2 parameters: interface_name and target_ip. Otherwise it returns -1.

About

Create and broadcast ARP request packages

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages