Update the manpage a bit.

This commit is contained in:
Nicholas J. Kain 2022-02-12 12:57:10 -05:00
parent 416bed7eec
commit d67e1599df

16
ndhc.8
View File

@ -1,15 +1,14 @@
.TH NDHC 8 2012-07-20 Linux "Linux Administrator's Manual" .TH NDHC 8 2022-02-12 Linux "Linux Administrator's Manual"
.SH NAME .SH NAME
ndhc \- secure DHCP client ndhc \- secure DHCPv4 client
.SH SYNOPSIS .SH SYNOPSIS
.B ndhc .B ndhc
.RI [ OPTION ]... .RI [ OPTION ]...
.SH DESCRIPTION .SH DESCRIPTION
The ndhc client negotiates a lease with the DHCP server and informs ifchd of The ndhc client negotiates a lease with the DHCPv4 server. Once a lease is
the change when it is obtained or lost. It also defends the assigned IP obtained, it then defends the assigned IP address against hostile imposters and
address against hostile imposters and requests a new lease if it detects that requests a new lease if it detects that the interface has been connected to a
the interface has been connected to a new network. It requires a cooperating new network.
ifchd server to properly perform its duties.
.SH OPTIONS .SH OPTIONS
.TP .TP
.BI \-c\ CONFIGFILE ,\ \-\-config= CONFIGFILE .BI \-c\ CONFIGFILE ,\ \-\-config= CONFIGFILE
@ -42,7 +41,8 @@ Specifies the directory where the DHCP state associated with the given
interface will be stored. Such state will include the leased IP, the interface will be stored. Such state will include the leased IP, the
IAID, and the DUID. The file representing the leased IP can be quite IAID, and the DUID. The file representing the leased IP can be quite
useful for reacting to changes in IP address -- one can listen for changes useful for reacting to changes in IP address -- one can listen for changes
to it using fanotify() or inotify() on Linux. to it using fanotify() or inotify() on Linux. The 'fcactus' program
written by the ndhc author is designed to perform this task.
.TP .TP
.BI \-i\ INTERFACE ,\ \-\-interface= INTERFACE .BI \-i\ INTERFACE ,\ \-\-interface= INTERFACE
Act as a DHCP client for the specified interface. A single ndhc daemon can Act as a DHCP client for the specified interface. A single ndhc daemon can