I am slightly going mad. Even if I call socat like this:
socat -vvvv tcp4-listen:9000 tcp4-listen:9001
it works perfectly, but doesn't inform me about incoming TCP connections! Is there an additional verbosity option that makes socat show this information, something like
Connection from XYZ
Can't be such a special function, or can it?
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: