当前位置: 技术问答>linux和unix
求助 proftpd 不能登录
来源: 互联网 发布时间:2016-11-13
本文导语: 我在Solaris 安装了一个proftpd 现在问题如下: 1) 内网 可以登录,但是点击下载时会提示 "无法下载 拒绝登录申请" 日志文件里面显示USER anonymous: no such user found from ::ffff:192.168.1.210 [::ffff:192.168.1.210] to ::ffff:1...
我在Solaris 安装了一个proftpd 现在问题如下:
1) 内网
可以登录,但是点击下载时会提示 "无法下载 拒绝登录申请" 日志文件里面显示USER anonymous: no such user found from ::ffff:192.168.1.210 [::ffff:192.168.1.210] to ::ffff:192.168.1.218:2110
2) 外网: 可以telnet IP 端口可以通。 但登录后提示 "打开FTP服务器上的文件夹时发生错误。请检查是否有权限"
我的proftpd.conf配置如下:
1) 内网
可以登录,但是点击下载时会提示 "无法下载 拒绝登录申请" 日志文件里面显示USER anonymous: no such user found from ::ffff:192.168.1.210 [::ffff:192.168.1.210] to ::ffff:192.168.1.218:2110
2) 外网: 可以telnet IP 端口可以通。 但登录后提示 "打开FTP服务器上的文件夹时发生错误。请检查是否有权限"
我的proftpd.conf配置如下:
ServerName "ProFTPD Default Installation"
ServerType standalone
DefaultServer on
# Port 21 is the standard FTP port.
Port 2110
# 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
# Set the user and group under which the server will run.
User nobody
Group nogroup
# 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
# Bar use of SITE CHMOD by default
#
# DenyAll
#
#日志设置为紧急事件记录,
SystemLog /var/log/proftpd.log
# 级别可选:emerg, alert, crit (empfohlen), error, warn. notice, info, debug
SyslogLevel emerg
#有所有权限
AllowAll
AllowRetrieveRestart on
AllowStoreRestart on
|
500 SIZE not allowed in ASCII mode
---------------
这个话的意思不是说ASCII模式不好用 而是说在ASCII模式下不能用SIZE命令 你别理解错了。