lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev what was the trick to using ftp?


From: Thomas Dickey
Subject: Re: lynx-dev what was the trick to using ftp?
Date: Sun, 13 Apr 2003 11:16:44 -0400
User-agent: Mutt/1.2.5i

On Sun, Apr 13, 2003 at 10:19:30AM -0400, Philip Webb wrote:
> my  userdefs.h 521  :
> 
>   #define FTP_PASSIVE       FALSE
> 
> so are you sure the default is 'false'?  in my case, it seems to be 'true'.
> this is not something i would ever have looked at, except for this query.

reasonably sure.  Checking now, if I turn it off in my config, then it
seems to hang.  Actually it doesn't _hang_.  I just traced it, and after
a while it almost connected, failing as you see here.  I seem to recall
some discussion about a timing problem, perhaps that's what we're seeing:

Looking up lynx.isc.org
HTParseInet: parsing `lynx.isc.org'.
LYGetHostByName: parsing `lynx.isc.org'.
CHILD gethostbyname: 0x4013fb24 { h_name = 0x82977c1 "lynx.isc.org",
         h_aliases = 0x8297620 { 0x0 },
         h_addrtype = 2, h_length = 4,
         h_addr_list = 0x82976f0 { 0x82977d0 "204.152.184.112", 0x0 } }
CHILD fill_rehostent: 0x81e9000 { h_name = 0x81e9024 "lynx.isc.org",
         h_aliases = 0x81e901c { 0x0 },
         h_addrtype = 2, h_length = 4,
         h_addr_list = 0x81e9014 { 0x81e9020 "204.152.184.112", 0x0 } }
Read from pipe: 0x81e9000 { h_name = 0x81e9024 "lynx.isc.org",
         h_aliases = 0x81e901c { 0x0 },
         h_addrtype = 2, h_length = 4,
         h_addr_list = 0x81e9014 { 0x81e9020 "204.152.184.112", 0x0 } }
LYGetHostByName: NSL_FORK child 7236 exited, status 0x0.
End of LYGetHostByName: 0x81e9000 { h_name = 0x81e9024 "lynx.isc.org",
         h_aliases = 0x81e901c { 0x0 },
         h_addrtype = 2, h_length = 4,
         h_addr_list = 0x81e9014 { 0x81e9020 "204.152.184.112", 0x0 } }
LYGetHostByName: Resolved name to a hostent.
HTParseInet: Parsed address as port 21, IP address 204.152.184.112
Making FTP connection to lynx.isc.org
TCP: Error 115 in `SOCKET_ERRNO' after call to this socket's first connect() 
failed.
        Operation now in progress
TCP: Error 115 in `SOCKET_ERRNO' after call to this socket's first select() 
failed.
        Operation now in progress
FTP connected, socket 5  control 0x82975c0
    Rx: 220 isrv4.isc.org FTP server (Version wu-2.6.2(12) Thu Feb 6 00:29:01 
UTC 2003) ready.
  Tx: USER anonymous
    Rx: 331 Guest login ok, send your complete e-mail address as password.
  Tx: PASS address@hidden (Thomas Dickey)
    Rx: 230-
Adding message to help cache: 

    Rx: 230-You have reached the INTERNET SOFTWARE CONSORTIUM (ISC) FTP SERVER.
Adding message to help cache: You have reached the INTERNET SOFTWARE CONSORTIUM 
(ISC) FTP SERVER.

    Rx: 230-
Adding message to help cache: 

    Rx: 230-<insert some funky ASCII art here>
Adding message to help cache: <insert some funky ASCII art here>

    Rx: 230-
Adding message to help cache: 

    Rx: 230-Here you will find the official releases of ISC BIND, ISC DHCP, and 
ISC
Adding message to help cache: Here you will find the official releases of ISC 
BIND, ISC DHCP, and ISC

    Rx: 230-INN software packages.  These sections of the FTP server are 
mirrored  
Adding message to help cache: INN software packages.  These sections of the FTP 
server are mirrored  

    Rx: 230-globaly, a list can be found at: http://www.isc.org/ISC/MIRRORS.html
Adding message to help cache: globaly, a list can be found at: 
http://www.isc.org/ISC/MIRRORS.html

    Rx: 230-
Adding message to help cache: 

    Rx: 230-Additionally, ISC houses the Usenet newsgroup list and control 
message    
Adding message to help cache: Additionally, ISC houses the Usenet newsgroup 
list and control message    

    Rx: 230-archive (from 1991), that can be found under the usenet/ directory.
Adding message to help cache: archive (from 1991), that can be found under the 
usenet/ directory.

    Rx: 230-
Adding message to help cache: 

    Rx: 230-Questions regarding this service should be sent to address@hidden
Adding message to help cache: Questions regarding this service should be sent 
to address@hidden

    Rx: 230-
Adding message to help cache: 

    Rx: 230 Guest login ok, access restrictions apply.
HTFTP: Logged in.
  Tx: SYST
    Rx: 215 UNIX Type: L8 Version: BSD-198911
HTFTP: Treating as Unix server.
HTFTP: Opened master socket number 6
HTFTP: This host is 192.168.1.4
HTFTP: bound to port 1466 on 192.168.1.4
TCP: Master socket(), bind() and listen() all OK
  Tx: PORT 192,168,1,4,5,186
    Rx: 200 PORT command successful.
HTFTP: Port defined.
HTParse: aName:`ftp://lynx.isc.org/'
   relatedName:`'
   want: punc path
HTParse: (ABS)
HTParse:      result:/
HTFTP: UnEscaped /
  Tx: RETR /
    Rx: 550 /: not a plain file.
  Tx: CWD /
    Rx: 250 CWD command successful.
  Tx: LIST
    Rx: 425 Can't build data connection: Host is unreachable.
HTAccess:  status=-4
Can't Access `ftp://lynx.isc.org/'
HTAccess: Can't access `ftp://lynx.isc.org/'

Alert!: Unable to access document.


-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]