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

Re: vsftpd ftp problem



On Thu, 1 May 2003, William L. Thomson Jr. wrote:

> For some reason when I attempt to use vsftpd for regular ftp transfers I
> cannot. I can use sftp and that works fine, however I do not get any
> directory messages, or anything that I see with many other ftp servers?
>
> I am not sure if it's my config, me or both. I am using the vsftpd rpm
> that comes with RH 9.
>
> I tried the default config, and one of the examples from the vsftpd
> source/docs.
>
> Here is my current config
>
> # Access rights
> anonymous_enable=YES
> local_enable=NO
> write_enable=NO
> anon_upload_enable=NO
> anon_mkdir_write_enable=NO
> anon_other_write_enable=NO
> # Security
> anon_world_readable_only=YES
> connect_from_port_20=YES
> hide_ids=YES
> pasv_min_port=50000
> pasv_max_port=60000
> # Features
> xferlog_enable=YES
> ls_recurse_enable=NO
> ascii_download_enable=NO
> async_abor_enable=YES
> # Performance
> one_process_model=YES
> idle_session_timeout=120
> data_connection_timeout=300
> accept_timeout=60
> connect_timeout=60
> anon_max_rate=50000

Have you compared this with the distribution config file?  I see you don't
have the "pam_service_name=vsftpd" directive, for example, which my RHL8.0
version has.

>
>
> I am enabling/running vsftpd via xinetd if that is the correct way, or
> one way?

It's one way.  In RHL9, they changed the default to running it as a
daemon.

>
> service ftp {
>         disable = no
>         socket_type = stream
>         wait = no
>         user = root
>         server = /usr/sbin/vsftpd

Mine agrees with yours to this point.  Then I have a "nice" directive, and
you have this, but I don't see any obvious problem.

>         per_source = 5
>         instances = 200
>         log_on_success += PID HOST DURATION
>         log_on_failuer += HOST
> }
>
>
> Please if someone could help me that would be great. I have searched
> Google and docs. All I see is others doing what I can't? Why?

Is FTP open through your firewall?  Is it entered in /etc/hosts.allow?
(The errata was due to the daemon not being compiled against
tcp_wrappers.)

>
> I really do not want to go back to wuftpd, but I do need standard ftp
> access along with sftp access.
>
> >From my memory when doing a network install/upgrade of RH, you can't use
> sftp right? Or can you now?

I don't think so.

>
> I could check myself to confirm, but at that point I would like to be
> able to proceed with the install/upgrade using either sftp or ftp.
>
> Thanks.
>
>

-- 
		Matthew Saltzman

Clemson University Math Sciences
mjs clemson edu
http://www.math.clemson.edu/~mjs





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