summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rarpd/rarpd.8
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1996-11-19 23:57:06 +0000
committerwpaul <wpaul@FreeBSD.org>1996-11-19 23:57:06 +0000
commitef41f18ddebc2d5e1cb53e9d3de8276edc6e1811 (patch)
tree5808cc3cb3e53859adacfafa7cb6838694c275e7 /usr.sbin/rarpd/rarpd.8
parentbaa06efe57cfea211ed87fc6b014de03c025162c (diff)
downloadFreeBSD-src-ef41f18ddebc2d5e1cb53e9d3de8276edc6e1811.zip
FreeBSD-src-ef41f18ddebc2d5e1cb53e9d3de8276edc6e1811.tar.gz
Although I got rarpd to work, it was largely through kludgery. Bill
Fenner was kind enough to point out the error of my ways. This incorporates diffs from him which: - Keep everything in network order. - Log the booted ether & ip address, instead of my address on that net - change several exit()'s to return()'s, so that rarpd continues running even if it thinks it's in a weird state. One small tweak by me: in rarp_bootable(), we have to make sure to construct 'ipname' in host byte order (if we don't, we have to specify /tftpboot/<remote IP in hex> with <remote IP in hex> in network byte order, which is confusing). Also restored use of <dirent.h> rather than <sys/dir.h> as pointed out by bde. Also updated the man page so that the -v flag is documented. With any luck, I won't have to touch this thing again.
Diffstat (limited to 'usr.sbin/rarpd/rarpd.8')
-rw-r--r--usr.sbin/rarpd/rarpd.824
1 files changed, 12 insertions, 12 deletions
diff --git a/usr.sbin/rarpd/rarpd.8 b/usr.sbin/rarpd/rarpd.8
index 9db18c4..1ad523b 100644
--- a/usr.sbin/rarpd/rarpd.8
+++ b/usr.sbin/rarpd/rarpd.8
@@ -1,7 +1,7 @@
-.\" @(#) $Header: /home/ncvs/src/usr.sbin/rarpd/rarpd.8,v 1.2 1995/03/05 22:04:05 wpaul Exp $ (LBL)
+.\" @(#) $Header: rarpd.8,v 1.3 93/07/19 19:34:24 leres Exp $ (LBL)
.\"
-.\" Copyright (c) 1988-1990 The Regents of the University of California.
-.\" All rights reserved.
+.\" Copyright (c) 1990, 1991, 1993 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
@@ -19,14 +19,14 @@
.\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
.\"
-.TH RARPD 8 "26 Oct 1990"
+.TH RARPD 8 "19 Jul 1993"
.SH NAME
rarpd \- Reverse ARP Daemon
.SH SYNOPSIS
.na
.B rarpd
[
-.B \-af
+.B \-afv
]
[
.I interface
@@ -46,14 +46,14 @@ must be present in both the
and
.I hosts(5)
databases.
-If a host does not exist in both databases, the translation cannot
+If a host does not exist in both databses, the translation cannot
proceed and a reply will not be sent.
Additionally, a request is honored only if the server
(i.e., the host that rarpd is running on)
can "boot" the target; that is, if the directory
/tftpboot/\fIipaddr\fP
-exists, where \fIipaddr\fP is the target IP address in hexadecimal.
+exists, where \fIipaddr\fP is the target IP address.
In normal operation,
.I rarpd
@@ -70,6 +70,9 @@ If `-a' is omitted, an interface must be specified.
.TP
.B \-f
Run in the foreground.
+.TP
+.B \-v
+Enable verbose sysloging.
.SH FILES
/etc/ethers
@@ -83,10 +86,7 @@ bpf(4)
RFC 903: Finlayson, R.; Mann, T.; Mogul, J.C.; Theimer, M. Reverse Address
Resolution Protocol. 1984 June; 4 p.
.SH AUTHORS
-Craig Leres (leres@helios.ee.lbl.gov) and
-Steven McCanne (mccanne@helios.ee.lbl.gov).
+Craig Leres (leres@ee.lbl.gov) and
+Steven McCanne (mccanne@ee.lbl.gov).
Lawrence Berkeley Laboratory, University of California, Berkeley, CA.
.SH BUGS
-You must have the Berkeley Packet Filter configured into your kernel
-in order to use this program. This isn't really a bug, but it isn't
-exactly a feature either.
OpenPOWER on IntegriCloud