I have made a simple TCP proxy that rewrtites requests using netcat like so:
nc -q -1 -k -l 8080 < myfifo | sed -u 's/something/something_else/' | nc -q -1 example.com 80 > myfifo
However, when clients try to connect through the proxy, some (but not all!) just time out. What am I missing?
Edit: I am using the OpenBSD version of netcat.