intercepting TCP?

2003-07-22 Thread Bill Ataras
Does anyone know of a way on linux running ip_masq/ip_chains to grab all
TCP connections outgoing toward a port 80 on any IP and forward them to
some other IP/port? I'm looking for a way to insert myself into raw HTTP
conversations to do transforms/etc. without the app knowing about it. Or
perhaps a windows tool to do the forwarding from the machine running IE?
Also, doing a proxy server thing isn't sufficient.

Thanks



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



moding tomcat to be a proxy server

2003-06-24 Thread Bill Ataras
Google doesn't give me much. I've gotten good results in a few hours so
far (I'm browsing with it now:) writing a valve that passes through http
traffic using the host field and filtering some headers. Takes advantage
of all the coyote connection/http11/thread stuff. Installs in
StandardEngine via server.xml config and doesn't pass the request to
invokeNext() so no need to config context/host etc.

I'm wondering if anyone has used tomcat in this way for real (beyond a
few hours of mucking around).
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: moding tomcat to be a proxy server

2003-06-24 Thread Bill Ataras
LB ?
(it's early for me)

-Original Message-
From: Remy Maucherat [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 24, 2003 5:07 AM
To: Tomcat Developers List
Subject: Re: moding tomcat to be a proxy server

Bill Ataras wrote:
 Google doesn't give me much. I've gotten good results in a few hours
so
 far (I'm browsing with it now:) writing a valve that passes through
http
 traffic using the host field and filtering some headers. Takes
advantage
 of all the coyote connection/http11/thread stuff. Installs in
 StandardEngine via server.xml config and doesn't pass the request to
 invokeNext() so no need to config context/host etc.
 
 I'm wondering if anyone has used tomcat in this way for real (beyond a
 few hours of mucking around).

Personally, I would write the proxy as the Coyote adapter. That should 
faster as you can use reusable buffers instead of manipulating String 
objects. Your solution would work fine, though :)

Add in LB and a caching engine, and that's a feature we'd be very happy 
if you contributed :)

Remy


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]