Anyone know of user-space tools providing forward error correction with/for tunnelling a stream over UDP on Linux?

I found Trafficsqueezer, utunnel and toutunnel which implement TCP over UDP, but none seem to provide Forward Error Control.

(for the benefit of those browsing through these questions, not familiar with WAN optimization: Limit on Bandwidth = MSS/(RTT*SQRT(p)) where SQRT(p) is the square root of the packet loss)

  • 2
    Well, fec is easy to do yourself, but it's not really good for WAN, but for e.g. satellite broadcast, where single packets are dropped. In WAN, there are either bitrate drops, or few second to few minutes outages, depends how far you are streaming. Check out STCP, it does good job, but for WAN the best is to use proper TCP with rateshaping you do yourself and RT Linux. So you encapsulate in TCP, and when making it UDP again, you need to rateshape it. You need to go zigzag on WAN using TCP. For rateshaping Redhat MRG (centos) is very good. Oct 29 '12 at 12:48
  • Simply FEC doesnt work for WAN. Oct 29 '12 at 12:58


One that showed up on HN recently was UDPSpeeder and may have what you were looking for. UDPSpeeder implements FEC. Apologies for answering several years late.

  • 1
    I'll accept that as an answer (I ended up using udpcast with a TCP control channel)
    – symcbean
    Dec 15 '18 at 1:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.