|
|
我有两个帐号,www.trip315.com可以下载,up ... 有些小问题。
我的隐藏文件在ftp下隐藏不了,我最想解决的是我限制的一个ip只能三个连接不起作用,不知道哪里的问题。附我的配置文件:
[PHP]ServerName "ftp.trip315.com"
ServerType standalone
DeferWelcome on
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
AllowOverwrite on
AllowRetrieveRestart on
AllowStoreRestart on
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
MaxInstances 500
DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions "" strict
#ListOptions "-a"
#ShowDotFiles off
#HideFiles welcome.msg .message
MaxClients 101
DenyFilter \*.*/
SystemLog /var/log/proftpd.log
IdentLookups off
UseReverseDNS off
DefaultRoot ~
MaxLoginAttempts 3
MaxClientsPerHost 3
AllowForeignAddress on
DirFakeUser on FTP
DirFakeGroup on FTP
ServerIdent off
<Limit READ DIRS>
IgnoreHidden on
</Limit>
<Limit LOGIN>
Order deny,allow
Deny from 210.
Allow from all
</Limit>
Port 21
Umask 022
MaxInstances 5
User www.trip315.com
Group ftpusers
<Global>
MaxClientsPerHost 3 "Sorry,3 connecttion per ip is allowed !"
</Global>
<Directory /*>
AllowOverwrite on
HideNoAccess on
</Directory>
<Anonymous /home/ftp>
User www.trip315.com
Group ftpusers
DirFakeUser on ftp
DirFakeGroup on ftp
RequireValidShell off
MaxClients 100 "Guests full!!!Wait a moment Please!"
MaxClientsPerHost 3 "Sorry,3 connecttion per ip is allowed!"
DisplayLogin welcome.msg
DisplayFirstChdir .message
<Directory /home/ftp>
<Limit WRITE>
DenyUser www.trip315.com
</Limit>
<Limit LOGIN>
Order deny,allow
Deny from 210.45.
Allow from all
</Limit>
</Directory>
</Anonymous>
[/PHP] |
|