xinetd anonymous ftp
I looked back through a few months of messages on this list and so far have not seen anything to address this anonymous ftp error: I am having the following error accessing SuSE 9.0 server from the internet after loging in as anonymous with jdc@CharltonCorp.com as password. ftp> ls 200 EPRT command successful. 435 Can't build data connection: Illegal seek. ftp> When I login from the local network as anonymous it works fine. The only problem I had with configuration is that in the xinetd configuration for ftpd, the user and group come up as --default--. I cannot change these and if I select 'accept' it gives me an error and I have to exit using the cancel button. The /etc/xinetd.d/ftpd file is: # default: off # description: The ftpd server serves FTP connections. It uses normal, \ # unencrypted usernames and passwords for authentication. This ftpd is \ # a port of the OpenBSD ftpd to Linux. service ftp { socket_type = stream protocol = tcp wait = no user = root server = /usr/sbin/in.ftpd server_args = -l -l -d disable = no } I added the -l -l -d to get more logging, but it doesn't have any affect on /var/log/xinetd.log ro /var/log/ftpd The /etc/hosts.allow is: in.ftpd : ALL : ALLOW in.ftpd : UNKNOWN : ALLOW As a part of testing I added the follow /etc/ftpaccess file: class local real,guest,anonymous 198.162.100.* class remote anonymous * autogroup ftp remote log transfers inbound,outbound
On Thursday 15 April 2004 17:19, John Charlton wrote:
I looked back through a few months of messages on this list and so far have not seen anything to address this anonymous ftp error:
I am having the following error accessing SuSE 9.0 server from the internet after loging in as anonymous with jdc@CharltonCorp.com as password. ftp> ls 200 EPRT command successful. 435 Can't build data connection: Illegal seek. ftp>
When I login from the local network as anonymous it works fine.
What happens if you try typing "epsv4" before opening the ftp connection like: ftp> epsv4 EPSV/EPRT on IPv4 off. ftp> open ftp.site.com Connected to ftp.site.com. 220 Welcome.... then login using the same username and password and trying to list the directory? Also, does ftp'ing in work fine with another ftp daemon such as vsftpd?
On Thursday 15 April 2004 23:13, user86 wrote:
On Thursday 15 April 2004 17:19, John Charlton wrote:
I am having the following error accessing SuSE 9.0 server from the internet after loging in as anonymous with jdc@CharltonCorp.com as password. ftp> ls 200 EPRT command successful. 435 Can't build data connection: Illegal seek. ftp>
When I login from the local network as anonymous it works fine.
What happens if you try typing "epsv4" before opening the ftp connection like:
ftp> epsv4 EPSV/EPRT on IPv4 off. ftp> open ftp.site.com Connected to ftp.site.com. 220 Welcome.... then login using the same username and password and trying to list the directory?
Also, does ftp'ing in work fine with another ftp daemon such as vsftpd?
Thank you. epsv4 does fix the problem. If I login as usual and enter epsv4 after getting the ftp> it also works. I may try the vsftpd and see if that works better. --John
participants (2)
-
John Charlton
-
user86