On Thu, Mar 31, 2011 at 10:10:58AM +0100, Mark Rogers wrote:
On 31/03/11 09:10, Richard Parsons wrote:
Wouldn't the "something" be netcat and tee. I googled and came up with these:
http://smaftoul.wordpress.com/2009/05/13/netcat-as-a-logging-tcp-proxy/ http://blog.hawkhost.com/2009/12/12/using-netcat-as-an-intercepting-proxy/
The problem with these approaches is (as I understand them) I end up with two files (an incoming and an outgoing) with no way to "merge" them to see the sequence of the conversation?
Couldn't you just use the same filename for both tee commands? You could even echo something before each one so you knew which were in-bound and which were out-bound. Am I missing something?