shithub: riscv

Download patch

ref: 6f9d8697f6864e44201c5319b641c913c2f0725a
parent: a5358706698f484a0c55f56e1915f769e3367a16
author: cinap_lenrek <[email protected]>
date: Thu Jan 29 08:16:08 EST 2015

6in4(8): document ayiya

--- a/sys/man/8/6in4
+++ b/sys/man/8/6in4
@@ -1,6 +1,6 @@
 .TH 6IN4 8
 .SH NAME
-6in4 - configure and run automatic or manual 6to4 tunnel of IPv6 through IPv4
+6in4, ayiya - configure and run automatic or manual tunnel of IPv6 through IPv4
 .SH SYNOPSIS
 .B ip/6in4
 [
@@ -12,15 +12,32 @@
 .B -o
 .I outnetmtpt
 ] [
-.IB local6[ / mask]
+.IB local6 [ /mask ]
 [
 .I remote4
 [
 .I remote6
 ] ] ]
+.br
+.B ip/ayiya
+[
+.B -g
+] [
+.B -x
+.I netmtpt
+] [
+.B -k
+.I secret
+]
+.IB local6 [ /mask ]
+.I remote4
+.I remote6
 .SH DESCRIPTION
 .I 6in4
-sets up and maintains a tunnel of IPv6 traffic through an IPv4 connection.
+sets up and maintains a 6to4 tunnel of IPv6 traffic through an IPv4 connection.
+.I Ayiya
+is similar, but uses the UDP based Anything In Anything protocol to
+tunnel IPv6 traffic.
 .PP
 .I Local6
 and
@@ -62,8 +79,7 @@
 defaults to a link-local address constructed from
 .IR remote4 ).
 .PP
-.I 6in4
-forks a pair of background processes to copy packets to and from
+The program forks a pair of background processes to copy packets to and from
 the tunnel.
 .PP
 Options are:
@@ -71,6 +87,8 @@
 .PD 0
 .TP
 .B -a
+for
+.IR 6in4 ,
 permit any remote IPv4 address as the far end of a tunnel.
 This is likely to be useful for the server side of a tunnel.
 .TP
@@ -86,6 +104,8 @@
 packets.
 .TP
 .B -o
+for
+.IR 6in4 ,
 use
 .I outnetmtpt
 for the IPv4 packets but bind the IPv6 interface on
@@ -95,6 +115,13 @@
 when specified by a previous
 .B -x
 option.
+.TP
+.B -k
+for
+.IR ayiya ,
+use the shared secret key
+.I secret
+to authenticate messages on the tunnel.
 .PD
 .SH EXAMPLES
 If your primary IPv4 address is public,
@@ -146,6 +173,8 @@
 .B /lib/rfc/rfc3056
 .br
 .B /lib/rfc/rfc3068
+.br
+.B http://tools.ietf.org/id/draft-massar-v6ops-ayiya-02.txt
 .SH BUGS
 Needs a kernel with an
 .I ipmux