Page 8 of 14 FirstFirst ... 678910 ... LastLast
Results 71 to 80 of 138

Thread: Howto: Easy FTP with vsftpd

  1. #71
    Join Date
    Oct 2010
    Beans
    11

    Re: Howto: Easy FTP with vsftpd

    Ok, i found the problem.
    Now my ftp works with virtual users.

    Why it wasn't working? It's because i was trying to use SSL.
    So if i set this option in vsftpd.conf : ssl_enable=YES, my ftp server won't start, and i get this error : init: vsftpd main process (2692) terminated with status 1
    init: vsftpd respawning too fast, stopped

    So now i have a new problem, can't work with ssl.

    Any idea?

    thanks,

  2. #72
    Join Date
    Dec 2006
    Beans
    174

    Re: Howto: Easy FTP with vsftpd

    I've set up virtual users. The home dir for them should be /media/truecrypt1. I've mounted an encrypted partition that I want the FTP users to gain access to. I've added my own system user to the workers group and I'm now trying to change the group permissions on /media/truecrypt1.

    Anything I throw at it doesn't work. E.g:

    wh1sk3yj4ck@valkyrie:/media$ ls -l
    total 44
    drwx------ 1 wh1sk3yj4ck wh1sk3yj4ck 40960 2010-10-21 20:38 truecrypt1
    drwxr-xr-x 6 wh1sk3yj4ck workers 4096 2010-10-21 20:32 truecrypt2
    wh1sk3yj4ck@valkyrie:/media$ sudo chgrp -R workers truecrypt1
    wh1sk3yj4ck@valkyrie:/media$ ls -l
    total 44
    drwx------ 1 wh1sk3yj4ck wh1sk3yj4ck 40960 2010-10-21 20:38 truecrypt1
    drwxr-xr-x 6 wh1sk3yj4ck workers 4096 2010-10-21 20:32 truecrypt2
    wh1sk3yj4ck@valkyrie:/media$
    Wth? The other volume worked just fine.

  3. #73
    Join Date
    May 2006
    Beans
    Hidden!
    Distro
    Kubuntu 7.04 Feisty Fawn

    Re: Howto: Easy FTP with vsftpd

    I am new to vsftp. Thanks for the guidance this howto provides.

    But as life is never that easy i have some questions

    The FTPS setup in the first post mentions those options for the vsftpd.conf
    Code:
    ssl_tlsv1=YES
    ssl_sslv2=YES
    ssl_sslv3=YES
    I was looking at the man page in parallel to verify what i am doing and couldn't find those listed. (Perhaps those changed over time?)

    There is an option ssl_ciphers which seems like an adequate replacement to choose allowed encryption algorithms.

    But I am not a 100% confident which are considered to be safe these days. I found a post on another forum here suggesting this setup

    Code:
    ssl_ciphers=ADH-AES256-SHA:DHE-RSA-AES256-SHA:DHE-DSS-AES256-SHA:AES256-SHA
    Could anybody with a profound security background tell me if it is wise/safe to choose those options?

    Thanks guys for the effort you put into this forum!

  4. #74
    Join Date
    Nov 2009
    Beans
    46

    Re: Howto: Easy FTP with vsftpd

    Hi,

    Is it possible to have in VSFTPD same username for login to more that one domain?

    Example: I want to create the user "test" for domain mydomain.com
    And then I what to create the user "test" for domain yourdomain.com

    And both mydomain.com and yourdomain.com point to the same VSFTPD server that has only one public IP address.

    Is it possible to make VSFTPD know which user tries to log in from the two and place it in his correct home directory?

    For example if I try to user for login the username: test@mydomain.com
    And for a different login to use test@yourdomain.com

    How can I do this in VSFTPD?

    Can you please tell me.

    Thank you.

  5. #75
    Join Date
    Mar 2009
    Beans
    2

    Re: Howto: Easy FTP with vsftpd

    Hi there.
    So, I've got vsftpd working. ... Mostly. When I try to connect through FileZilla using ServerType and FTPES, I get "PASS" for my connection with the password and whatnot... but then it spits this out:

    GnuTLS error -8: A record packet with illegal version was received.

    Has anyone ever had a similar issue, or know what it's about? I'm rather lost...

    Thanks!

  6. #76
    Join Date
    Feb 2009
    Location
    Singapore
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Howto: Easy FTP with vsftpd

    Quote Originally Posted by mordriel View Post
    Hi there.
    So, I've got vsftpd working. ... Mostly. When I try to connect through FileZilla using ServerType and FTPES, I get "PASS" for my connection with the password and whatnot... but then it spits this out:

    GnuTLS error -8: A record packet with illegal version was received.

    Has anyone ever had a similar issue, or know what it's about? I'm rather lost...

    Thanks!
    Got that error sometime back too. Cant recall how i fixed it.

    Maybe u can start with those customized setting that u had on ur vsftpd.conf so as to troubleshoot easier.

    Start by commenting out those customized settings... Thats how I solve the issue.

    PS: Remember not to post sensitive information.
    Last edited by nebileix; December 20th, 2010 at 04:13 PM.

  7. #77
    Join Date
    Aug 2009
    Location
    India
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Howto: Easy FTP with vsftpd

    These are my settings,how ever when i type ftp://127.0.0.1 in browser i am taken to /home/karthick instead of /srv/ftp why??
    Code:
    listen=YES
    anonymous_enable=YES
    local_enable=YES
    write_enable=YES
    anon_upload_enable=YES
    anon_mkdir_write_enable=YES
    dirmessage_enable=YES
    xferlog_enable=YES
    connect_from_port_20=YES
    chown_uploads=YES
    chown_username=karthick
    ftpd_banner=Welcome to FTP service.
    secure_chroot_dir=/var/run/vsftpd
    pam_service_name=vsftpd
    rsa_cert_file=/etc/ssl/certs/vsftpd.pem
    anon_root=/srv/ftp

  8. #78
    Join Date
    Feb 2009
    Location
    Singapore
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Howto: Easy FTP with vsftpd

    if im not wrong, karthick is a user in the system right? and when u log, do u see something like [SSL Cipher ##########]?

  9. #79
    Join Date
    Aug 2009
    Location
    India
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Howto: Easy FTP with vsftpd

    No i dont see such things.

  10. #80
    Join Date
    Feb 2009
    Location
    Singapore
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Howto: Easy FTP with vsftpd

    Quote Originally Posted by nebileix View Post
    if im not wrong, karthick is a user in the system right? and when u log, do u see something like [SSL Cipher ##########]?
    How about that above?

Page 8 of 14 FirstFirst ... 678910 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •