Proftpd schaltet sich immer aus

Bernett22

New Member
Hallo Forum,

ich weiss nicht, woran es liegt. Und zwar ist es so, dass sich mein proftpd nach 3 fehlgeschlagenen Logins sich automatisch runterfährt. Über jeden Vorschlag würde ich mich sehr freuen.

Code:
etc/init.d/proftpd status
Checking for service proftpd                                          dead

hier mal die proftpd.conf:
Code:
# 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                      "ITXWEB"
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

# 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                    30
MaxConnectionRate               4
SocketBindTight                 off
UseReverseDNS                   off

<IfModule mod_tls.c>
TLSProtocol SSLv23
</IfModule>

# Log-Formate definieren

SystemLog                       NONE
LogFormat default               "%h %l %u %t \"%r\" %s %b"
LogFormat auth                  "%v [%P] %h %t \"%r\" %s"
LogFormat write                 "%h %l %u %t \"%r\" %s %b"

# Set the user and group under which the server will run.

User                            ftp
Group                           ftp

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

DefaultRoot ~

# Normally, we want files to be overwriteable.

AllowOverwrite                  on
AllowRetrieveRestart            on
HiddenStores                    on
DeleteAbortedStores             on
AllowStoreRestart               off # widerspricht sonst "DeleteAbortedStores"

# Bar use of SITE CHMOD by default

<Limit SITE_CHMOD>
  DenyAll
</Limit>

# Login

ServerIdent                     on "FTP server ready."
DeferWelcome                    on
DisplayConnect                  /etc/proftpd.msg

IdentLookups                    off
UseFtpUsers                     off
RequireValidShell               off

TimeoutLogin                    60
MaxLoginAttempts                3
MaxClientsPerHost               3

# Session

DenyFilter \*.*/
ListOptions "-An +R" strict
UseGlobbing                     off

ShowSymlinks                    on
TimesGMT                        on

# Timeouts
TimeoutIdle                     600 # Inaktivitaet
TimeoutNoTransfer               3600 # keine Datenuebertragung (Listing, File, ...)
TimeoutStalled                  300 # haengende Datenuebertragung
TimeoutSession                  7200 # Gesamtdauer einer Session

# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.

DisplayLogin                    welcome.msg
DisplayChdir                    .message
AllowOverride                   off

# TLS

<IfModule mod_tls.c>
TLSEngine                       on
TLSLog                          /var/log/proftpd/proftpd_tls.log
TLSRequired                     off
TLSVerifyClient                 off
TLSRSACertificateFile           /usr/local/etc/ftpcert/host.cert
TLSRSACertificateKeyFile        /usr/local/etc/ftpcert/host.key

beste Grüße
 
Habe mich gerade extra mit einem falschen PW versucht anzumelden. Nach dem ersten, fehlgeschlagenen Versuch, ist der Proftpd down.... verstehe ich nicht

Noch ein kleiner Hinweis. Wenn ich mich, statt mit FileZilla, mit dem Internet Explorer ( ftp://ipadresse ) verbinden möchte, ist der Proftpd auch sofort auf Status dead.


Auszug aus der proftpd.log
Code:
Jun 19 17:32:12 server proftpd[32203] server.de: ProFTPD 1.3.1 (stable) (built Fri Oct 19 11:01:36 UTC 2007) standalone mode STARTUP
Jun 19 17:32:15 server proftpd[32203] server.de: ProFTPD killed (signal 15)
Jun 19 17:32:15 server proftpd[32203] server.de: ProFTPD 1.3.1 standalone mode SHUTDOWN
Jun 19 17:32:18 server proftpd[32223] server.de: ProFTPD 1.3.1 (stable) (built Fri Oct 19 11:01:36 UTC 2007) standalone mode STARTUP
Jun 19 17:32:28 server proftpd[32223] server.de (::ffff:91.20.246.66[::ffff:91.20.246.66]): FTP session opened.
Jun 19 17:32:28 server proftpd[32223] server.de (::ffff:91.20.246.66[::ffff:91.20.246.66]): USER mmustermann: Login successful.
Jun 19 17:32:28 server proftpd[32223] server.de (::ffff:91.20.246.66[::ffff:91.20.246.66]): Preparing to chroot to directory '/home/mmustermann'
Jun 19 17:42:29 server proftpd[32223] server.de (::ffff:91.20.246.66[::ffff:91.20.246.66]): FTP session idle timeout, disconnected
Jun 19 17:42:29 server proftpd[32223] server.de (::ffff:91.20.246.66[::ffff:91.20.246.66]): ProFTPD 1.3.1 standalone mode SHUTDOWN
Jun 19 18:19:20 server proftpd[3378] server.de: ProFTPD 1.3.1 (stable) (built Fri Oct 19 11:01:36 UTC 2007) standalone mode STARTUP
Jun 19 18:19:26 server proftpd[3378] server.de (::ffff:91.20.246.66[::ffff:91.20.246.66]): FTP session opened.
Jun 19 18:19:26 server proftpd[3378] server.de (::ffff:91.20.246.66[::ffff:91.20.246.66]): USER mmustermann (Login failed): Incorrect password.

Auszug aus der /var/log/messages
Code:
Jun 19 18:23:56 server proftpd: pam_warn(ftp:auth): function=[pam_sm_authenticate] service=[ftp] terminal=[<unknown>] user=[mmustermann] ruser=[mmustermann] rhost=[::ffff:91.20.246.66]
 
Last edited by a moderator:
kann es vielleicht am User liegen, unter dem der Proftpd läuft ? Habe den ftp User genommen, der schon im System vorhanden war:
Code:
ftp:x:40:49:FTP account:/srv/ftp:/bin/bash

proftpd.conf
Code:
# Set the user and group under which the server will run.

User                            ftp
Group                           ftp
 
Last edited by a moderator:
Back
Top