« April 2006 | Main | June 2006 »

May 31, 2006

Twisted HTTP proxy. Possible?

I'm looking to explore a new feature of HostedQA, but I'm far from a networking expert. I just posted this message on the jetty-discuss mailing list, but perhaps someone reading this will know the answer. My message:

I have a weird requirement, but I need to be able to allow a web browser to access hosts behind a firewall. I think that the ProxyHandler can help here, but I wanted to get feedback from the list (and Greg!) before forging ahead.

Let me start with defining a few network-related items:

  1. Client: this is a java program that would be run from behind a corporate firewall.
  2. Server: this is a java program that would accept a connection from the Client and would sit on a public internet site (acme.com). It is important that the Client connect to the Server, because the Server cannot initiate any conversations to the Client due to the firewall restrictions.
  3. Browser: the browser will sit on a machine on the local network of the Server and will be configured to use some proxy.

Each browser needs to be able to connect to hosts behind a firewall (local to the Client), but each one needs to do so in a private, secure manner. I imagine that when the Client connects to the Server, it would provide a password ("securetoken"), and then the browser would be configured to use a proxy host of "securetoken.proxy.acme.com". Because that host contains the secure token, it would be mapped to forward HTTP requests through to the Client that connected with that same token.

So - does something like this seem possible? I imagine I'd have to hack the ProxyHandler quite a bit, but my gut says it is possible. The main thing that gets me is how the hop from the Server to the Client will happen.

Any thoughts?

Gmane is completely retarded

Who the hell decided that Gmane was worth a damn? It has to be the most retarded webapp ever. I just wrote up a long post to the jetty discuss list and got back this error: You have lines longer than 80 characters. Fix that.

Are you kidding? They really want me to go through each line and manually add line breaks at 80 characters. Keep in mind that the input is in a textarea box, so knowing where 80 characters is not exactly easy.

Honestly, this has to be the worst designed webapp. Ever.

May 23, 2006

ApacheCon Europe, here I come!

I'll be speaking at ApacheCon Europe this year. It takes place between June 26 and June 30 in Dublin, Ireland and I'm really excited to be going back to Dublin. I love the city and I love the beer even more :)

I'll be speaking about Struts Action 2.0, and boy is there a lot to talk about. In fact, just a couple days ago Don Brown managed to get JSF components working inside of Action Framework results. These are exciting times for web frameworks and Struts in particular. If you're coming to Dublin, I hope to see you there!

ApacheCon Europe 2006 Speaker Button