Shit network guys say : "You can't fix a bad connection by stuffing more data down the pipe".
Well, yes you can. Someone finally wrote a mostly proof-of-concept app that uses parity and FEC to repair packet loss in realtime for a parity overhead cost.
https://github.com/wangyu-/tinyfecVPN
So, if you're stuck on a link that has randomly distributed packet loss, you _can_ make it go away - although you can't fix things like excess latency or large bursts of sequential packet loss( although he implemented optional interleaving to fix some sequential packet loss ) . The amount of parity overhead is configurable.
I've always wondered why this hasn't been invented for running VoIP on shitty internet connections (tunneling only the voip and not the other traffic). Granted, this a sub-optimal solution to a problem that should be dealt with a "fix the network" wrench, but I think it's cool anyway. I'll certainly be trying it out the next time I'm using a craptastic wifi or 3G connection.
Cliff notes: you have to compile it yourself because his server binary has internet routing disabled for obscure legal reasons in some countries that disallow VPN. If you're going to run this on a VPS, your provider needs to enable 'tun' for you. Here's the page that shows you how to route traffic through the tunnel
No comments:
Post a Comment