Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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)

share|improve this question
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. – Andrew Smith Oct 29 '12 at 12:48
Simply FEC doesnt work for WAN. – Andrew Smith Oct 29 '12 at 12:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.