Thanks for the reply.  It's not quite that simple, but in replying to
your note you actually helped me work through a few things in my mind
(some sleep helped too!)

As I mentioned before, ftp is enabled and runs if I ftp localhost.
I can also telnet to port 21 on the box.

I've since remembered that ftp uses control and data ports, which is why
telnet to port 21 works.  Things I have tried are overriding DNS reverse
lookups in /etc/ftpaccess, and I am looking into some of the passive
mode configurations.

I see the exact same behavior on my home system which running 7.2.
My home box is addressed as 192.168.1.10.  On that box, I can ftp to
localhost, but if I try to ftp to the box from another client on the
network, the connection is "closed by remote host."  syslog shows only:

Mar  8 07:17:02 cyclops ftpd[1499]: lost connection to 192.168.1.101
[192.168.1.101]
Mar  8 07:17:02 cyclops ftpd[1499]: FTP session closed

The machine does not have a FQDN, is addressed as 192.168.1.10.
The client is using a DHCP address which also does not exist in DNS.
I tried adding the DCHP address to /etc/hosts and it now allows the
connection, though it is still quite slow to connect.

Should I try grabbing wuftpd source and recompiling without DNS support,
or are there other config parameters I should explore?

Thanks.



aftab alam wrote:
> 
> hi
>      You go to /etc/xinetd.d and see the file wu-ftpd. If there is any entry
> like "disable yes". You just comment this line and reboot the system.
> 
> Dan Simoes wrote:
> 
> > New to this list, so hi all.
> >
> > I have seen reports of this problem before, with no conclusive solution.
> >
> > On a fresh 7.1 install, I can ftp localhost without a problem on the
> > box.
> > Remote ftp sessions connect, then are "closed by remote host".
> > syslog shows nothing interesting.
> >
> > I have checked:
> > - hosts.allow/deny
> > - ftpaccess/ftpuser/etc
> > - ipchains
> >
> > I've even watched tcpdump traffic and still don't see anything obvious.
> >
> > One interesting thing - ftp to the box fails, but telnet to port 21
> > works, and I can login with USER and PASS and do a pwd.
> > Boggles the mind, doesn't it?
> >
> > My coworkers urge me to just get an updated rpm or use proftpd, but I'd
> > like to know why this is failing.  I suspect something to do with
> > tcpwrappers and reverse lookups, but I'm not sure.  Like I said, I'm not
> > the first to see this problem.
> >
> > Thanks.
> >
> > _______________________________________________
> > Redhat-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/redhat-list
> 
> --
> -----------------------------------------------------------------------------
> 
> Aftab Alam
> Computer Centre
> IIT Kanpur
> Phone:- 0512-597447(O)
>         0512-598598(R)
> email:- [EMAIL PROTECTED]
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to