Find the answer to your Linux question:
Results 1 to 5 of 5
Ok I think I might only be a cuple of steps away from from getting this all set up just need a little help with the end part. (I have ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2008
    Location
    U.S.A
    Posts
    23

    Help please (VSFTPD server)


    Ok I think I might only be a cuple of steps away from from getting this all set up just need a little help with the end part. (I have searched the forums and found nothing that will help me I have also searched on google and I have read the doc's on there home page but they only confused the hell out of me so please do tell me to google it or search the fourms) I would read the docs that come in the install folder but I dont got one do to slackware came with it pre-installed.

    so hears my problem.

    1. my lo is takeing up my port 21 and would like to know how to stop lo from running that port.

    2.if I take lo down with the ifconfig lo down command I can get to start vsftpd server but I cant connect to it from any ftp clients not even the shell ftp will connect to it. I would put the log file in the post but for some reason it not logging. Both the ftp shell and ftp client time out before getting connected

    3. vsftpd is not loging I have dual logging on and sending it to the vsftpd folder but no logs.

    So the logs not working im sending my vsftpd.conf file may be I messed some thing up in it.

    allow_anon_ssl=no
    anon_mkdir_write_enable=no
    anon_other_write_enable=no
    anon_upload_enable=no
    anon_world_readable_only=yes
    anonymous_enable=yes
    ascii_download_enable=no
    ascii_upload_enable=no
    async_abor_enable=no
    background=no
    check_shell=yes
    chmod_enable=yes
    chown_uploads=no
    chroot_list_file=no
    chroot_local_user=no
    connect_from_port_20=yes
    deny_email_enable=no
    dirlist_enable=yes
    dirmessage_enable=no
    download_enable=yes
    dual_log_enable=no
    force_anon_data_ssl=no
    force_anon_logins_ssl=no
    force_local_data_ssl=no
    guest_enable=yes
    hide_ids=no
    listen=yes
    listen_ipv6=no
    local_enable=no
    lock_upload_files=no
    log_ftp_protocol=yes
    ls_recurse_enable=yes
    mdtm_write=yes
    no_anon_password=no
    no_log_lock=yes
    one_process_model=no
    passwd_chroot_enable=no
    pasv_addr_resolve=yes
    pasv_enable=yes
    pasv_promiscuous=no
    port_enable=yes
    port_promiscuous=no
    run_as_launching_user=no
    secure_email_list_enable=no
    session_support=yes
    setproctitle_enable=no
    ssl_enable=no
    ssl_sslv2=no
    ssl_sslv3=no
    ssl_tlsv1=no
    syslog_enable=no
    tcp_wrappers=yes
    text_userdb_names=no
    tilde_user_enable=no
    use_localtime=yes
    use_sendfile=yes
    userlist_deny=yes
    userlist_enable=no
    virtual_use_local_privs=no
    write_enable=no
    xferlog_enable=yes
    xferlog_std_format=yes
    #NUMERIC OPTIONS
    accept_timeout=60
    anon_max_rate=0
    anon_umask=022
    connect_timeout=120
    data_connection_timeout=300
    file_open_mode=0777
    idle_session_timeout=300
    listen_port=0
    local_max_rate=0
    local_umask=077
    max_clients=5
    max_login_fails=3
    max_per_ip=1
    pasv_max_port=0
    pasv_min_port=0
    trans_chunk_size=0
    #STRING OPTIONS
    anon_root=none
    banned_email_file=/etc/vsftpd/vsftpd.banned_emails
    banner_file=none
    chown_username=root
    chroot_list_file=/etc/vsftpd/vsftpd.chroot_list
    cmds_allowed=none
    deny_file=none
    dsa_cert_file=none
    dsa_private_key_file=none
    email_password_file=/etc/vsftpd/vsftpd.email_passwords
    ftp_username=ftp
    ftpd_banner=Welcome to hell. Have a nice day.
    guest_username=guest
    hide_file=none
    local_root=/ect/vsftpd/ftp
    message_file=.message
    nopriv_user=Deamon
    pam_service_name=Hell
    pasv_address=hell.deamon.org
    secure_chroot_dir=/etc/vsftpd/empty
    ssl_ciphers=DES-CBC3-SHA
    user_config_dir=/etc/vsftpd
    user_sub_token=none
    userlist_file=/etc/vsftpd/vsftpd.user_list
    vsftpd_log_file=/ect/vsftpd/vsftpd.log
    xferlog_file=/ect/vsftpd/xferlog

    hears the file if you want to download it and try it your self
    vsftpd.conf -- FileFactory.com - free file hosting --

    Now I do have have all the files and text files maid and the ones that needed a data base, data based so if any one can help please do.

  2. #2
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,049
    You can test your port settings with `nmap localhost`. Does this show you an open ftp port?

    How did you start the vsftp daemon? I take it you did enable it in /etc/inetd.conf?
    Can't tell an OS by it's GUI

  3. #3
    Just Joined!
    Join Date
    Oct 2008
    Location
    U.S.A
    Posts
    23
    im useing it as a stand alone so I dont have to mess with the inetd. and this is messed up its telling me that port 21 is open but vsftpd will not connect hmm I just might have to mess with the inetd.conf this is not going to be fun. I will have to deal with it after I get my Xserver updated which is also being a pain life is so much fun when useing slackware.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,049
    It shouldn't be that hard. But it's a bit of a puzzle, so you have to get the exact right pieces in place.

    From /etc/inetd:
    Code:
    # These are standard services:
    #
    # Very Secure File Transfer Protocol (FTP) server.
    #ftp     stream  tcp     nowait  root    /usr/sbin/tcpd  vsftpd
    #
    # Professional File Transfer Protocol (FTP) server.
    #ftp     stream  tcp     nowait  root    /usr/sbin/tcpd  proftpd
    Uncomment the vsftp line and
    Code:
    /etc/rc.d/rc.inetd restart
    nmap localhost
    ftp localhost
    By the way, this is one of the better collection of howto's I've seen about Slackware.
    Can't tell an OS by it's GUI

  6. #5
    Just Joined!
    Join Date
    Oct 2008
    Location
    U.S.A
    Posts
    23
    thank Freston I all ready had f
    ftp stream tcp nowait root /user/sbin/scpd vsftpd all ready uncommented and with that other part dont it works like a charm and thanks for the link I will have to look in to it ferther.

Posting Permissions

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