From 67cb1356e4b18addcb07d2d356f344b20c6ae933 Mon Sep 17 00:00:00 2001 From: wangyu- Date: Fri, 1 Sep 2017 09:34:13 -0700 Subject: [PATCH 01/14] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index a030a3c..c1a2f2f 100755 --- a/README.md +++ b/README.md @@ -6,6 +6,14 @@ A Tunnel which turns UDP Traffic into Encrypted FakeTCP/UDP/ICMP Traffic by usin It can tunnel any traffic when used together with a UDP-based VPN(such as OpenVPN).Check [this link](https://github.com/wangyu-/udp2raw-tunnel#tunneling-any-traffic-via-raw-traffic-by-using-udp2raw-openvpn) for more info. [简体中文](/doc/README.zh-cn.md) +# Frequently Asked Questions +### Q:What is the advantage of using udp2raw FakeTCP mode,Why not use OpenVPN TCP mode? +Answer:TCP doesnt allow real-time/out-of-order delivery.If you use OpenVPN TCP mode to turn UDP traffic to TCP,there will be latency issue:The loss of a single packet blocks all following packet until re-transmission is done.This will cause unacceptable delay for gaming and voice chatting. + +TCP also has re-transmission and congestion control which cant be disabled.For UDP re-transmission is usually un-necessary,bandwith will be wasted for re-transmission.UDP programs usualy want to control packet sending rate by themselves.If you use OpenVPN TCP mode this cant be done because of the underlaying TCP protocol.Further more,with the re-transmission of underlaying TCP,if you send too many udp packets via an OpenVPN TCP connection,the connection will become completely unusable for a while(It will eventually recover as most of the re-transmission is done,but it will take a long time). + +For udp2raw there is no underlying TCP protocol,udp2raw just add TCP headers to UDP packets directly.It doesnt have all above issues. + # Support Platforms Linux host (including desktop Linux,Android phone/tablet,OpenWRT router,or Raspberry PI) with root access. From 64f97299a23ad77ec397b0345557da5655e0c4a9 Mon Sep 17 00:00:00 2001 From: wangyu- Date: Fri, 1 Sep 2017 09:53:36 -0700 Subject: [PATCH 02/14] Update README.md --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c1a2f2f..97d84c5 100755 --- a/README.md +++ b/README.md @@ -8,11 +8,16 @@ It can tunnel any traffic when used together with a UDP-based VPN(such as OpenVP [简体中文](/doc/README.zh-cn.md) # Frequently Asked Questions ### Q:What is the advantage of using udp2raw FakeTCP mode,Why not use OpenVPN TCP mode? -Answer:TCP doesnt allow real-time/out-of-order delivery.If you use OpenVPN TCP mode to turn UDP traffic to TCP,there will be latency issue:The loss of a single packet blocks all following packet until re-transmission is done.This will cause unacceptable delay for gaming and voice chatting. +Answer:TCP doesnt allow real-time/out-of-order delivery. If you use OpenVPN TCP mode to turn UDP traffic to TCP,there will be latency issue:the loss of a single packet blocks all following packet until re-transmission is done. This will cause unacceptable delay for gaming and voice chatting. -TCP also has re-transmission and congestion control which cant be disabled.For UDP re-transmission is usually un-necessary,bandwith will be wasted for re-transmission.UDP programs usualy want to control packet sending rate by themselves.If you use OpenVPN TCP mode this cant be done because of the underlaying TCP protocol.Further more,with the re-transmission of underlaying TCP,if you send too many udp packets via an OpenVPN TCP connection,the connection will become completely unusable for a while(It will eventually recover as most of the re-transmission is done,but it will take a long time). +TCP also has re-transmission and congestion control which cant be disabled. For UDP re-transmission is usually un-necessary,bandwith will be wasted for re-transmission. UDP programs usualy want to control packet sending rate by themselves. If you use OpenVPN TCP mode this cant be done because of the congestion control of underlaying TCP protocol. Further more,with the re-transmission of underlaying TCP,if you send too many udp packets via an OpenVPN TCP connection,the connection will become completely unusable for a while(It will eventually recover as most of the re-transmission is done,but it wont be will soon). -For udp2raw there is no underlying TCP protocol,udp2raw just add TCP headers to UDP packets directly.It doesnt have all above issues. +For udp2raw there is no underlying TCP protocol,udp2raw just add TCP headers to UDP packets directly by using raw socket. It supports real-time/out-of-order delivery,there is no re-transmission and congestion control. It doesnt have all above issues. + +### Q:Is udp2raw designed for replacing VPN? +Answer:No. Udp2raw is designed for bypassing UDP restriction. It doesnt have all of the features a VPN has. + +Instead of replacing VPN,udp2raw can be used with any UDP-base VPN together to grant it the ablity of bypassing UDP restriction.Check [this link](https://github.com/wangyu-/udp2raw-tunnel#tunneling-any-traffic-via-raw-traffic-by-using-udp2raw-openvpn) for more info. # Support Platforms Linux host (including desktop Linux,Android phone/tablet,OpenWRT router,or Raspberry PI) with root access. From 065f4d73fa456612b07c3bbc3629c2b6809db75b Mon Sep 17 00:00:00 2001 From: wangyu- Date: Fri, 1 Sep 2017 10:00:14 -0700 Subject: [PATCH 03/14] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 97d84c5..c970736 100755 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ For udp2raw there is no underlying TCP protocol,udp2raw just add TCP headers to ### Q:Is udp2raw designed for replacing VPN? Answer:No. Udp2raw is designed for bypassing UDP restriction. It doesnt have all of the features a VPN has. -Instead of replacing VPN,udp2raw can be used with any UDP-base VPN together to grant it the ablity of bypassing UDP restriction.Check [this link](https://github.com/wangyu-/udp2raw-tunnel#tunneling-any-traffic-via-raw-traffic-by-using-udp2raw-openvpn) for more info. +Instead of replacing VPN,udp2raw can be used with any UDP-base VPN together to grant it the ablity of bypassing UDP restriction. Check [this link](https://github.com/wangyu-/udp2raw-tunnel#tunneling-any-traffic-via-raw-traffic-by-using-udp2raw-openvpn) for more info. # Support Platforms Linux host (including desktop Linux,Android phone/tablet,OpenWRT router,or Raspberry PI) with root access. From ff6f4b4005be0ca94e69751cc2eab04e383d4ada Mon Sep 17 00:00:00 2001 From: wangyu- Date: Fri, 1 Sep 2017 10:08:14 -0700 Subject: [PATCH 04/14] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c970736..e7f34e2 100755 --- a/README.md +++ b/README.md @@ -7,15 +7,15 @@ It can tunnel any traffic when used together with a UDP-based VPN(such as OpenVP [简体中文](/doc/README.zh-cn.md) # Frequently Asked Questions -### Q:What is the advantage of using udp2raw FakeTCP mode,Why not use OpenVPN TCP mode? -Answer:TCP doesnt allow real-time/out-of-order delivery. If you use OpenVPN TCP mode to turn UDP traffic to TCP,there will be latency issue:the loss of a single packet blocks all following packet until re-transmission is done. This will cause unacceptable delay for gaming and voice chatting. +### Q: What is the advantage of using udp2raw FakeTCP mode,Why not use OpenVPN TCP mode? +Answer: TCP doesnt allow real-time/out-of-order delivery. If you use OpenVPN TCP mode to turn UDP traffic to TCP,there will be latency issue:the loss of a single packet blocks all following packet until re-transmission is done. This will cause unacceptable delay for gaming and voice chatting. TCP also has re-transmission and congestion control which cant be disabled. For UDP re-transmission is usually un-necessary,bandwith will be wasted for re-transmission. UDP programs usualy want to control packet sending rate by themselves. If you use OpenVPN TCP mode this cant be done because of the congestion control of underlaying TCP protocol. Further more,with the re-transmission of underlaying TCP,if you send too many udp packets via an OpenVPN TCP connection,the connection will become completely unusable for a while(It will eventually recover as most of the re-transmission is done,but it wont be will soon). For udp2raw there is no underlying TCP protocol,udp2raw just add TCP headers to UDP packets directly by using raw socket. It supports real-time/out-of-order delivery,there is no re-transmission and congestion control. It doesnt have all above issues. -### Q:Is udp2raw designed for replacing VPN? -Answer:No. Udp2raw is designed for bypassing UDP restriction. It doesnt have all of the features a VPN has. +### Q: Is udp2raw designed for replacing VPN? +Answer: No. Udp2raw is designed for bypassing UDP restriction. It doesnt have all of the features a VPN has. Instead of replacing VPN,udp2raw can be used with any UDP-base VPN together to grant it the ablity of bypassing UDP restriction. Check [this link](https://github.com/wangyu-/udp2raw-tunnel#tunneling-any-traffic-via-raw-traffic-by-using-udp2raw-openvpn) for more info. From 063931d1c1377663f1275434ca36391ad77813a7 Mon Sep 17 00:00:00 2001 From: wangyu- Date: Fri, 1 Sep 2017 10:10:20 -0700 Subject: [PATCH 05/14] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e7f34e2..16cb267 100755 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ For udp2raw there is no underlying TCP protocol,udp2raw just add TCP headers to ### Q: Is udp2raw designed for replacing VPN? Answer: No. Udp2raw is designed for bypassing UDP restriction. It doesnt have all of the features a VPN has. -Instead of replacing VPN,udp2raw can be used with any UDP-base VPN together to grant it the ablity of bypassing UDP restriction. Check [this link](https://github.com/wangyu-/udp2raw-tunnel#tunneling-any-traffic-via-raw-traffic-by-using-udp2raw-openvpn) for more info. +Instead of replacing VPN,udp2raw can be used with any UDP-base VPN together to grant it the ablity of bypassing UDP restrictions. Check [this link](https://github.com/wangyu-/udp2raw-tunnel#tunneling-any-traffic-via-raw-traffic-by-using-udp2raw-openvpn) for more info. # Support Platforms Linux host (including desktop Linux,Android phone/tablet,OpenWRT router,or Raspberry PI) with root access. From 215f2a82f262ead7c2d96fb4f2bae57b325bb42f Mon Sep 17 00:00:00 2001 From: wangyu- Date: Fri, 1 Sep 2017 10:16:56 -0700 Subject: [PATCH 06/14] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 16cb267..42a08dd 100755 --- a/README.md +++ b/README.md @@ -15,9 +15,11 @@ TCP also has re-transmission and congestion control which cant be disabled. For For udp2raw there is no underlying TCP protocol,udp2raw just add TCP headers to UDP packets directly by using raw socket. It supports real-time/out-of-order delivery,there is no re-transmission and congestion control. It doesnt have all above issues. ### Q: Is udp2raw designed for replacing VPN? -Answer: No. Udp2raw is designed for bypassing UDP restriction. It doesnt have all of the features a VPN has. +Answer: No. Udp2raw is designed for bypassing UDP restrictions. It doesnt have all of the features a VPN has. -Instead of replacing VPN,udp2raw can be used with any UDP-base VPN together to grant it the ablity of bypassing UDP restrictions. Check [this link](https://github.com/wangyu-/udp2raw-tunnel#tunneling-any-traffic-via-raw-traffic-by-using-udp2raw-openvpn) for more info. +Instead of replacing VPN,udp2raw can be used with any UDP-based VPN together to grant it the ablity of bypassing UDP restrictions,while not having the performance issue involved by a TCP-based VPN. + +Check [this link](https://github.com/wangyu-/udp2raw-tunnel#tunneling-any-traffic-via-raw-traffic-by-using-udp2raw-openvpn) for more info. # Support Platforms Linux host (including desktop Linux,Android phone/tablet,OpenWRT router,or Raspberry PI) with root access. From 6c865cc5abfa22e728576f27abc0b84e52c04ebd Mon Sep 17 00:00:00 2001 From: wangyu- Date: Fri, 1 Sep 2017 10:20:38 -0700 Subject: [PATCH 07/14] Update README.md --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 42a08dd..e678381 100755 --- a/README.md +++ b/README.md @@ -17,9 +17,7 @@ For udp2raw there is no underlying TCP protocol,udp2raw just add TCP headers to ### Q: Is udp2raw designed for replacing VPN? Answer: No. Udp2raw is designed for bypassing UDP restrictions. It doesnt have all of the features a VPN has. -Instead of replacing VPN,udp2raw can be used with any UDP-based VPN together to grant it the ablity of bypassing UDP restrictions,while not having the performance issue involved by a TCP-based VPN. - -Check [this link](https://github.com/wangyu-/udp2raw-tunnel#tunneling-any-traffic-via-raw-traffic-by-using-udp2raw-openvpn) for more info. +Instead of replacing VPN,udp2raw can be used with any UDP-based VPN together to grant it the ablity of bypassing UDP restrictions,while not having the performance issue involved by a TCP-based VPN. Check [this link](https://github.com/wangyu-/udp2raw-tunnel#tunneling-any-traffic-via-raw-traffic-by-using-udp2raw-openvpn) for more info. # Support Platforms Linux host (including desktop Linux,Android phone/tablet,OpenWRT router,or Raspberry PI) with root access. From 7fa5b90be88c3ae42b3b4c30e14ff41424dfe28a Mon Sep 17 00:00:00 2001 From: wangyu- Date: Fri, 1 Sep 2017 10:23:22 -0700 Subject: [PATCH 08/14] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e678381..b586019 100755 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ It can tunnel any traffic when used together with a UDP-based VPN(such as OpenVP ### Q: What is the advantage of using udp2raw FakeTCP mode,Why not use OpenVPN TCP mode? Answer: TCP doesnt allow real-time/out-of-order delivery. If you use OpenVPN TCP mode to turn UDP traffic to TCP,there will be latency issue:the loss of a single packet blocks all following packet until re-transmission is done. This will cause unacceptable delay for gaming and voice chatting. -TCP also has re-transmission and congestion control which cant be disabled. For UDP re-transmission is usually un-necessary,bandwith will be wasted for re-transmission. UDP programs usualy want to control packet sending rate by themselves. If you use OpenVPN TCP mode this cant be done because of the congestion control of underlaying TCP protocol. Further more,with the re-transmission of underlaying TCP,if you send too many udp packets via an OpenVPN TCP connection,the connection will become completely unusable for a while(It will eventually recover as most of the re-transmission is done,but it wont be will soon). +TCP also has re-transmission and congestion control which cant be disabled. UDP programs usualy want to control packet sending rate by themselves. If you use OpenVPN TCP mode this cant be done because of the congestion control of underlaying TCP protocol. Further more,with the re-transmission of underlaying TCP,if you send too many udp packets via an OpenVPN TCP connection,the connection will become completely unusable for a while(It will eventually recover as most of the re-transmission is done,but it wont be very soon). For udp2raw there is no underlying TCP protocol,udp2raw just add TCP headers to UDP packets directly by using raw socket. It supports real-time/out-of-order delivery,there is no re-transmission and congestion control. It doesnt have all above issues. From 3cbad7df2307e8b0bcc43df941f7f2dc8d778ec3 Mon Sep 17 00:00:00 2001 From: wangyu- Date: Fri, 1 Sep 2017 10:27:08 -0700 Subject: [PATCH 09/14] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b586019..7a9ef53 100755 --- a/README.md +++ b/README.md @@ -8,9 +8,9 @@ It can tunnel any traffic when used together with a UDP-based VPN(such as OpenVP [简体中文](/doc/README.zh-cn.md) # Frequently Asked Questions ### Q: What is the advantage of using udp2raw FakeTCP mode,Why not use OpenVPN TCP mode? -Answer: TCP doesnt allow real-time/out-of-order delivery. If you use OpenVPN TCP mode to turn UDP traffic to TCP,there will be latency issue:the loss of a single packet blocks all following packet until re-transmission is done. This will cause unacceptable delay for gaming and voice chatting. +Answer: **TCP doesnt allow real-time/out-of-order delivery**. **If you use OpenVPN TCP mode to turn UDP traffic into TCP,there will be latency issue**:the loss of a single packet blocks all following packet until re-transmission is done. This will cause unacceptable delay for gaming and voice chatting. -TCP also has re-transmission and congestion control which cant be disabled. UDP programs usualy want to control packet sending rate by themselves. If you use OpenVPN TCP mode this cant be done because of the congestion control of underlaying TCP protocol. Further more,with the re-transmission of underlaying TCP,if you send too many udp packets via an OpenVPN TCP connection,the connection will become completely unusable for a while(It will eventually recover as most of the re-transmission is done,but it wont be very soon). +**TCP also has re-transmission and congestion control which cant be disabled.** UDP programs usualy want to control packet sending rate by themselves. If you use OpenVPN TCP mode this cant be done because of the congestion control of underlaying TCP protocol. Further more,with the re-transmission of underlaying TCP,**if you send too many udp packets via an OpenVPN TCP connection,the connection will become completely unusable for a while**(It will eventually recover as most of the re-transmission is done,but it wont be very soon). For udp2raw there is no underlying TCP protocol,udp2raw just add TCP headers to UDP packets directly by using raw socket. It supports real-time/out-of-order delivery,there is no re-transmission and congestion control. It doesnt have all above issues. From 91904d6311e62790e25f56e8a1a1b94040913089 Mon Sep 17 00:00:00 2001 From: wangyu- Date: Fri, 1 Sep 2017 10:29:34 -0700 Subject: [PATCH 10/14] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7a9ef53..830db65 100755 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Answer: **TCP doesnt allow real-time/out-of-order delivery**. **If you use OpenV **TCP also has re-transmission and congestion control which cant be disabled.** UDP programs usualy want to control packet sending rate by themselves. If you use OpenVPN TCP mode this cant be done because of the congestion control of underlaying TCP protocol. Further more,with the re-transmission of underlaying TCP,**if you send too many udp packets via an OpenVPN TCP connection,the connection will become completely unusable for a while**(It will eventually recover as most of the re-transmission is done,but it wont be very soon). -For udp2raw there is no underlying TCP protocol,udp2raw just add TCP headers to UDP packets directly by using raw socket. It supports real-time/out-of-order delivery,there is no re-transmission and congestion control. It doesnt have all above issues. +For udp2raw there is no underlying TCP protocol,udp2raw just add TCP headers to UDP packets directly by using raw socket. It supports real-time/out-of-order delivery,there is no re-transmission and congestion control. **Udp2raw doesnt have all above issues**. ### Q: Is udp2raw designed for replacing VPN? Answer: No. Udp2raw is designed for bypassing UDP restrictions. It doesnt have all of the features a VPN has. From fc796641a14e724506b221ae57cb64aeb34e0bb3 Mon Sep 17 00:00:00 2001 From: wangyu- Date: Fri, 1 Sep 2017 11:21:27 -0700 Subject: [PATCH 11/14] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 830db65..22ffbdc 100755 --- a/README.md +++ b/README.md @@ -7,11 +7,13 @@ It can tunnel any traffic when used together with a UDP-based VPN(such as OpenVP [简体中文](/doc/README.zh-cn.md) # Frequently Asked Questions -### Q: What is the advantage of using udp2raw FakeTCP mode,Why not use OpenVPN TCP mode? +### Q: What is the advantage of using udp2raw FakeTCP mode,Why not use a TCP-based VPN(such as OpenVPN TCP mode)? Answer: **TCP doesnt allow real-time/out-of-order delivery**. **If you use OpenVPN TCP mode to turn UDP traffic into TCP,there will be latency issue**:the loss of a single packet blocks all following packet until re-transmission is done. This will cause unacceptable delay for gaming and voice chatting. **TCP also has re-transmission and congestion control which cant be disabled.** UDP programs usualy want to control packet sending rate by themselves. If you use OpenVPN TCP mode this cant be done because of the congestion control of underlaying TCP protocol. Further more,with the re-transmission of underlaying TCP,**if you send too many udp packets via an OpenVPN TCP connection,the connection will become completely unusable for a while**(It will eventually recover as most of the re-transmission is done,but it wont be very soon). +Those issues exist for almost all TCP-based VPNs. + For udp2raw there is no underlying TCP protocol,udp2raw just add TCP headers to UDP packets directly by using raw socket. It supports real-time/out-of-order delivery,there is no re-transmission and congestion control. **Udp2raw doesnt have all above issues**. ### Q: Is udp2raw designed for replacing VPN? From 1b72661b4918ddab0e5e6e234af7aae3a6be8d29 Mon Sep 17 00:00:00 2001 From: wangyu- Date: Fri, 1 Sep 2017 11:57:12 -0700 Subject: [PATCH 12/14] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 22ffbdc..df1701a 100755 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ It can tunnel any traffic when used together with a UDP-based VPN(such as OpenVP [简体中文](/doc/README.zh-cn.md) # Frequently Asked Questions -### Q: What is the advantage of using udp2raw FakeTCP mode,Why not use a TCP-based VPN(such as OpenVPN TCP mode)? +### Q: What is the advantage of using udp2raw FakeTCP mode,why not use a TCP-based VPN(such as OpenVPN TCP mode)? Answer: **TCP doesnt allow real-time/out-of-order delivery**. **If you use OpenVPN TCP mode to turn UDP traffic into TCP,there will be latency issue**:the loss of a single packet blocks all following packet until re-transmission is done. This will cause unacceptable delay for gaming and voice chatting. **TCP also has re-transmission and congestion control which cant be disabled.** UDP programs usualy want to control packet sending rate by themselves. If you use OpenVPN TCP mode this cant be done because of the congestion control of underlaying TCP protocol. Further more,with the re-transmission of underlaying TCP,**if you send too many udp packets via an OpenVPN TCP connection,the connection will become completely unusable for a while**(It will eventually recover as most of the re-transmission is done,but it wont be very soon). @@ -17,7 +17,7 @@ Those issues exist for almost all TCP-based VPNs. For udp2raw there is no underlying TCP protocol,udp2raw just add TCP headers to UDP packets directly by using raw socket. It supports real-time/out-of-order delivery,there is no re-transmission and congestion control. **Udp2raw doesnt have all above issues**. ### Q: Is udp2raw designed for replacing VPN? -Answer: No. Udp2raw is designed for bypassing UDP restrictions. It doesnt have all of the features a VPN has. +Answer: No. Udp2raw is designed for bypassing UDP restrictions. It doesnt have all of the features a VPN has(such as transparently redirect traffic). Instead of replacing VPN,udp2raw can be used with any UDP-based VPN together to grant it the ablity of bypassing UDP restrictions,while not having the performance issue involved by a TCP-based VPN. Check [this link](https://github.com/wangyu-/udp2raw-tunnel#tunneling-any-traffic-via-raw-traffic-by-using-udp2raw-openvpn) for more info. From 106ac966710623f408fd2f0cab47f0464d9afdd2 Mon Sep 17 00:00:00 2001 From: wangyu- Date: Fri, 1 Sep 2017 12:00:56 -0700 Subject: [PATCH 13/14] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index df1701a..adb88d4 100755 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Those issues exist for almost all TCP-based VPNs. For udp2raw there is no underlying TCP protocol,udp2raw just add TCP headers to UDP packets directly by using raw socket. It supports real-time/out-of-order delivery,there is no re-transmission and congestion control. **Udp2raw doesnt have all above issues**. ### Q: Is udp2raw designed for replacing VPN? -Answer: No. Udp2raw is designed for bypassing UDP restrictions. It doesnt have all of the features a VPN has(such as transparently redirect traffic). +Answer: No. Udp2raw is designed for bypassing UDP restrictions. It doesnt have all of the features a VPN has(such as transparently redirect all traffic). Instead of replacing VPN,udp2raw can be used with any UDP-based VPN together to grant it the ablity of bypassing UDP restrictions,while not having the performance issue involved by a TCP-based VPN. Check [this link](https://github.com/wangyu-/udp2raw-tunnel#tunneling-any-traffic-via-raw-traffic-by-using-udp2raw-openvpn) for more info. From 0aba2ab7ba56f89ce6ae883806975545a8ec05d9 Mon Sep 17 00:00:00 2001 From: wangyu- Date: Fri, 1 Sep 2017 15:34:01 -0700 Subject: [PATCH 14/14] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index adb88d4..f095928 100755 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ It can tunnel any traffic when used together with a UDP-based VPN(such as OpenVP ### Q: What is the advantage of using udp2raw FakeTCP mode,why not use a TCP-based VPN(such as OpenVPN TCP mode)? Answer: **TCP doesnt allow real-time/out-of-order delivery**. **If you use OpenVPN TCP mode to turn UDP traffic into TCP,there will be latency issue**:the loss of a single packet blocks all following packet until re-transmission is done. This will cause unacceptable delay for gaming and voice chatting. -**TCP also has re-transmission and congestion control which cant be disabled.** UDP programs usualy want to control packet sending rate by themselves. If you use OpenVPN TCP mode this cant be done because of the congestion control of underlaying TCP protocol. Further more,with the re-transmission of underlaying TCP,**if you send too many udp packets via an OpenVPN TCP connection,the connection will become completely unusable for a while**(It will eventually recover as most of the re-transmission is done,but it wont be very soon). +**TCP also has re-transmission and congestion control which cant be disabled.** UDP programs usualy want to control packet sending rate by themselves. If you use OpenVPN TCP mode this cant be done because of the congestion control of underlying TCP protocol. Further more,with the re-transmission of underlying TCP,**if you send too many udp packets via an OpenVPN TCP connection,the connection will become completely unusable for a while**(It will eventually recover as most of the re-transmission is done,but it wont be very soon). Those issues exist for almost all TCP-based VPNs.