Click here to get back home

wsp, Firefox proxy and ports

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
wsp, Firefox proxy and ports Nevada 08-21-2007
Posted by Nevada on August 21, 2007, 9:08 pm
Please log in for more thread options


I'm trying to use wsp to track some web page browsing. I think I have
everything installed correctly. I followed the basic instructions
here:

http://michaelstarkie.com/perl/WEB_SCRAPING_README.txt

and in the readme file.

I'm getting the " --- Accepting connection --- " message from wsp. But
as I browse pages I don't see any output from wsp. In the Firefox
Connection Settings I set Port to 5364 but left "HTTP Proxy:" empty.
(If I put "localhost" or my IP address, I am not be able to connect.)

When I do "lsof -i" or "netstat -anp --tcp" I don't see any
references to port 5364. (I'm not running any firewall.)

I suspect that wsp is listening to the port but the port is not
sending or receiving anything. What am I doing wrong?

Any help is appreciated.

NS


Posted by Michael Zedeler on August 22, 2007, 2:23 am
Please log in for more thread options


Nevada wrote:
> I'm trying to use wsp to track some web page browsing. [...]
>
> I'm getting the " --- Accepting connection --- " message from wsp. But
> as I browse pages I don't see any output from wsp. In the Firefox
> Connection Settings I set Port to 5364 but left "HTTP Proxy:" empty.
> (If I put "localhost" or my IP address, I am not be able to connect.)
>
> When I do "lsof -i" or "netstat -anp --tcp" I don't see any
> references to port 5364. (I'm not running any firewall.)

Start out testing whether you can access wsp with telnet (telnet
localhost 5364). If thats the case, you probably didn't get Firefox to
use the proxy.

Regards,

Michael.

Posted by Nevada on August 22, 2007, 12:42 pm
Please log in for more thread options



Michael,

Thanks for the reply. (This discussion group has so much junk in it I
wasn't sure I'd get any reply.)

I did the telnet as you recommended and wsp echoed what I was typing.
I also did a netstat as I was loading pages in firefox and it looked
like connections were still coming through port 80. I quit and
reloaded Firefox and got the same result.

So the problem is definitely Firefox. Do I need to have some host
address in "HTTP Proxy"? Whatever I put there disables all
connections.

NS





Posted by Big and Blue on August 22, 2007, 4:39 pm
Please log in for more thread options


Nevada wrote:

> Do I need to have some host
> address in "HTTP Proxy"?

Yes. If you don't then Firefox knows of nothing to connect to, so doesn't.


--
Just because I've written it doesn't mean that
either you or I have to believe it.

Posted by Nevada on August 22, 2007, 5:43 pm
Please log in for more thread options


> Nevada wrote:
> > Do I need to have some host
> > address in "HTTP Proxy"?
>
> Yes. If you don't then Firefox knows of nothing to connect to, so doesn't.
>
> --
> Just because I've written it doesn't mean that
> either you or I have to believe it.

Then does this require two machines? I tried to use the wsp machine as
a proxy for another machine on my lan, but on the other machine
Firefox complains "The proxy server is refusing connections." So I
need to know how to open the port on the wsp machine, or better -

Is there a way to specify that the proxy is the localhost so it can
all be done on one machine? I've tried this several different ways in
Firefox and have not gotten it to work.



Similar ThreadsPosted
installing perl modules and ports September 16, 2004, 12:36 pm
Using HTTP::Proxy September 23, 2004, 5:41 am
LWP, https and a proxy February 22, 2005, 7:43 am
HTTP::Proxy and not using 127.0.0.1 May 11, 2006, 6:10 pm
DBI/DBD-Oracle and Proxy June 13, 2007, 11:43 am
PPM through Proxy (Activeperl / Activestate) July 14, 2005, 1:37 pm
mod_perl and proxy settings May 26, 2008, 3:03 pm
HTTP::Proxy - how to detect start and end of URL fetch September 26, 2004, 6:00 am
Net::Telnet -- does it support Proxy or SOCKS connections? August 4, 2005, 11:10 pm
SOLVED: Running MCPAN behind an authenticating proxy server (kludge) November 23, 2004, 1:05 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap