Is there any way to setup some kind of proxy between a program and a server?
We have a service running some shady and obscure protocol that I am trying to port to PHP but not a lot of information is available regarding this protocol, so I want to kinda reverse engineer it by looking at the traffic going on between this program and the remote server.
Is there any way to have a STORE&FORWARD thing on a port?
I mean, let's say this program connects to server X on port n
Client --------------------> X:n
Then, what I want to do is:
Client ------> Client:n ----------> X:n
And have the stream saved to a file
Are there any ready-made solutions for this, and how does one call this kinda beast?