4 ms·
Interesting, but what is a TCP wrapper?
by iamcreasy 3y ago
Interesting, but what is a TCP wrapper?
- kstrauser 3y agoSomething that handles the TCP connections and passes them to the wrapped program’s stdin and stdout. Back in the day, lots of network daemons were written as command line tools and executed via inetd.
- deleted 3y ago[deleted]
- kqr 3y agoIs there a modern solution for this that isn't some variant of FastCGI? I know it's inadvisable but sometimes I would like to write a proof of concept that doesn't require me to code a reliable, long-running process.
- ncruces 3y agoCompile a CGI program in any language to WASI, then use https://github.com/deislabs/wagi https://github.com/deislabs/wagi to run it.
- kstrauser 3y agoinetd still exists. I’d probably just use that. Edit: There's a CGI plugin for Caddy that looks easy to set up: https://github.com/aksdb/caddy-cgi https://github.com/aksdb/caddy-cgi