gryphon has asked for the wisdom of the Perl Monks concerning the following question:
Greetings fellow monks,
First of all, please pardon my networking newbie-ness. I've recently found myself behind a nasty corporate firewall that I would like to bypass. There is a client proxy server program the company suggests be installed. This program sits on your local desktop and reroutes traffic from any app to the corporate proxy server so that you don't have to go mess around with the proxy settings of every app on your desktop. This client proxy program makes just about every app on my desktop function with the exception of Trillian.
It's not so much that I'm married to Trillian as I'm annoyed that it doesn't work and am therefore driven to find a solution. (Corporate desktop support doesn't support Trillian, so I'm on my own.) Note also that AIM and MSN Messenger both work perfectly.
My thought was that the client proxy program was just ignoring or not playing nice with Trillian. So why not build my own proxy that will sit on top of the desktop corporate proxy? I used HTTP::Proxy to build the following:
#!/usr/bin/perl use strict; use warnings; use HTTP::Proxy qw(:log); my $proxy = new HTTP::Proxy; $proxy->port(8089); $proxy->logfh(*STDOUT); $proxy->logmask(ALL); $proxy->start;
Sure, it's extremely basic and almost exactly what was in the example script. Well, used on my system, it works perfectly with such things as Mozilla, IE, mIRC, etc. However, it doesn't work with Trillian. The worst part is that I can't seem to get any kind of error message that makes any sense from either Trillian or HTTP::Proxy.
Stuff from Trillian
[09:59] *** Creating connection "passport@gryphonshafer.com" [09:59] *** Disconnecting. [09:59] *** Connecting to MSN as "passport@gryphonshafer.com", attempt + #1. [09:59] *** Failed to connect to MSN (10056).
Stuff from HTTP::Proxy
[Mon Oct 13 10:00:26 2003] Forked child process -1320 [Mon Oct 13 10:00:27 2003] (-1320) Request: CONNECT http://messenger.h +otmail.com:1863 [Mon Oct 13 10:00:27 2003] (-1320) Response: 501 Not Implemented [Mon Oct 13 10:00:27 2003] (-1320) Response: Content-Length: 46 [Mon Oct 13 10:00:27 2003] (-1320) Connection closed by the client [Mon Oct 13 10:00:27 2003] (-1320) Served 1 requests [Mon Oct 13 10:00:27 2003] Reaped child process -1320 [Mon Oct 13 10:00:27 2003] Remaining kids: [Mon Oct 13 10:00:38 2003] Processed 1 connection(s)
So obviously Trillian is able to find and connect to the HTTP::Proxy instance, but for some reason, it's unable to get out to various servers. I'm quite confused about the 501 response. That certainly can't be coming from the MSN Messenger server nor the local desktop proxy client since the MSN Messenger client works fine. I doubt the 501 is coming from HTTP::Proxy also, so it must be coming from the corporate proxy, but the corporate proxy supports MSN Messenger.
Anyway, as you can see, I'm confused and not really sure what to try next. Does anyone have any suggestions?
gryphon
code('Perl') || die;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: HTTP::Proxy and Trillian
by robartes (Priest) on Oct 13, 2003 at 18:09 UTC | |
by gryphon (Abbot) on Oct 13, 2003 at 18:20 UTC | |
by robartes (Priest) on Oct 13, 2003 at 18:33 UTC | |
by Aristotle (Chancellor) on Oct 13, 2003 at 18:57 UTC | |
by robartes (Priest) on Oct 13, 2003 at 20:59 UTC | |
by Aristotle (Chancellor) on Oct 13, 2003 at 21:12 UTC | |
by Anonymous Monk on Mar 27, 2008 at 00:02 UTC | |
Re: HTTP::Proxy and Trillian
by Aristotle (Chancellor) on Oct 13, 2003 at 17:33 UTC | |
by BooK (Curate) on Oct 14, 2003 at 08:35 UTC | |
Re: HTTP::Proxy and Trillian
by MidLifeXis (Monsignor) on Oct 13, 2003 at 17:34 UTC |