5 ms·
Could you point to an open source TCP proxy that you'd consider production worthy with an approachable code base?
by pacmanfan 9y ago
Could you point to an open source TCP proxy that you'd consider production worthy with an approachable code base?
- jonhohle 9y agohttp://nginx.org http://nginx.org
- pacmanfan 9y agoI assumed (without looking) that because of all of the features, the nginx codebase wouldn't be that east to read. I'll give it a try!
- LoSboccacc 9y agohaproxy is quite well documented
- toast0 9y agostud is pretty approachable and production worthy; I assume hitch [1] remains so, if you dropped the TLS termination, it would just be a TCP proxy as well. [1] https://hitch-tls.org/ https://hitch-tls.org/
- user5994461 9y agoHAProxy is the gold standard. nginx and apache only do HTTP(S). Don't support TCP.
- jorams 9y ago> nginx and apache only do HTTP(S). Don't support TCP. That's not entirely accurate. For nginx, for example, there's the ngx_stream_core_module[1]. It's not particularly well-documented though, so I don't know much about it. [1]: https://nginx.org/en/docs/stream/ngx_stream_core_module.html https://nginx.org/en/docs/stream/ngx_stream_core_module.html
- user5994461 9y agoIt's totally experimental. It's only been made a few months ago. It's not even compiled into the official distribution, you gotta compile nginx yourself with special flags. For the sake of god, please don't have your entire site run on experimental software like that. ^^