[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev is it possible to see what lynx sends to the server?
From: |
Nelson H. F. Beebe |
Subject: |
Re: lynx-dev is it possible to see what lynx sends to the server? |
Date: |
Fri, 16 Mar 2001 15:22:22 -0700 (MST) |
Gennady Stupakov <address@hidden> asks on Fri, 16 Mar 2001
13:47:50 -0800 (Pacific Standard Time)
>> ...
>> I am trying to automate navigation through some of web sites using a
>> perl script and the cURL program. I often encounter problems trying to
>> figure out what requests I need to send to the sever to get to the
>> next page. Is it a possibile to sniff what a browser should send to
>> the server using lynx?
>> ...
I'm interested in a clean, non-root, solution to this problem too.
What I do, for exactly the same reason as you, is run (as root)
snoop -x 0,8192 -S -V -t r to hostname-or-IP-address >foo.snoop
and then examine the foo.snoop log file. Unfortunately, this option
is not available to the vast majority of users, who don't have
privileged root access like I do.
snoop is part of the nfswatch package written by Dave Curry at IBM and
Jeff Mogul at DEC (now Compaq). We have a 12-Feb-1996 release of
nfswatch4.3.tar.gz here, from
ftp://gatekeeper.dec.com/pub/net/ip/nfs/nfswatch4.3.tar.gz
I really don't want to see all the network traffic, and I rarely need
the hex dumps. I just want to see the byte stream sent to and from
the browser. A log like this would be very helpful:
TO: ....
FROM: ....
FROM: ....
....
TO: ...
FROM: ...
Ideally, there should also be options to timestamp the traffic,
display it in hex, and control the line length and packet count
printed, much like snoop provides.
-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- Center for Scientific Computing FAX: +1 801 585 1640, +1 801 581 4148 -
- University of Utah Internet e-mail: address@hidden -
- Department of Mathematics, 322 INSCC address@hidden address@hidden -
- 155 S 1400 E RM 233 address@hidden -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe -
-------------------------------------------------------------------------------
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden