From pygy79 at gmail.com Thu Apr 3 12:01:39 2008 From: pygy79 at gmail.com (=?ISO-8859-1?Q?Pierre-Yves_G=E9rardy?=) Date: Thu, 3 Apr 2008 18:01:39 +0200 Subject: Using MouseHole from behind a password protected proxy : timeout... Message-ID: <4bfd7e8e0804030901x7e09569aje7b7dc49bdb1b5d7@mail.gmail.com> Dear _why, dear Leslie, dear anyone who might help despite this place looking creepily deserted... I'm trying to use MouseHole 2 from behind another proxy requiring authentication. I've properly set up the HTTP_PROXY environment variable, and hardcoded my usename/password in proxyhandler.rb http://code.whytheluckystiff.net/mouseHole/browser/trunk/lib/mouseHole/proxyhandler.rb#L49 Nevertheless, all requests going through mousehole (if I set it up as a proxy in Firefox 2.0) timeout. I'm using OS X 10.5. As a side note, I've tried to post a support request on Trac, but I can't post. The log in form tells me my user name has aleready been granted access, but I can't create tickets. Kind Regards Pierre-Yves From rcorsaro at optaros.com Sun Apr 6 02:20:55 2008 From: rcorsaro at optaros.com (Robert C Corsaro) Date: Sun, 06 Apr 2008 02:20:55 -0400 Subject: Using MouseHole from behind a password protected proxy : timeout... In-Reply-To: <4bfd7e8e0804030901x7e09569aje7b7dc49bdb1b5d7@mail.gmail.com> References: <4bfd7e8e0804030901x7e09569aje7b7dc49bdb1b5d7@mail.gmail.com> Message-ID: <47F86BC7.3060800@optaros.com> Bah. No one answers in here. Maybe we can figure it out. I'd also like to intercept outgoing requests and modify them.. any ideas? Pierre-Yves G?rardy wrote: > Dear _why, dear Leslie, dear anyone who might help despite this place > looking creepily deserted... > > > I'm trying to use MouseHole 2 from behind another proxy requiring > authentication. I've properly set up the HTTP_PROXY environment > variable, and hardcoded my usename/password in proxyhandler.rb > > http://code.whytheluckystiff.net/mouseHole/browser/trunk/lib/mouseHole/proxyhandler.rb#L49 > > Nevertheless, all requests going through mousehole (if I set it up as > a proxy in Firefox 2.0) timeout. > > I'm using OS X 10.5. > > > As a side note, I've tried to post a support request on Trac, but I > can't post. The log in form tells me my user name has aleready been > granted access, but I can't create tickets. > > Kind Regards > Pierre-Yves > _______________________________________________ > Mousehole-scripters mailing list > Mousehole-scripters at rubyforge.org > http://rubyforge.org/mailman/listinfo/mousehole-scripters From lwu.two at gmail.com Tue Apr 15 13:46:22 2008 From: lwu.two at gmail.com (Leslie Wu) Date: Tue, 15 Apr 2008 10:46:22 -0700 Subject: Using MouseHole from behind a password protected proxy : timeout... In-Reply-To: <47F86BC7.3060800@optaros.com> References: <4bfd7e8e0804030901x7e09569aje7b7dc49bdb1b5d7@mail.gmail.com> <47F86BC7.3060800@optaros.com> Message-ID: <78ec96990804151046u1fbb836fkc0cc44ffb7914ea9@mail.gmail.com> I couldn't get mouseHole to work with HTTPS connections, as Mongrel doesn't try to support SSL last I checked, but I had guessed that it might be possible to use another reverse proxy such as Nginx to handle the SSL indirectly. Alas, I haven't had time to work on the mouseHole of late -- I spent some time instead exploring the possibilities of the curious Firefox extension POW, which I got to half-work as a pseudo proxy. I'm not sure how much POW has progressed since I last looked at it, but I think in the long term, building on something akin to POW might be the way forward, even if Ruby isn't yet directly supported in most browsers. I described some of these concepts here in "Remixing the Web": http://graphics.stanford.edu/~lwu2/ (third paper link) essentially trying to replicate a mouseHole-like programmable proxy within Firefox itself, driven by jQuery and JavaScript, which at least reduces the programming burden if you've read jResig's JS book and feel comfortable enough in that tongue with jQuery at your side. Since that work, I have also heard about Jaxer but not read much about it. It might be what some of us are half looking for? On the one hand, there's something _why elegant about the tight combination of mouseHole, Hpricot and Mongrel, but on the flipside, Firefox's core can support SSL, is HTML/DOM compatible with itself, and can make use of extensions such as POW, GreaseMonkey, and the like. To reiterate, it's a common reductionist pattern to think of the alternatives as being either the browser as the point of modification (extensions) xor programmable proxies as the point of remix (for example, see Bolin's MIT thesis where he makes this exact bifurcation), but we're at a point now where we can have our programmable proxy cake and eat the browser kiddies too. Does that help? Googling for "jaxer programmable-proxy" doesn't seem to show any hits right now, and while I've seen discussion of doing mouseHole-like programmable-proxy ish things in POW, I don't know if anyone else has followed up on that vector of attack, beyond the proof of concept we built for "re:mix", but to me it seems like the Right Enough way forward as we try to democratize these tools of production and ICT. ~L On Sat, Apr 5, 2008 at 11:20 PM, Robert C Corsaro wrote: > Bah. No one answers in here. Maybe we can figure it out. I'd also > like to intercept outgoing requests and modify them.. any ideas? > > Pierre-Yves G?rardy wrote: > > Dear _why, dear Leslie, dear anyone who might help despite this place > > looking creepily deserted... > > > > > > I'm trying to use MouseHole 2 from behind another proxy requiring > > authentication. I've properly set up the HTTP_PROXY environment > > variable, and hardcoded my usename/password in proxyhandler.rb > > > > > http://code.whytheluckystiff.net/mouseHole/browser/trunk/lib/mouseHole/proxyhandler.rb#L49 > > > > Nevertheless, all requests going through mousehole (if I set it up as > > a proxy in Firefox 2.0) timeout. > > > > I'm using OS X 10.5. > > > > > > As a side note, I've tried to post a support request on Trac, but I > > can't post. The log in form tells me my user name has aleready been > > granted access, but I can't create tickets. > > > > Kind Regards > > Pierre-Yves > > _______________________________________________ > > Mousehole-scripters mailing list > > Mousehole-scripters at rubyforge.org > > http://rubyforge.org/mailman/listinfo/mousehole-scripters > > _______________________________________________ > Mousehole-scripters mailing list > Mousehole-scripters at rubyforge.org > http://rubyforge.org/mailman/listinfo/mousehole-scripters > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mousehole-scripters/attachments/20080415/d026a143/attachment.html From rcorsaro at optaros.com Tue Apr 15 14:43:05 2008 From: rcorsaro at optaros.com (Robert C Corsaro) Date: Tue, 15 Apr 2008 14:43:05 -0400 Subject: Using MouseHole from behind a password protected proxy : timeout... In-Reply-To: <78ec96990804151046u1fbb836fkc0cc44ffb7914ea9@mail.gmail.com> References: <4bfd7e8e0804030901x7e09569aje7b7dc49bdb1b5d7@mail.gmail.com> <47F86BC7.3060800@optaros.com> <78ec96990804151046u1fbb836fkc0cc44ffb7914ea9@mail.gmail.com> Message-ID: <4804F739.5060706@optaros.com> Try stunnel.. Leslie Wu wrote: > I couldn't get mouseHole to work with HTTPS connections, as Mongrel doesn't > try to support SSL last I checked, but I had guessed that it might be > possible to use another reverse proxy such as Nginx to handle the SSL > indirectly. > > Alas, I haven't had time to work on the mouseHole of late -- I spent some > time instead exploring the possibilities of the curious Firefox extension > POW, which I got to half-work as a pseudo proxy. > > I'm not sure how much POW has progressed since I last looked at it, but I > think in the long term, building on something akin to POW might be the way > forward, even if Ruby isn't yet directly supported in most browsers. I > described some of these concepts here in "Remixing the Web": > > http://graphics.stanford.edu/~lwu2/ (third paper link) > > essentially trying to replicate a mouseHole-like programmable proxy within > Firefox itself, driven by jQuery and JavaScript, which at least reduces the > programming burden if you've read jResig's JS book and feel comfortable > enough in that tongue with jQuery at your side. > > Since that work, I have also heard about Jaxer but not read much about it. > It might be what some of us are half looking for? > > On the one hand, there's something _why elegant about the tight combination > of mouseHole, Hpricot and Mongrel, but on the flipside, Firefox's core can > support SSL, is HTML/DOM compatible with itself, and can make use of > extensions such as POW, GreaseMonkey, and the like. > > To reiterate, it's a common reductionist pattern to think of the > alternatives as being either the browser as the point of modification > (extensions) xor programmable proxies as the point of remix (for example, > see Bolin's MIT thesis where he makes this exact bifurcation), but we're at > a point now where we can have our programmable proxy cake and eat the > browser kiddies too. > > Does that help? Googling for "jaxer programmable-proxy" doesn't seem to show > any hits right now, and while I've seen discussion of doing mouseHole-like > programmable-proxy ish things in POW, I don't know if anyone else has > followed up on that vector of attack, beyond the proof of concept we built > for "re:mix", but to me it seems like the Right Enough way forward as we try > to democratize these tools of production and ICT. > > ~L > > On Sat, Apr 5, 2008 at 11:20 PM, Robert C Corsaro > wrote: > >> Bah. No one answers in here. Maybe we can figure it out. I'd also >> like to intercept outgoing requests and modify them.. any ideas? >> >> Pierre-Yves G?rardy wrote: >>> Dear _why, dear Leslie, dear anyone who might help despite this place >>> looking creepily deserted... >>> >>> >>> I'm trying to use MouseHole 2 from behind another proxy requiring >>> authentication. I've properly set up the HTTP_PROXY environment >>> variable, and hardcoded my usename/password in proxyhandler.rb >>> >>> >> http://code.whytheluckystiff.net/mouseHole/browser/trunk/lib/mouseHole/proxyhandler.rb#L49 >>> Nevertheless, all requests going through mousehole (if I set it up as >>> a proxy in Firefox 2.0) timeout. >>> >>> I'm using OS X 10.5. >>> >>> >>> As a side note, I've tried to post a support request on Trac, but I >>> can't post. The log in form tells me my user name has aleready been >>> granted access, but I can't create tickets. >>> >>> Kind Regards >>> Pierre-Yves >>> _______________________________________________ >>> Mousehole-scripters mailing list >>> Mousehole-scripters at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/mousehole-scripters >> _______________________________________________ >> Mousehole-scripters mailing list >> Mousehole-scripters at rubyforge.org >> http://rubyforge.org/mailman/listinfo/mousehole-scripters >> > > > ------------------------------------------------------------------------ > > _______________________________________________ > Mousehole-scripters mailing list > Mousehole-scripters at rubyforge.org > http://rubyforge.org/mailman/listinfo/mousehole-scripters