proftpd

From: madunix (madunix_at_gmail.com)
Date: 10/12/04

  • Next message: Sasa: "Printer config crashing"
    Date: Tue, 12 Oct 2004 11:44:41 +0200
    
    

    I downloaded and installed the proftpd ....

    [root@rhwebapp root]# /usr/local/sbin/proftpd
     - warning: AuthPAMAuthoritative is deprecated
    [root@rhwebapp root]# ps -aux | grep ftp
    nobody 1346 0.0 0.1 2380 1240 ? S 13:51 0:00 proftpd:
    (accepti
    root 1348 0.0 0.0 1732 580 pts/0 S 13:51 0:00 grep ftp

    it looks okay for me .... but when I try to ftp to the server it gave
    [root@rhwebapp root]# ftp localhost
    Connected to localhost (127.0.0.1).
    421 Service not available, remote server has closed connection
    ftp> quit

    What could be the problem?
    what about the warning with PAM?
    my configuration file (part of it)

    # To have more informations about Proftpd configuration
    # look at : http://www.proftpd.org/
    #
    # This is a basic ProFTPD configuration file (rename it to
    # 'proftpd.conf' for actual use. It establishes a single server
    # and a single anonymous login. It assumes that you have a user/group
    # "nobody" and "ftp" for normal operation and anon.

    ServerName "THIS FTP SERVER IS RESTRICTED TO AUTHORIZED
    USERS"
    ServerType standalone
    DefaultServer on

    # Port 21 is the standard FTP port.
    Port 21

    # Umask 022 is a good standard umask to prevent new dirs and files
    # from being group and world writable.
    Umask 022

    DebugLevel 9
    SystemLog /var/log/proftpdlog
    TransferLog /var/log/xferlog

    # To prevent DoS attacks, set the maximum number of child processes
    # to 30. If you need to allow more than 30 concurrent connections
    # at once, simply increase this value. Note that this ONLY works
    # in standalone mode, in inetd mode you should use an inetd server
    # that allows you to limit maximum number of processes per service
    # (such as xinetd).
    MaxInstances 2

    ScoreboardFile /var/run/proftpd
    RequireValidShell off

    AuthPAMAuthoritative off

    # Set the user and group under which the server will run.
    User nobody
    Group nogroup

    # To cause every FTP user to be "jailed" (chrooted) into their home
    # directory, uncomment this line.
    #DefaultRoot ~
    ......


  • Next message: Sasa: "Printer config crashing"

    Relevant Pages

    • Re: ftp nologin problem
      ... >> I am running ProFTPD 1.2.10 on my bsd server but the problem is that if a user don't have a shell and I've defined his shell as nologin then the ftp server does not logon and give the following error ... However, ProFTPD, the server that he is using, supports ...
      (freebsd-questions)
    • Help with IPFW + NATD + Passive FTP
      ... passive FTP connections through IPFW with NATD enabled. ... $cmd 005 allow all from any to any via dc0 ... # Interface facing Public internet ... # Allow out access to my ISP's Domain name server. ...
      (freebsd-questions)
    • RE: Client Computers cannot upload or download from Remote FTP ser
      ... SBS External NIC - Cannot FTP From this server ... SBS Internal NIC ... FTP server is Checked in Routing and Remote Access - Internet Connection - ...
      (microsoft.public.windows.server.sbs)
    • RE: Client Computers cannot upload or download from Remote FTP ser
      ... Only FTP via the MS DOS FTP Client ... The server that works is a member of the SBS's Domain, BUT as I indicated, ... the router, not the SBS server. ... The client event log has nothing related logged. ...
      (microsoft.public.windows.server.sbs)
    • Re: Is this a 3-Leg Perimeter scenario?
      ... Do you mean the FTP server is hosted on the ... to control the traffic to not go though ISA but go to SmoothWall directly. ... Microsoft CSS Online Newsgroup Support ...
      (microsoft.public.windows.server.sbs)