summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-04-16 17:13:48 +0000
committerOthmar Gsenger <otti@anytun.org>2007-04-16 17:13:48 +0000
commit1d1bc7cc1766e5becbee78805e3bced7e5ce6cbf (patch)
tree091b036b0d34d98a41b86e969696b35a0bff9102
parentintro (diff)
lala
-rw-r--r--internet-draft-anytun.txt104
-rw-r--r--internet-draft-anytun.xml42
2 files changed, 30 insertions, 116 deletions
diff --git a/internet-draft-anytun.txt b/internet-draft-anytun.txt
index 2c96b37..a280231 100644
--- a/internet-draft-anytun.txt
+++ b/internet-draft-anytun.txt
@@ -115,12 +115,9 @@ Internet-Draft anycast tunneling and relay protocol March 2007
1. Introduction
- anytun defines a Host Anycast Service as defined in rfc1546. It can
- be used to build high scalable and redundant tunnel services. It
- supports both UDP and TCP connections. Additionally to the
- possibility of establashing an unicast TCP connection over an anycast
- address as suggested in rfc1546, it supports real anycast TCP
- connections with state syncronisation and heuristic state forecast.
+ anytun defines a Host Anycast Service as defined in rfc1546. It uses
+ a peer-to-peer achitecture, with anycast servers and unicast clients.
+ It can be used to build high scalable and redundant tunnel services.
It also has a relay mode, that makes it possible, that only one of
the connection endpoints has to use the anytun protocol. This can be
used to make connections through Firewalls or behind a NAT Router
@@ -164,6 +161,9 @@ Internet-Draft anycast tunneling and relay protocol March 2007
+
+
+
Gsenger Expires September 2, 2007 [Page 3]
Internet-Draft anycast tunneling and relay protocol March 2007
@@ -180,9 +180,10 @@ Internet-Draft anycast tunneling and relay protocol March 2007
by the operating system). Anytun is used to establish and controll
tunnnels, to encapsulate and encrypt data.
-2.1. Tunnel modes
+2.1. Usage scenarions
-2.1.1. Tunneling Mode
+2.1.1. tunneling from unicast client over anycast servers to unicast
+ client
An example of anytun used in tunnel mode
@@ -219,13 +220,12 @@ Internet-Draft anycast tunneling and relay protocol March 2007
-
Gsenger Expires September 2, 2007 [Page 4]
Internet-Draft anycast tunneling and relay protocol March 2007
-2.1.2. Open tunnel mode
+2.1.2. tunneling from client to a server connected network
An example of anytun used in open tunnel mode
@@ -258,65 +258,8 @@ Internet-Draft anycast tunneling and relay protocol March 2007
The anytun servers act like a source NAT router, therefor for the
destination it saems that it is talking to the client directly.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Gsenger Expires September 2, 2007 [Page 5]
-
-Internet-Draft anycast tunneling and relay protocol March 2007
-
-
-2.1.3. relay mode
-
- An example of anytun used in relay mode
-
- -----------
- ----- | RTP | ----------
- | | -> ----------- -> |server 1| ->
- ----- | UDP** | ---------- -----------
- ##### ----------- | RTP |
- | IPv6**| ---------- ----------- -----
- host ----------- -> |server 2| -> | UDP* | -> | |
- not using | ... | ---------- ----------- -----
- anytun | IPv6* | #####
- ---------- -----------
- ----------- -> |server 3| | ... | host
- ----- | anytun | ---------- not using
- | | -> ----------- anytun
- ----- | IPv4 | anycast
- ##### -----------
- connection| ... |
- controller
-
- *changed source address or port
- **changed destination address or port
-
- Figure 3
-
- In relay mode the anycast serveres directly repaet the packetes of
- clients, only the source and destination addresses are changed. The
- anytun protocol is only used for controll messages, but not fr
- encapsulation.
-
2.2. Transport modes
-2.2.1. anycast udp mode
-
Anytun does not define wich lower layer protocols HAVE TO be used,
but it's most likely used on top of udp. This section should only
discuss some issues on udp in combination with anycasting and
@@ -332,12 +275,13 @@ Internet-Draft anycast tunneling and relay protocol March 2007
-Gsenger Expires September 2, 2007 [Page 6]
+
+Gsenger Expires September 2, 2007 [Page 5]
Internet-Draft anycast tunneling and relay protocol March 2007
-2.2.2. Using UDP
+2.2.1. Using UDP
An example of anytun used with udp as transport
@@ -356,7 +300,7 @@ Internet-Draft anycast tunneling and relay protocol March 2007
----------- -----------
| ... | anycast | ... |
- Figure 4
+ Figure 3
When using UDP no flow controll or retransmission is done, neigther
by UDP nor anytun. The encapsulated protocol HAS TO take care of
@@ -364,7 +308,7 @@ Internet-Draft anycast tunneling and relay protocol March 2007
datagram, so a packet gets discarded if there is a biterror in the
payload
-2.2.3. Using lightUDP
+2.2.2. Using lightUDP
An example of anytun used with udp transport
@@ -383,12 +327,12 @@ Internet-Draft anycast tunneling and relay protocol March 2007
----------- -----------
| ... | anycast | ... |
- Figure 5
+ Figure 4
-Gsenger Expires September 2, 2007 [Page 7]
+Gsenger Expires September 2, 2007 [Page 6]
Internet-Draft anycast tunneling and relay protocol March 2007
@@ -402,7 +346,7 @@ Internet-Draft anycast tunneling and relay protocol March 2007
usefull if realtime data is beeing transimittet or the tunneled
protocol does error correction/detection by itself.
-2.2.4. Fragmentation
+2.2.3. Fragmentation
The only way of fully supporting fragmentation would be to syncronise
fragments between all anycast servers. This is considered to be to
@@ -433,7 +377,7 @@ Internet-Draft anycast tunneling and relay protocol March 2007
6558 transparent ethernet bridging
86DD IPv6
- Figure 6
+ Figure 5
@@ -444,7 +388,7 @@ Internet-Draft anycast tunneling and relay protocol March 2007
-Gsenger Expires September 2, 2007 [Page 8]
+Gsenger Expires September 2, 2007 [Page 7]
Internet-Draft anycast tunneling and relay protocol March 2007
@@ -500,7 +444,7 @@ Appendix A. The appan
-Gsenger Expires September 2, 2007 [Page 9]
+Gsenger Expires September 2, 2007 [Page 8]
Internet-Draft anycast tunneling and relay protocol March 2007
@@ -556,7 +500,7 @@ Internet-Draft anycast tunneling and relay protocol March 2007
-Gsenger Expires September 2, 2007 [Page 10]
+Gsenger Expires September 2, 2007 [Page 9]
Internet-Draft anycast tunneling and relay protocol March 2007
@@ -612,7 +556,7 @@ Author's Address
-Gsenger Expires September 2, 2007 [Page 11]
+Gsenger Expires September 2, 2007 [Page 10]
Internet-Draft anycast tunneling and relay protocol March 2007
@@ -668,5 +612,5 @@ Acknowledgment
-Gsenger Expires September 2, 2007 [Page 12]
+Gsenger Expires September 2, 2007 [Page 11]
diff --git a/internet-draft-anytun.xml b/internet-draft-anytun.xml
index bb6bc8c..290d441 100644
--- a/internet-draft-anytun.xml
+++ b/internet-draft-anytun.xml
@@ -40,17 +40,17 @@
<t>The anycast tunneling and relay protocol (anytun) defines a protocol used for communication between unicast clients and anycast servers. It can be used for tunneling information between 2 clients over the anycast servers or in relay mode to transmit data form the client over the anycast servers to a third party not using the protocol and vice versa. Unlike other tunneling protocols like GRE or IPIP tunnels which indeed will work with anycast as well, anytun directly includes cryptography and authentication. In relay mode it also supports source NAT with integrated NAT transversal. It is intended to deliver a high performance and reliability solution for tunneling and relaying of data over servers, where direct client to client connections are not possible or not wanted.
</t>
</abstract>
+ </front>
+ <middle>
<section title='Introduction'>
- <t>anytun defines a Host Anycast Service as defined in rfc1546. It can be used to build high scalable and redundant tunnel services. It supports both UDP and TCP connections. Additionally to the possibility of establashing an unicast TCP connection over an anycast address as suggested in rfc1546, it supports real anycast TCP connections with state syncronisation and heuristic state forecast. It also has a relay mode, that makes it possible, that only one of the connection endpoints has to use the anytun protocol. This can be used to make connections through Firewalls or behind a NAT Router</t>
+ <t>anytun defines a Host Anycast Service as defined in rfc1546. It uses a peer-to-peer achitecture, with anycast servers and unicast clients. It can be used to build high scalable and redundant tunnel services. It also has a relay mode, that makes it possible, that only one of the connection endpoints has to use the anytun protocol. This can be used to make connections through Firewalls or behind a NAT Router</t>
<t><xref target="RFC3068">RFC3068</xref> DTD.</t>
</section>
- </front>
- <middle>
<section title="Operation modes">
<t>This section gives an overview of possible operation modes und usage scenarios. Please note, that the protocols used in the figures are only examples and that anytun itself does not care about either transport protocols or encapsulated protocols. Routing and network address translation is not done by anytun. Each implemetation MAY choose it's own way of doing this task (e.g. using functions provided by the operating system). Anytun is used to establish and controll tunnnels, to encapsulate and encrypt data.</t>
- <section title="Tunnel modes">
+ <section title="Usage scenarions">
- <section title='Tunneling Mode'>
+ <section title='tunneling from unicast client over anycast servers to unicast client'>
<figure anchor="tunnel_mode">
<preamble>An example of anytun used in tunnel mode</preamble>
<artwork>
@@ -73,7 +73,7 @@ client 1 ----------- -> |server 3| -> ----------- client 2
<t>In tunneling mode the payload of the anytun packet is transmitted from one unicast host to the anycast server. This server makes a routing descision based on the underlying protocol and transmits a new anytun package to one or more clients depending on the routing descition. The server MAY also route the packet to a directly connected network or a service running on the server, but please note, that this is only usefull for anycast host services like DNS and that the services HAVE TO be running on all servers in order to work.</t>
</section>
- <section title='Open tunnel mode'>
+ <section title='tunneling from client to a server connected network'>
<figure anchor="open_tunnel_mode">
<preamble>An example of anytun used in open tunnel mode</preamble>
<artwork>
@@ -98,40 +98,10 @@ client 1 ----------- -> |server 3| -> | ... | host
<t>In open tunnel mode only one of two clients talking to each other over the servers MUST use the anytun protocol. When a client using the anytun protocol wants to tunnel data, it is building a connection to the anycast servers using the anytun protocol. The anycast servers relay the encapsulated packages directly to the destination without using the anytun protocol. The source address of the datagramm HAS TO be changed to the anycast address of the server. The anytun servers act like a source NAT router, therefor for the destination it saems that it is talking to the client directly.</t>
</section>
- <section title='relay mode'>
- <figure anchor="relay_mode">
- <preamble>An example of anytun used in relay mode</preamble>
- <artwork>
- -----------
------ | RTP | ----------
-| | -> ----------- -> |server 1| ->
------ | UDP** | ---------- -----------
-##### ----------- | RTP |
- | IPv6**| ---------- ----------- -----
-host ----------- -> |server 2| -> | UDP* | -> | |
-not using | ... | ---------- ----------- -----
-anytun | IPv6* | #####
- ---------- -----------
- ----------- -> |server 3| | ... | host
------ | anytun | ---------- not using
-| | -> ----------- anytun
------ | IPv4 | anycast
-##### -----------
-connection| ... |
-controller
-
- *changed source address or port
- **changed destination address or port
- </artwork>
- </figure>
- <t>In relay mode the anycast serveres directly repaet the packetes of clients, only the source and destination addresses are changed. The anytun protocol is only used for controll messages, but not fr encapsulation.</t>
- </section>
</section>
<section title="Transport modes">
- <section title="anycast udp mode">
<t>Anytun does not define wich lower layer protocols HAVE TO be used, but it's most likely used on top of udp. This section should only discuss some issues on udp in combination with anycasting and tunnels.
</t>
- </section>
<section title="Using UDP">
<figure anchor="transtort_udp">
<preamble>An example of anytun used with udp as transport</preamble>