PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Problem bei ProFTPd login



hawk23
08.11.08, 16:20
hallo!

also wenn ich mit FlashFXP auf meinen ProFTPd connecten will als user "hawk23"
dann hab ich ziemlich oft das problem das er nach dem USER command haengen bleibt.
ich komm einfach nicht dahinter woran es liegt!

hier mal der status output von FlashFXP:


[R] Connecting to hawk23 via Proxy -> IP=*.*.*.* PORT=*****
[R] SOCKS: Connecting to *.*.*.*:21
[R] SOCKS: Connected to *.*.*.*:21
[R] Connected to hawk23 via Proxy
[R] 220 ProFTPD 1.3.0 Server (proftpd name) [*.*.*.*]
[R] AUTH SSL
[R] 234 AUTH SSL successful
[R] Connected. Negotiating SSL session..
[R] SSL negotiation successful...
[R] SSL encrypted session using cipher DHE-RSA-AES256-SHA (256 bits)
[R] PBSZ 0
[R] 200 PBSZ 0 successful
[R] USER hawk23
[R] Connection failed (Connection timed out)
[R] Delaying for 120 seconds before reconnect attempt #1


das verwirrende daran ist, manchmal geht es, manchmal nicht. meistens kann ich mich so nach dem 5. mal ca. einloggen und alles funktioniert einwandtfrei.

und hier meine ProFTPd config file:


#
# /etc/proftpd/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes reload proftpd after modifications.
#

# Includes DSO modules
Include /etc/proftpd/modules.conf

# Set off to disable IPv6 support which is annoying on IPv4 only boxes.
UseIPv6 off

ServerName "proftpd name"
ServerType standalone
DeferWelcome off

MultilineRFC2228 on
DefaultServer on
ShowSymlinks on

TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200

DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions "-l"

DenyFilter \*.*/

# FXP ENABLED!
AllowForeignAddress On

# Port 21 is the standard FTP port.
Port 21

# In some cases you have to specify passive ports range to by-pass
# firewall limitations. Ephemeral ports can be used for that, but
# feel free to use a more narrow range.
# PassivePorts 49152 65534

# 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 proftpd
Group nogroup

# A basic anonymous configuration, no upload director
<Directory /home/ftp/data/*>
<Limit READ WRITE>
AllowAll
</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>


RequireValidShell off

DefaultRoot ~

# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask 000 000
# Normally, we want files to be overwriteable.
AllowOverwrite on

# Uncomment this if you are using NIS or LDAP to retrieve passwords:
# PersistentPasswd off

# Be warned: use of this directive impacts CPU average load!
#
# Uncomment this if you like to see progress and transfer rate with ftpwho
# in downloads. That is not needed for uploads rates.
# UseSendFile off

TransferLog /var/log/proftpd/xferlog
SystemLog /var/log/proftpd/proftpd.log

#TLS
<IfModule mod_tls.c>
TLSEngine on
TLSLog /var/log/proftpd/proftpd_tls.log
#TLSProtocol TLSv1
TLSProtocol SSLv23
TLSRequired on
TLSVerifyClient off
TLSRSACertificateFile /etc/proftpdcert/host.cert
TLSRSACertificateKeyFile /etc/proftpdcert/host.key
</IfModule>

<IfModule mod_quota.c>
QuotaEngine on
</IfModule>

<IfModule mod_ratio.c>
Ratios on
</IfModule>


# 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.
<IfModule mod_delay.c>
DelayEngine on
</IfModule>

<IfModule mod_ctrls.c>
ControlsEngine on
ControlsMaxClients 2
ControlsLog /var/log/proftpd/controls.log
ControlsInterval 5
ControlsSocket /var/run/proftpd/proftpd.sock
</IfModule>

<IfModule mod_ctrls_admin.c>
AdminControlsEngine on
</IfModule>


hat jemand nen vorschlag worans liegen koennte?

mfg
hawk23

benedelux
10.11.08, 18:29
Am besten mal proftpd beenden und mal im Debug modus starten:

proftpd -nd6

Dann connecten und schauen was er sagt wenn es wieder passiert.

Greez BeNe

hawk23
20.11.08, 22:31
danke, ich habs nun schon geloest! (bis jetz gabs zumindest keine probleme, laeuft seit 2 tagen wieder)

habe einfach das SSL certificate erneuert, seitdem scheint er zu laufen.


greetings