简体   繁体   English

vsFTP - gnutls_record_recv 中的 GnuTLS 错误 -15:收到了意外的 TLS 数据包

[英]vsFTP - GnuTLS error -15 in gnutls_record_recv: An unexpected TLS packet was received

On the same server I have more then 20 domains.在同一台服务器上,我有 20 多个域。 vsftpd manage FTP user. vsftpd 管理 FTP 用户。 All works fine except with 1 user.除 1 个用户外,一切正常。 Just one...只有一个...

GnuTLS error -15 in gnutls_record_recv: An unexpected TLS packet was received gnutls_record_recv 中的 GnuTLS 错误 -15:收到了意外的 TLS 数据包

Why?为什么? What's wrong?!怎么了?!

Tue May  5 18:31:49 2020 [pid 20607] CONNECT: Client "xxx.xxx.xxx.xxx"
Tue May  5 18:31:49 2020 [pid 20607] FTP response: Client "xxx.xxx.xxx.xxx", "220 (vsFTPd 3.0.3)"
Tue May  5 18:31:49 2020 [pid 20607] FTP command: Client "xxx.xxx.xxx.xxx", "AUTH TLS"
Tue May  5 18:31:49 2020 [pid 20607] FTP response: Client "xxx.xxx.xxx.xxx", "234 Proceed with negotiation."
Tue May  5 18:31:49 2020 [pid 20607] FTP command: Client "xxx.xxx.xxx.xxx", "USER myuser"
Tue May  5 18:31:49 2020 [pid 20607] [altshock2_org] FTP response: Client "xxx.xxx.xxx.xxx", "331 Please specify the password."
Tue May  5 18:31:49 2020 [pid 20607] [altshock2_org] FTP command: Client "xxx.xxx.xxx.xxx", "PASS <password>"
Tue May  5 18:31:49 2020 [pid 20606] [altshock2_org] OK LOGIN: Client "xxx.xxx.xxx.xxx"

OOOOOK.哦哦哦。 I'm so stupid.我真蠢。 I suspected it was a permission problem...我怀疑是权限问题...

THe user had the wrong path of home in /etc/passwd.用户在 /etc/passwd 中有错误的主路径。

Now all works fine!现在一切正常!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM