views:

112

answers:

1

What is a good approach to a client proxy written in ruby that I can use to create a custom filter.

So far I've found

A little on the fringe, this guy wants to Use rack as thin proxy with his question. I don't think he got an answer; or even a hint that it was possible.

What is your advice on these suggested approaches or do you have a better approach.

Thanks!

A: 

I can’t speak on personal experience as I’ve not done this myself, but I have heard of mouseHole before and it seems to be a good package. Why not try writing a simple script for it and see how you find it?

There are also some sample scripts in that repository that you could check out.

Ciarán Walsh
jrhicks
While I can't advocate using Mousehole as a forward client side web proxy, it is the only example of how to use Mongrel as this type of proxy. Unlike Webrick the Mongrel proxy is capable of streaming. I did not however find this to be the best route. Ultimately, I went with squid with an external_acl_type to a ruby script.
jrhicks