forked from mirrors/tftp-hpa-google
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>
This commit is contained in:
parent
18ee96a03f
commit
2ac12abbc9
1 changed files with 13 additions and 5 deletions
|
@ -30,7 +30,7 @@
|
||||||
.\" SUCH DAMAGE.
|
.\" 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
|
.SH NAME
|
||||||
.B tftpd
|
.B tftpd
|
||||||
\- Trivial File Transfer Protocol server
|
\- Trivial File Transfer Protocol server
|
||||||
|
@ -295,6 +295,12 @@ This rule applies to GET (RRQ) requests only.
|
||||||
.B P
|
.B P
|
||||||
This rule applies to PUT (WRQ) requests only.
|
This rule applies to PUT (WRQ) requests only.
|
||||||
.TP
|
.TP
|
||||||
|
.B 4
|
||||||
|
This rule applies to IPv4 sessions only.
|
||||||
|
.TP
|
||||||
|
.B 6
|
||||||
|
This rule applies to IPv6 sessions only.
|
||||||
|
.TP
|
||||||
.B ~
|
.B ~
|
||||||
Inverse the sense of this rule, i.e. execute the
|
Inverse the sense of this rule, i.e. execute the
|
||||||
.I operation
|
.I operation
|
||||||
|
@ -318,12 +324,14 @@ subexpressions, \\( ... \\), of the
|
||||||
pattern.
|
pattern.
|
||||||
.TP
|
.TP
|
||||||
\fB\\i\fP
|
\fB\\i\fP
|
||||||
The IP address of the requesting host, in dotted-quad notation
|
The IP address of the requesting host, in dotted-quad notation for
|
||||||
(e.g. 192.0.2.169).
|
IPv4 (e.g. 192.0.2.169) or conventional colon form for IPv6
|
||||||
|
(e.g. 2001:db8::1).
|
||||||
.TP
|
.TP
|
||||||
\fB\\x\fP
|
\fB\\x\fP
|
||||||
The IP address of the requesting host, in hexadecimal notation
|
The IP address of the requesting host, in expanded hexadecimal
|
||||||
(e.g. C00002A9).
|
notation (e.g. C00002A9 for IPv4, or 20010DB8000000000000000000000001
|
||||||
|
for IPv6).
|
||||||
.TP
|
.TP
|
||||||
\fB\\\\\fP
|
\fB\\\\\fP
|
||||||
Literal backslash.
|
Literal backslash.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue