aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2014-06-07 12:55:26 -0700
committerH. Peter Anvin <hpa@zytor.com>2014-06-07 12:59:44 -0700
commit2ac12abbc919678bc4ebeed20b1e714d08d2ddec (patch)
treefd189a84334ca93db97a53661c58c8a0d6559b87
parent18ee96a03f8656031b67dd13ad2fcadb5af7ffaf (diff)
downloadtftp-hpa-2ac12abbc919678bc4ebeed20b1e714d08d2ddec.tar.gz
tftpd.8: document IPv6 handling in remapping rules
Document the "4" and "6" conditionals as well as how \i and \x handle IPv6 addresses. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--tftpd/tftpd.8.in18
1 files changed, 13 insertions, 5 deletions
diff --git a/tftpd/tftpd.8.in b/tftpd/tftpd.8.in
index 78b4cfb..b500d27 100644
--- a/tftpd/tftpd.8.in
+++ b/tftpd/tftpd.8.in
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\"----------------------------------------------------------------------- */
-.TH TFTPD 8 "14 September 2009" "tftp-hpa @@VERSION@@" "System Manager's Manual"
+.TH TFTPD 8 "7 June 2014" "tftp-hpa @@VERSION@@" "System Manager's Manual"
.SH NAME
.B tftpd
\- Trivial File Transfer Protocol server
@@ -295,6 +295,12 @@ This rule applies to GET (RRQ) requests only.
.B P
This rule applies to PUT (WRQ) requests only.
.TP
+.B 4
+This rule applies to IPv4 sessions only.
+.TP
+.B 6
+This rule applies to IPv6 sessions only.
+.TP
.B ~
Inverse the sense of this rule, i.e. execute the
.I operation
@@ -318,12 +324,14 @@ subexpressions, \\( ... \\), of the
pattern.
.TP
\fB\\i\fP
-The IP address of the requesting host, in dotted-quad notation
-(e.g. 192.0.2.169).
+The IP address of the requesting host, in dotted-quad notation for
+IPv4 (e.g. 192.0.2.169) or conventional colon form for IPv6
+(e.g. 2001:db8::1).
.TP
\fB\\x\fP
-The IP address of the requesting host, in hexadecimal notation
-(e.g. C00002A9).
+The IP address of the requesting host, in expanded hexadecimal
+notation (e.g. C00002A9 for IPv4, or 20010DB8000000000000000000000001
+for IPv6).
.TP
\fB\\\\\fP
Literal backslash.