2016-08-09 17 views
0

私はFileZillaを使用してそのサーバーに接続しようとすると、時々動作します(通常は動作しません)最初は...と私はそれが動作する前に、いくつかのランダムな時間をしようとして維持する必要があります...そしてそれが良いために働くん一度...)、今これは私がFileZillaのログを受信エラーです:FTPサーバーへの接続が動作しない場合があります。

Status: Resolving address of ftp.myserver.com 
Status: Connecting to xx.xx.xx.xx:21... 
Status: Connection established, waiting for welcome message... 
Status: Insecure server, it does not support FTP over TLS. 
Command: USER my_user 
Response: 331 Password required for my_user 
Command: PASS ******* 
Error: Connection timed out after 20 seconds of inactivity 
Error: Could not connect to server 
Status: Waiting to retry... 
Status: Resolving address of ftp.myserver.com 
Status: Connecting to xx.xx.xx.xx:21... 
Status: Connection established, waiting for welcome message... 
Response: 220 ProFTPD 1.3.5a Server (Debian) [xx.xx.xx.xx] 
Command: AUTH TLS 
Response: 500 AUTH not understood 
Command: AUTH SSL 
Response: 500 AUTH not understood 
Status: Insecure server, it does not support FTP over TLS. 
Command: USER my_user 
Response: 331 Password required for my_user 
Command: PASS ******* 
Error: Connection timed out after 20 seconds of inactivity 
Error: Could not connect to server 

、これは私がproftpdのログに見るものです:

2016-08-09 10:26:37,263 FTP proftpd[33961] 10.0.0.6 (yy.yy.yy.yy[yy.yy.yy.yy]): USER my_user: Login successful. 
2016-08-09 10:26:37,264 FTP proftpd[33961] 10.0.0.6 (yy.yy.yy.yy[yy.yy.yy.yy]): FTP session closed. 
2016-08-09 10:26:37,468 FTP proftpd[33970] 10.0.0.6 (yy.yy.yy.yy[yy.yy.yy.yy]): FTP session opened. 

サーバはトンを閉じ、再び開き、なぜ私にはわかりません私はFTPの専門家です...

これを修正する方法についての任意の考えですか?

編集:

This is the content of proftpd.conf file

+0

'mod_delay'モジュールは遅延のよくある原因です。 [そのFAQ](http://www.proftpd.org/docs/modules/mod_delay.html#FAQ)を参照してください。 – Castaglia

+0

@Castagliaありがとうございます。実際には、mod_delayを有効にしましたが、残念ながらそれを無効にしても問題は解決しませんでした。 – Oussama

+0

使用している 'proftpd.conf'(マイナスの機密パスワード)を提供できますか?他に遅延が発生している可能性がありますか? – Castaglia

答えて

2

ProFTPDのと、ログイン時に遅延のために、複数の原因があります。最も一般的な原因は、mod_delayモジュール(its FAQ参照)、またはIdentLookupsまたはUseReverseDNSです。 PASSコマンドが送られた後あなた遅延が発生したため、任意のコマンドが送信される前に、それらは、初期接続の確立に関係するよう

しかし、それは、IdentLookupsまたはUseReverseDNSディレクティブを除外する。

レポーターとの議論では、mod_delayによって追加されたすべてのレイテンシが排除されました。これにより、コンフィギュレーション(/etc/pam.d/ftp)と使用されるモジュールに応じて、独自のレイテンシ(ProFTPDには制御がほとんどない)が追加されます。 PAMのProFTPDのの使用を無効にするには、設定で次のように使用します。

<IfModule mod_auth_pam.c> 
    AuthPAM off 
</IfModule> 

記者がPAMの使用を無効にすると、実際の遅延を削除しなかったことを述べた - ので、PAMモジュールの一つであったことを指摘します根本的な原因。

希望すると便利です。

関連する問題