Simple Proxy Server.

B

bigbinc

I am working on a simple proxy server(I hope that is right term).
Basically, I have a web-server running, I want to talk to internal
machines and see if I can get web content from the web servers running
internally.

My Homework:

The internal machines are not on the web, but they are running
web-services.

These internal machines contain remote addresses? I need to
communicate using these remove addresses.

Could I use the servlet function: sendRedirect?
 
E

Emanuel Bulic

Whatever proxy you're gonna be using, it'll need access to the outside
(the internet). Let's assume you connect from home to your proxy
server. The proxy would take your connection, create a connection to
the internal web-server, and simply pipe the contents through...
easy... NOT... html content usually contains links, cookies, etc.
which are pointing to the internal host... you would need to filter
the html (or whatever type of content) and convert all references to
the internal host with references to the proxy, which is nasty.

Instead of re-writing the book on this, dealing with possibly many
other issues, consider using a SOCKS proxy. many implementations are
already available.

sendRedirect will not work (unless I misinterpreted your message).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top