News for hackers. Stuff that matters.
Re:WireGuard 1.0 for Linux 5.6 by middleclick on Monday March 30, 2020 @09:41AM (#22727917)
On that note, I wish and hope Wireguard did TCP as well. Some countries block UDP traffic or at least throttle it.
Re:WireGuard 1.0 for Linux 5.6 by kertis on Monday March 30, 2020 @10:38AM (#22728338)
As I know WireGuard team have no plans and desire for that.
Re:WireGuard 1.0 for Linux 5.6 by djsumdog on Monday March 30, 2020 @12:50PM (#22729663)
huh .. OpenVPN is UDP by default but you can force it to TCP (we had to do that at one University site that would only open limited tcp ports for us).

I also discovered Wireguard cannot bind to a specific adapter or IP address if you have multiple address on a server. That might not seem like as a big a deal since it only responds to fully authenticated packets, but it does mean that outgoing packets could be leaving from a different IP address than incoming packets.

It's weird that something that's now making it into mainline can't do this very simple kind of bind that almost every other userlevel service, and OpenVPN, can do.

Re:WireGuard 1.0 for Linux 5.6 by RcrdBrt on Monday March 30, 2020 @01:53PM (#22730354)
Re:WireGuard 1.0 for Linux 5.6 by jeltz on Monday March 30, 2020 @09:46AM (#22727941)
Maybe the best solution is to use a tool like https://github.com/wangyu-/udp2raw-tunnel.
Re:WireGuard 1.0 for Linux 5.6 by middleclick on Monday March 30, 2020 @09:51AM (#22727979)
I know, but the performance takes a massive hit. Have you tried it? Maybe it was something I did wrong.
Re:WireGuard 1.0 for Linux 5.6 by labawi on Monday March 30, 2020 @12:32PM (#22729430)
Native wireguard is kernel-only. Udp2raw creates a detour via userspace, so more CPU time, delay, jitter ..

Was it worse than you would expect? Worse than say openvpn or wireguard-rs/wireguard-go?

Re:WireGuard 1.0 for Linux 5.6 by RcrdBrt on Monday March 30, 2020 @01:54PM (#22730368)
It's not that bad. Overhead is less than a full TCP encapsulation. I use it all the time
Re:WireGuard 1.0 for Linux 5.6 by api on Monday March 30, 2020 @10:24AM (#22728246)
ISPs or countries?
Re:WireGuard 1.0 for Linux 5.6 by fnordsensei on Monday March 30, 2020 @11:33AM (#22728803)
In some cases, countries. In the country I'm thinking of (name omitted on purpose), you have an effective choice of two ISPs, both government-controlled.
Re:WireGuard 1.0 for Linux 5.6 by api on Monday March 30, 2020 @01:17PM (#22729943)
Do they actually block/throttle all UDP?

What about encrypted TCP? Do they block/throttle everything but web and recognized traffic? If that's the case wrapping WG or ZeroTier or whatever in TCP would do nothing since it would still look like a weird unrecognized protocol with a max entropy (encrypted) data stream.

Re:WireGuard 1.0 for Linux 5.6 by alexellisuk on Monday March 30, 2020 @10:54AM (#22728492)
Have you taken a look at inlets / inlets PRO? Might be a suitable replacement for your use-case where UDP is not available. https://docs.inlets.dev/