Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Proxy tool for beginners

Status
Not open for further replies.

markgargan

Programmer
Apr 4, 2005
25
IE
Hi folks,

I was learning what I think was apache a couple of years ago. Bundled with the server was a small app that bound itself on a port. It listened for requests and output the requests before forwarding the request to the actual appserver.

It was beginners facility for having a look at the kind of information being passed too and from the server.
Does anyone know what it is and where I could find it?

Thanks again,
Mark.
 
what exactly are you looking for?


``The wise man doesn't give the right answers,
he poses the right questions.''
TIMTOWTDI
 
Some application that stands between the Client and the
server. It's like a server itself that intercepts requests and
then forwards them to the server.

If I remember correctly it's port number was around 5050 or
something like it.

I'm looking to intercept the requests and build up a conversation between the client and the server that I can
replay with httpUnit.

Thanks,
Mark.

 
The apache axis project contains a simple tcp monitoring tool thats light weight and very handy for capturing http conversations. I can listen on multiple ports at once and forward to differnent hosts

You only need the axis.jar and a simple command line like below. You can also start listining via the UI that starts up

8080 is the port tcpmon listens to on whatever box you start it up on. It then forwards to realhost at port 80 or whatever you want.

%java_home%\bin\java -cp path_to\axis.jar org.apache.axis.utils.tcpmon 8080 realhost 80

Its primitive but cheap.
 
Nullterminator,

That's the very tool I was looking for!! Thank you so much. Do you know if the source is available for this tool?

Thanks,
Mark.
 
Cheers NullTerminator I got it down.
Thanks again for your help.

Mark.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top