wsp, Firefox proxy and ports

wsp, Firefox proxy and ports

am 22.08.2007 03:08:32 von Nevada

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

Re: wsp, Firefox proxy and ports

am 22.08.2007 08:23:19 von Michael Zedeler

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.

Re: wsp, Firefox proxy and ports

am 22.08.2007 18:42:40 von Nevada

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

Re: wsp, Firefox proxy and ports

am 22.08.2007 22:39:40 von Big and Blue

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.

Re: wsp, Firefox proxy and ports

am 22.08.2007 23:43:45 von Nevada

On Aug 22, 3:39 pm, Big and Blue wrote:
> 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.

Re: wsp, Firefox proxy and ports

am 23.08.2007 00:52:23 von Michael Zedeler

Nevada wrote:
> On Aug 22, 3:39 pm, Big and Blue wrote:
>> 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.
>
> 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.

It should make no difference whether the proxy is running on the same
machine a machine on the network. Maybe its time to consider asking in a
more relevant newsgroup.

Regards,

Michael.

Re: wsp, Firefox proxy and ports

am 23.08.2007 02:20:43 von Big and Blue

Nevada wrote:

> Then does this require two machines?

No

> 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.

Specify the hostname as localhost. But you've tried that. Mind you,
even when you do use 2 hosts you are told that the proxy server isn't
working, so perhaps that's the big clue. You are setting the proxy port
number as well as the hostname aren't you?

You've previously said that "netstat -anp --tcp" had no reference to
5364, but that you could telnet to port 5364 and get things echoed. This
makes no sense. If you could telnet to port 5364 then netstat would show
the listener, and a Web proxy isn't mean to echo what you send it.

Your story is inconsistent.



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