Home > Archive > EAserver > November 2005 > HTTP Tunneling scenario









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author HTTP Tunneling scenario

2005-11-14, 3:24 am

Hi!

I have an EAS 5.2 on Windows XP. I have installed a component and I have a
java applet on the server.
I run Windows XP firewall and I want to have only port 80 open (EAS is
listening on port 80).
My ideea was to run the java applet from another computer and go through
firewall and call the component from it.
I put the parameters for tunneling iiop through the http. Do I have
missunderstood the tunneling ideea?
Is it possible to have open in the firewall only the http port and run the
applet and call the component through tunneling?

/Remus


2005-11-15, 9:25 am

Is there any way to make a filter to not b in a webaaplication and be
installed before any http request on the server?
I tested on a webapp with the following code, but the problem is for
reaching it you have to make a request through the webapp.
Then the tunnled request to the IIOP port contains webapp name which creates
a bad request.

.............................................................................
.....................................................
String path = ((HttpServletRequest
)request).getRequestURI();

if ((path.indexOf("/9000/HIOP/1.0")) > 0)
{
// send to 9000 port
((HttpServletRespons
e)response).sendRedirect("http://"+
request.getServerName() + ":9000" + path);
}
else
{
// Pass control to the next filter in the chain.
chain.doFilter(request, response);
}
.............................................................................
.....................................................

/Remus

<Remus> wrote in message news:43784760@forums
-2-dub...
> Hi!
>
> I have an EAS 5.2 on Windows XP. I have installed a component and I have a
> java applet on the server.
> I run Windows XP firewall and I want to have only port 80 open (EAS is
> listening on port 80).
> My ideea was to run the java applet from another computer and go through
> firewall and call the component from it.
> I put the parameters for tunneling iiop through the http. Do I have
> missunderstood the tunneling ideea?
> Is it possible to have open in the firewall only the http port and run the
> applet and call the component through tunneling?
>
> /Remus
>
>



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com