Skip to content

Des333/farpd

 
 

Repository files navigation

FakeARP daemon

Intro

This ARP daemon replies to any ARP request for a set of IP addresses with the hardware MAC address of one of the interfaces of the server

Requirements

On Debian sid:

$ sudo apt-get install build-essential libdumbnet-dev libevent-dev libpcap-dev libbsd-dev

Build

On Debian sid:

$ ./configure --with-libdumbnet=/usr --with-libevent=/usr
$ make

Example

Help:

$ ./arpd -h
Usage: arpd [-d] [-q] [-i interface] [net]

For listen and reply only to ARP-requests without VLAN-tags

$ sudo ./arpd -d -i enp5s0f4 192.168.1.3 192.168.1.4

For listen and reply to ARP-requests with or without VLAN-tag

$ sudo ./arpd -d -q -i enp5s0f4 192.168.1.3 192.168.1.4

About

FakeARP daemon

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Makefile 38.5%
  • Shell 37.0%
  • C 20.9%
  • Roff 3.6%