News for hackers. Stuff that matters.
Re:Mullvad VPN Introducing WireGuard over TCP and IPv6 by 1_player on Wednesday November 03, 2021 @10:09AM (#29094769)
Everybody commenting that WireGuard over TCP is a bad idea, and TFA explains why it exists:

"WireGuard out of the box works only over UDP. This can cause problems because UDP is blocked on many public networks like in cafes and on trains. That’s why we’re introducing a solution for WireGuard over TCP."

Yeah, it's a bad idea, but sometimes it's necessary.

Re:Mullvad VPN Introducing WireGuard over TCP and IPv6 by kd913 on Wednesday November 03, 2021 @12:17PM (#29096740)
We understand why it exists. Although it would be nice if the issue was up front so people can be aware of the problem.

If they have an innovation that solved the TCP meltdown issue that would be interesting.

Re:Mullvad VPN Introducing WireGuard over TCP and IPv6 by IceWreck on Wednesday November 03, 2021 @08:31AM (#29093694)
How does Wireguard over TCP even work. Its not designed that way.

Some sort of UDP in TCP encapsulation ?

Re:Mullvad VPN Introducing WireGuard over TCP and IPv6 by evgen on Thursday November 04, 2021 @03:19AM (#29104293)
Exactly that. They are including an encapsulation option on their client package and running something on the server side to listen/decode the TCP and shove it back into udp. I have run a wireguard server behind udptunnel for the same reasons in the past and it looks like they are simply setting their own internal standard.
Re:Mullvad VPN Introducing WireGuard over TCP and IPv6 by technerder on Wednesday November 03, 2021 @01:25PM (#29097703)
The article mentions that places such as cafes and trains block UDP. What is the reasoning for this?
Re:Mullvad VPN Introducing WireGuard over TCP and IPv6 by evgen on Wednesday November 03, 2021 @01:36PM (#29097856)
For the most part, if I am providing wifi in a place like that the only thing I want you to do is browse the web. I am not interested in your desire to run a torrent client, stream netflix, or do something else that consumes a significant amount of bandwidth. Most UDP applications are also rather poor when it comes to congestion control and in general do not play nice with the other children. These companies have better things to do than to provide IT support for people trying to use the wifi, so you block all UDP and force re-direct port 53 UDP (DNS lookups) to go to a resolver that you are going to provide in the DHCP lease. This also means that wireguard is not an option for most people if they are on these networks.
Re:Mullvad VPN Introducing WireGuard over TCP and IPv6 by technerder on Wednesday November 03, 2021 @01:46PM (#29098014)
That actually makes a lot of sense, thank you!
Re:Mullvad VPN Introducing WireGuard over TCP and IPv6 by kd913 on Wednesday November 03, 2021 @09:16AM (#29094152)
There are very good reasons why it's a bad idea to run a VPN on top of TCP.

https://www.youtube.com/watch?v=AAssk2N_oPk

Re:Mullvad VPN Introducing WireGuard over TCP and IPv6 by tata71 on Wednesday November 03, 2021 @09:37AM (#29094339)
For those that aren't loading such domains these days: brief (even incomplete) list of points appreciated.
Re:Mullvad VPN Introducing WireGuard over TCP and IPv6 by anderiv on Wednesday November 03, 2021 @09:44AM (#29094439)
Assuming you’re tunneling TCP inside of TCP, then in the event of non-perfect network conditions, you have two layers of the stack that are now trying to adjust the TCP flow parameters, re-transmit packets, etc. This will frequently end up in a situation where overall performance of the link is significantly worse than it needs to be.