.\" .\" Copyright (c) 2001 Dug Song .\" .Dd August 4, 2001 .Dt ARPD 8 .Sh NAME .Nm farpd .Nd ARP reply daemon .Sh SYNOPSIS .Nm farpd .Op Fl d .Op Fl i Ar interface .Op Ar net ... .Sh DESCRIPTION .Nm replies to any ARP request for an IP address matching the specified destination .Ar net with the hardware MAC address of the specified .Ar interface , but only after determining if another host already claims it. .Pp Any IP address claimed by .Nm is eventually forgotten after a period of inactivity or after a hard timeout, and is relinquished if the real owner shows up. .Pp This enables a single host to claim all unassigned addresses on a LAN for network monitoring or simulation. .Pp .Nm exits on an interrupt or termination signal. .Pp Note: The program name .Nm has been changed in Debian GNU/Linux from the original name (\fBarpd\fR) to avoid name clash with other ARP daemons. .Pp The options are as follows: .Bl -tag -width Ds .It Fl d Do not daemonize, and enable verbose debugging messages. .It Fl i Ar interface Listen on .Ar interface . If unspecified, .Nm searches the system interface list for the lowest numbered, configured ``up'' interface (excluding loopback). .It Ar net The IP address or network (specified in CIDR notation) or IP address ranges to claim (e.g. ``10.0.0.3'', ``10.0.0.0/16'' or ``10.0.0.5-10.0.0.15''). If unspecified, .Nm will attempt to claim any IP address it sees an ARP request for. Mutiple addresses may be specified. .El .Sh FILES .Bl -tag -width /var/run/arpd.pid .It Pa /var/run/farpd.pid .El .Sh SEE ALSO .Xr pcapd 8 , .Xr synackd 8 .Sh BUGS .Nm will respond too slowly to ARP requests for some applications. In order to ensure that it does not claim existing IP addresses it will send two ARP request and wait for a reply. This slowness affects the \fBnmap\fR network scanning tool, and possibly others, which uses by default ARP when scanning local networks. The answers from .Nm will come after the tool has timeout waiting for the ARP replies and, consequently, IP addresses claimed by .Nm will not be discovered. .Pp Additionally, .Nm sends the ARP replies to the broadcast address of the network and not to the host that send the ARP request. Some systems and applications (notably \fBnmap\fR) will not handled these requests and expect directed ARP replies (i.e. targeted specifically to the host that sent the request and not to the network) .Sh AUTHORS Dug Song .Aq dugsong@monkey.org , Niels Provos .Aq provos@citi.umich.edu