socat: Show incoming connections
Solution 1:
By old habit I am just used to grouping arguments together like -dddd
for more verbose debugging, but when I actually tried what the manpage said (-d -d
) it worked just fine. For logging connections, just do:
socat -d -d tcp4-listen:9000 tcp4-listen:9001