Titel: Pro FTPD starke Verbindungsprobleme Beitrag von: ReneAlsGast am 28. November 2005, 23:42:18 Seit einiger Zeit, kämpfe ich mit dem Problem, dass ProFTPD vom Server meistens schlecht erreichbar ist, dies läuft so ab:
Pro FTPD meldet sich FTP Client von mir sendet Username Paßwort Und nun wird die Verbindung zurück gesetzt(das Problem besteht aber nicht nur an meinem PC und nicht nur in meinem Netzwerk) Paßwort ist übrigens nicht falsch Wenn ich z.B. in WS FTP LE einstelle, es soll bis zu 20mal versuchen zu connecten, kanns sein, dass beim 14. Connectversuch alles normal geht. Serverlogs sagen dazu nichts besonderes- ein normaler Verbindungsversuch einfach Hier mal ein Logauszug mit 3 fehlerhaften Versuchen(wobei es eigentlich mehr waren) Zitat alster079 [18752] 213.163.236.36 [28/Nov/2005:21:06:33 +0100] "USER payne" 331 alster079 [18753] xxxxxxx [28/Nov/2005:21:06:34 +0100] "USER payne" 331 alster079 [18754] xxxxxxxx [28/Nov/2005:21:06:35 +0100] "USER payne" 331 alster079 [18754] xxxxxxxx [28/Nov/2005:21:06:35 +0100] "PASS (hidden)" 230 Beim letzten Versuch mit dem Code 230 klappte es. Und achja, die detaillierteren Logs sagen auch nichts wichtiges. Zitat xxxxxxxxx UNKNOWN nobody [28/Nov/2005:21:13:06 +0100] "USER payne" 331 - xxxxxxx UNKNOWN nobody [28/Nov/2005:21:13:55 +0100] "USER payne" 331 - 213.163.236.36 UNKNOWN payne [28/Nov/2005:21:13:55 +0100] "PASS (hidden)" 230 - xxxxxxxxxx UNKNOWN payne [28/Nov/2005:21:13:55 +0100] "SYST" 215 - xxxxxxx UNKNOWN payne [28/Nov/2005:21:13:55 +0100] "FEAT" 211 - xxxxxxxxx UNKNOWN payne [28/Nov/2005:21:13:55 +0100] "CWD /" 250 - 213.163.236.36 UNKNOWN payne [28/Nov/2005:21:13:55 +0100] "PWD" 257 - xxxxxxxxxx UNKNOWN payne [28/Nov/2005:21:13:55 +0100] "TYPE A" 200 - xxxxxxxx UNKNOWN payne [28/Nov/2005:21:13:56 +0100] "PASV" 227 - xxxxxxx UNKNOWN payne [28/Nov/2005:21:13:56 +0100] "LIST -al" 226 175 Config Zitat # # /etc/proftpd.conf -- This is a basic ProFTPD configuration file. # To really apply changes reload proftpd after modifications. # ServerName "alster079 ServerType standalone DeferWelcome off MultilineRFC2228 on DefaultServer on ShowSymlinks on AllowOverwrite on TimeoutNoTransfer 600 TimeoutStalled 600 TimeoutIdle 1200 DisplayLogin welcome.msg DisplayFirstChdir .message ListOptions "-l" DenyFilter \*.*/ # Uncomment this if you are using NIS or LDAP to retrieve passwords: #PersistentPasswd off # Uncomment this if you would use TLS module: #TLSEngine on #TLSLog /var/log/tls.log #TLSProtocol SSLv23 #TLSOptions NoCertRequest #TLSRSACertificateFile /etc/ssl/certs/proftpd.cert.pem #TLSRSACertificateKeyFile /etc/ssl/certs/proftpd.key.pem #TLSVerifyClient off # Uncomment this if you would use quota module: #Quotas on # Uncomment this if you would use ratio module: #Ratios on # Port 21 is the standard FTP port. Port 21 # 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 # Set the user and group that the server normally runs at. User nobody Group nogroup # Umask 022 is a good standard umask to prevent new files and dirs # (second parm) from being group and world writable. Umask 022 022 # Normally, we want files to be overwriteable. AllowOverwrite on # Delay engine reduces impact of the so-called Timing Attack described in # http://security.lss.hr/index.php?page=details&ID=LSS-2004-10-02 # It is on by default. #DelayEngine off # A basic anonymous configuration, no upload directories. # <Anonymous ~ftp> # User ftp # Group nogroup # # We want clients to be able to login with "anonymous" as well as "ftp" # UserAlias anonymous ftp # # Cosmetic changes, all files belongs to ftp user # DirFakeUser on ftp # DirFakeGroup on ftp # # RequireValidShell off # # # Limit the maximum number of anonymous logins # MaxClients 10 # # # We want 'welcome.msg' displayed at login, and '.message' displayed # # in each newly chdired directory. # DisplayLogin welcome.msg # DisplayFirstChdir .message # # # Limit WRITE everywhere in the anonymous chroot # <Directory *> # <Limit WRITE> # DenyAll # </Limit> # </Directory> # # # Uncomment this if you're brave. # # <Directory incoming> # # # Umask 022 is a good standard umask to prevent new files and dirs # # # (second parm) from being group and world writable. # # Umask 022 022 # # <Limit READ WRITE> # # DenyAll # # </Limit> # # <Limit STOR> # # AllowAll # # </Limit> # # </Directory> # # </Anonymous> # # chroot für alle User der Gruppe ftpuser DefaultRoot ~ ftpuser,!staff # # Login nur von Mitgliedern der Gruppe ftpuser erlauben <Limit LOGIN> DenyGroup !ftpuser </Limit> # # Root-Login verbieten und gültige Shell verlangen (in /etc/shells) <Global> RootLogin off RequireValidShell on </Global> # # Speed erhoehen UseReverseDNS off IdentLookups off # # Logging Formate 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" # # Logging aktivieren # # alle logins ExtendedLog /var/log/ftp_auth.log AUTH auth # # file/dir Zugriff ExtendedLog /var/log/ftp_access.log WRITE,READ write # # für paranoide (vorsicht, erzeugt grosse Logfiles) ExtendedLog /var/log/ftp_paranoid.log ALL default Wo suche ich da nun den Fehler? :( Titel: Pro FTPD starke Verbindungsprobleme Beitrag von: ReneAlsGast am 28. November 2005, 23:43:31 Nachtrag:
Habe Debian Sarge, ProFTPD als Debian Paket Die aktuelle Stableversion.. Titel: Re: Pro FTPD starke Verbindungsprobleme Beitrag von: stonki am 29. November 2005, 10:57:56 Debug Log. Sonst wird das nichts.
|