Update documentation in README and ndppd.1

This commit is contained in:
Daniel Adolfsson 2011-09-19 15:53:59 +02:00
parent cc3a075b6f
commit 65ae331c00
2 changed files with 20 additions and 12 deletions

23
README
View File

@ -40,7 +40,7 @@
to other active neighbor nodes (RFC 4861). (Wikipedia) to other active neighbor nodes (RFC 4861). (Wikipedia)
Before an IPv6 packet can be sent to a host, that host's link-layer Before an IPv6 packet can be sent to a host, that host's link-layer
address must first be found. This is done by sending a Neighbor address must first be discovered. This is done by sending a Neighbor
Solicitation message containing the requested target IPv6 address Solicitation message containing the requested target IPv6 address
to a specific multicast address. If a host have configured a to a specific multicast address. If a host have configured a
matching IP, that host will then respond with a Neighbor matching IP, that host will then respond with a Neighbor
@ -52,9 +52,10 @@
for IPs it haven't configured in order to be able to route them. for IPs it haven't configured in order to be able to route them.
Linux have a limited support for proxying Neighbor Solicitation Linux have a limited support for proxying Neighbor Solicitation
messages to other interfaces, by turning on 'proxy_ndp'. But in messages by simply answering to any messages where the target IP
order for this to work, each individual IP you want to proxy needs can be found in the host's neighbor proxy table. To make this work
to be added to the neighbor proxy table using: you need to enable "proxy_ndp", and then add each single host to the
neighbor proxy table by typing something like:
ip -6 neigh add proxy <ip> dev <if> ip -6 neigh add proxy <ip> dev <if>
@ -107,11 +108,17 @@
Read through 'ndppd.conf.example' for guidelines how to configure Read through 'ndppd.conf.example' for guidelines how to configure
the daemon. the daemon.
Usage: ndppd [-d] [-c <config>] Usage: ndppd [-d] [-c <config>] [-p <pidfile>]
If '-d' is specified, the daemon will 'daemonize' itself, and enable -p <pidfile>
syslogging. With '-c' you can specify configuration file; the Create a pidfile at the specified location.
default location for it is '/etc/ndppd.conf'.
-c <config>
Read configuration from the specified location, instead of
the default which is /etc/ndppd.conf.
-d Daemonize the process, putting it in the background.
Also enables syslogging.
------------------------------------------------------------------------ ------------------------------------------------------------------------
5. Website and contact 5. Website and contact

View File

@ -8,8 +8,9 @@ ndppd \- NDP Proxy Daemon
.B ndppd [-d] [-c <config-file>] [-p <pidfile>] .B ndppd [-d] [-c <config-file>] [-p <pidfile>]
.SH DESCRIPTION .SH DESCRIPTION
.BR ndppd, .BR ndppd,
or 'NDP Proxy Daemon', is a daemon (!!) that proxies NDP or
(Neighbor Discovery Protocol) messages between interfaces. .BR "NDP Proxy Daemon" ,
is a daemon that proxies NDP (Neighbor Discovery Protocol) messages between interfaces.
.SH OPTIONS .SH OPTIONS
.IP "-c <config-file>" .IP "-c <config-file>"
Use the alternate Use the alternate
@ -29,8 +30,8 @@ at the specified location.
.I /etc/ndppd.conf .I /etc/ndppd.conf
.RS .RS
Default configuration file. See Default configuration file. See
.BR ndppd(5) .BR ndppd.conf(5)
for further details. for further details about configuration options.
.RE .RE
.SH BUGS .SH BUGS
No known bugs at the time of this writing. No known bugs at the time of this writing.