File: 0008-manpage-RFC.patch

package info (click to toggle)
tayga 0.9.2-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 768 kB
  • sloc: ansic: 7,135; sh: 1,234; makefile: 18
file content (71 lines) | stat: -rw-r--r-- 2,414 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
From: Benda Xu <heroxbd@gentoo.org>
Date: Fri, 28 Dec 2018 00:00:00 +0000
Subject: Update the manpage to mention accepted RFC

Forwarded: Nathan Lutchansky <lutchann@litech.org>
---
 tayga.8      | 10 +++++-----
 tayga.conf.5 | 19 ++++++++++++++-----
 2 files changed, 19 insertions(+), 10 deletions(-)

diff --git a/tayga.8 b/tayga.8
index efb746f..e69cfc3 100644
--- a/tayga.8
+++ b/tayga.8
@@ -1,4 +1,4 @@
-.TH TAYGA "8" "June 2011" "TAYGA 0.9.2" ""
+.TH TAYGA "8" "Dec 2018" "TAYGA 0.9.2" ""
 
 .SH NAME
 tayga \- stateless NAT64 daemon
@@ -19,10 +19,10 @@ driver, TAYGA receives IPv4 and IPv6 packets from the host's network stack,
 translates them to the other protocol, and then sends the translated packets
 back to the host using the same TUN interface.
 .P
-Translation is compliant with IETF Internet-Draft
-draft-ietf-behave-v6v4-xlate-23, and address mapping is performed in
-accordance with RFC 6052.  Optionally, TAYGA may be configured to dynamically
-map IPv6 hosts to addresses drawn from a configured IPv4 address pool.
+Translation is compliant with IETF RFC 6145, and address mapping is
+performed in accordance with RFC 6052 or RFC 7757.  Optionally, TAYGA may be
+configured to dynamically map IPv6 hosts to addresses drawn from a
+configured IPv4 address pool.
 .P
 As a stateless NAT, TAYGA requires a one-to-one mapping between IPv4 addresses
 and IPv6 addresses.  Mapping multiple IPv6 addresses onto a single IPv4
diff --git a/tayga.conf.5 b/tayga.conf.5
index 3e084aa..7522c9d 100644
--- a/tayga.conf.5
+++ b/tayga.conf.5
@@ -1,4 +1,4 @@
-.TH TAYGA.CONF "5" "June 2011" "TAYGA 0.9.2" ""
+.TH TAYGA.CONF "5" "Dec 2018" "TAYGA 0.9.2" ""
 .SH NAME
 tayga.conf \- configuration file of the TAYGA stateless NAT64 daemon
 .SH DESCRIPTION
@@ -75,12 +75,21 @@ must be listed individually with the
 .B map
 directive.
 .TP
-.BI "map " "ipv4_address ipv6_address"
-Creates a static mapping between
-.I ipv4_address
+.BI "map " "ipv4_address[/length] ipv6_address[/length]"
+Creates a static mapping between RFC 7577 compliant hosts or subnets
+.I ipv4_address[/length]
 and
-.I ipv6_address
+.I ipv6_address[/length]
 to be used when translating IPv4 packets to IPv6 or IPv6 packets to IPv4.
+If
+.I /length
+is not present, the
+.I /length
+after
+.I ipv4_address
+is treated as "/32" and that of
+.I ipv6_address
+as "/128".
 Multiple
 .B map
 directives are permitted in the tayga.conf file.