2002-10-21 17:55:11 +04:00
|
|
|
.\" $NetBSD: rarpd.8,v 1.11 2002/10/21 13:55:11 grant Exp $
|
1993-12-16 08:31:05 +03:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 1988-1990 The Regents of the University of California.
|
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that: (1) source code distributions
|
|
|
|
.\" retain the above copyright notice and this paragraph in its entirety, (2)
|
|
|
|
.\" distributions including binary code include the above copyright notice and
|
|
|
|
.\" this paragraph in its entirety in the documentation or other materials
|
|
|
|
.\" provided with the distribution, and (3) all advertising materials mentioning
|
|
|
|
.\" features or use of this software display the following acknowledgement:
|
|
|
|
.\" ``This product includes software developed by the University of California,
|
|
|
|
.\" Lawrence Berkeley Laboratory and its contributors.'' Neither the name of
|
|
|
|
.\" the University nor the names of its contributors may be used to endorse
|
|
|
|
.\" or promote products derived from this software without specific prior
|
|
|
|
.\" written permission.
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
|
|
|
|
.\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
|
|
|
|
.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
.\"
|
2002-10-21 17:55:11 +04:00
|
|
|
.Dd October 17, 2002
|
1993-12-16 08:31:05 +03:00
|
|
|
.Dt RARPD 8
|
|
|
|
.Sh NAME
|
2002-01-19 14:44:57 +03:00
|
|
|
.Nm rarpd
|
1993-12-16 08:31:05 +03:00
|
|
|
.Nd Reverse ARP Daemon
|
|
|
|
.Sh SYNOPSIS
|
1997-10-17 16:40:03 +04:00
|
|
|
.Nm
|
1998-04-15 19:06:06 +04:00
|
|
|
.Op Fl adfl
|
2002-10-17 23:13:50 +04:00
|
|
|
.Oo
|
|
|
|
.Ar interface
|
|
|
|
.Op Ar ...
|
|
|
|
.Oc
|
1993-12-16 08:31:05 +03:00
|
|
|
.Sh DESCRIPTION
|
1997-10-17 16:40:03 +04:00
|
|
|
.Nm
|
1993-12-16 08:31:05 +03:00
|
|
|
services Reverse ARP requests on the Ethernet connected to
|
1997-10-17 16:40:03 +04:00
|
|
|
.Ar interface .
|
2002-01-19 14:44:57 +03:00
|
|
|
Upon receiving a request,
|
1997-10-17 16:40:03 +04:00
|
|
|
.Nm
|
2002-01-19 14:44:57 +03:00
|
|
|
maps the target hardware address to an IP address via its name, which
|
1993-12-16 08:31:05 +03:00
|
|
|
must be present in both the
|
|
|
|
.Xr ethers 5
|
2002-01-19 14:44:57 +03:00
|
|
|
and
|
1993-12-16 08:31:05 +03:00
|
|
|
.Xr hosts 5
|
|
|
|
databases.
|
1997-06-21 18:30:03 +04:00
|
|
|
If a host does not exist in both databases the translation cannot
|
1993-12-16 08:31:05 +03:00
|
|
|
proceed and a reply will not be sent.
|
1995-09-02 01:55:44 +04:00
|
|
|
.\" .Pp
|
|
|
|
.\" Additionally, a request is honored only if the server
|
1997-06-21 18:30:03 +04:00
|
|
|
.\" (the host that rarpd is running on)
|
|
|
|
.\" can `boot' the target.
|
|
|
|
.\" .Pp
|
|
|
|
.\" To be considered able to boot the target the server must have
|
|
|
|
.\" a file or directory
|
1995-09-02 01:55:44 +04:00
|
|
|
.\" .Pa /tftpboot/ Ns Em ipaddr
|
1997-06-21 18:30:03 +04:00
|
|
|
.\" where
|
|
|
|
.\" .Pa ipaddr
|
|
|
|
.\" is the target IP address as an eight digit hexadecimal string.
|
|
|
|
.\" For example, the IP address 203.8.3.18 is represented as
|
|
|
|
.\" .Sq CB080312 .
|
1993-12-16 08:31:05 +03:00
|
|
|
.Pp
|
2002-01-19 14:44:57 +03:00
|
|
|
In normal operation,
|
1997-10-17 16:40:03 +04:00
|
|
|
.Nm
|
1993-12-16 08:31:05 +03:00
|
|
|
forks a copy of itself and runs in
|
2002-01-19 14:44:57 +03:00
|
|
|
the background. Anomalies and errors are reported via
|
1993-12-16 08:31:05 +03:00
|
|
|
.Xr syslog 3 .
|
|
|
|
.Sh OPTIONS
|
|
|
|
.Bl -tag -width indent
|
|
|
|
.It Fl a
|
|
|
|
Listen on all the Ethernets attached to the system.
|
2002-01-19 14:44:57 +03:00
|
|
|
If
|
|
|
|
.Sq Fl a
|
1993-12-16 08:31:05 +03:00
|
|
|
is omitted, an interface must be specified.
|
|
|
|
.It Fl d
|
|
|
|
Run in debug mode, with all the output to stderr.
|
2002-01-19 14:44:57 +03:00
|
|
|
This option implies the
|
1993-12-16 08:31:05 +03:00
|
|
|
.Fl f
|
|
|
|
option.
|
|
|
|
.It Fl f
|
|
|
|
Run in the foreground.
|
1998-04-15 19:06:06 +04:00
|
|
|
.It Fl l
|
|
|
|
Log all requests to syslog.
|
1993-12-16 08:31:05 +03:00
|
|
|
.El
|
|
|
|
.Sh FILES
|
|
|
|
.Bl -tag -width Pa -compact
|
|
|
|
.It Pa /etc/ethers
|
|
|
|
.It Pa /etc/hosts
|
1995-09-02 01:55:44 +04:00
|
|
|
.\" .It Pa /tftpboot
|
1993-12-16 08:31:05 +03:00
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
2002-02-02 04:40:02 +03:00
|
|
|
.Xr bpf 4
|
2002-01-19 14:44:57 +03:00
|
|
|
.Rs
|
1993-12-16 08:31:05 +03:00
|
|
|
.%R A Reverse Address Resolution Protocol
|
|
|
|
.%N RFC 903
|
|
|
|
.%A Finlayson, R.
|
|
|
|
.%A Mann, T.
|
|
|
|
.%A Mogul, J.C.
|
|
|
|
.%A Theimer, M.
|
|
|
|
.Re
|
|
|
|
.Sh AUTHORS
|
|
|
|
Craig Leres (leres@ee.lbl.gov) and Steven McCanne (mccanne@ee.lbl.gov).
|
|
|
|
Lawrence Berkeley Laboratory, University of California, Berkeley, CA.
|