Вот такой херней я прострадал целый день!!!!!!
- 27.06.08, 02:14
ServerType standalone
DefaultServer on
Umask 022
ServerName "Solhacker FTP Deamon"
ServerIdent on "Sons of Liberty"
ServerAdmin [email protected]
IdentLookups off
UseReverseDNS off
Port 21
PassivePorts 49152 65534
#MasqueradeAddress None
TimesGMT off
MaxInstances 10
MaxLoginAttempts 4
TimeoutLogin 300
TimeoutNoTransfer 120
TimeoutIdle 120
User foxx
Group ftpgroup
DirFakeUser off foxx
DirFakeGroup off ftpgroup
DefaultTransferMode binary
RequireValidShell off
AllowForeignAddress on
AllowRetrieveRestart off
AllowStoreRestart off
DeleteAbortedStores on
TransferRate RETR 80
TransferRate STOR 80
TransferRate STOU 80
TransferRate APPE 80
SystemLog /var/log/secure
#gp_random_username_length 6
#gp_random_password_length 6
#gp_randomize_case lower
#gp_useradd_root_path /home/ftp
#gp_useradd_upload_path /upload
#gp_html_path /var/www/ftp.html
#gp_welcome_name welcome.msg
<IfModule mod_tls.c>
TLSEngine off
TLSRequired off
TLSVerifyClient off
TLSProtocol TLSv1
TLSLog /var/log/proftpd_tls.log
TLSRSACertificateFile /etc/gproftpd/gproftpd.pem
</IfModule>
<Limit LOGIN>
AllowUser solhacker
AllowUser test
AllowUser foxx
DenyALL
</Limit>
<limit READ>
AllowUser solhacker
AllowUser test
AllowUser foxx
DenyALL
</limit>
<Anonymous /home/ftp>
User solhacker
Group ftpgroup
AnonRequirePassword on
MaxClients 3 "The server is full, hosting %m users"
DisplayLogin welcome.msg
DisplayFirstChdir .msg
AllowOverwrite off
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
<Limit ROOT_DIR_ALLOW RETR LIST NLST MDTM SIZE STAT CWD XCWD PWD XPWD CDUP XCUP>
AllowAll
</Limit>
<Limit ROOT_DIR_DENY DELE APPE STOR STOU SITE_CHMOD SITE_CHGRP RNFR RNTO MKD XMKD RMD XRMD>
DenyAll
</Limit>
<Directory /home/ftp/upload/*>
AllowOverwrite on
<Limit UPLOAD_DIR_ALLOW LIST NLST >
AllowAll
</Limit>
<Limit UPLOAD_DIR_DENY STOR STOU APPE RETR RNFR RNTO DELE MKD XMKD RMD XRMD SITE_CHMOD SITE_CHGRP STAT MDTM PWD XPWD SIZE CWD XCWD CDUP XCUP SITE >
DenyAll
</Limit>
</Directory>
</Anonymous>
<Anonymous /home/ftp/>
User test
Group ftpgroup
AnonRequirePassword on
MaxClients 3 "The server is full, hosting %m users"
DisplayLogin welcome.msg
DisplayFirstChdir .msg
AllowOverwrite off
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
<Limit ROOT_DIR_ALLOW RETR LIST NLST MDTM SIZE STAT CWD XCWD PWD XPWD CDUP XCUP>
AllowAll
</Limit>
<Limit ROOT_DIR_DENY DELE APPE STOR STOU SITE_CHMOD SITE_CHGRP RNFR RNTO MKD XMKD RMD XRMD>
DenyAll
</Limit>
<Directory /home/ftp/upload/*>
AllowOverwrite on
<Limit UPLOAD_DIR_ALLOW LIST NLST STOR STOU APPE RETR MKD XMKD STAT MDTM PWD XPWD SIZE CWD XCWD CDUP XCUP SITE >
AllowAll
</Limit>
<Limit UPLOAD_DIR_DENY RNFR RNTO DELE RMD XRMD SITE_CHMOD SITE_CHGRP >
DenyAll
</Limit>
</Directory>
</Anonymous>
DefaultServer on
Umask 022
ServerName "Solhacker FTP Deamon"
ServerIdent on "Sons of Liberty"
ServerAdmin [email protected]
IdentLookups off
UseReverseDNS off
Port 21
PassivePorts 49152 65534
#MasqueradeAddress None
TimesGMT off
MaxInstances 10
MaxLoginAttempts 4
TimeoutLogin 300
TimeoutNoTransfer 120
TimeoutIdle 120
User foxx
Group ftpgroup
DirFakeUser off foxx
DirFakeGroup off ftpgroup
DefaultTransferMode binary
RequireValidShell off
AllowForeignAddress on
AllowRetrieveRestart off
AllowStoreRestart off
DeleteAbortedStores on
TransferRate RETR 80
TransferRate STOR 80
TransferRate STOU 80
TransferRate APPE 80
SystemLog /var/log/secure
#gp_random_username_length 6
#gp_random_password_length 6
#gp_randomize_case lower
#gp_useradd_root_path /home/ftp
#gp_useradd_upload_path /upload
#gp_html_path /var/www/ftp.html
#gp_welcome_name welcome.msg
<IfModule mod_tls.c>
TLSEngine off
TLSRequired off
TLSVerifyClient off
TLSProtocol TLSv1
TLSLog /var/log/proftpd_tls.log
TLSRSACertificateFile /etc/gproftpd/gproftpd.pem
</IfModule>
<Limit LOGIN>
AllowUser solhacker
AllowUser test
AllowUser foxx
DenyALL
</Limit>
<limit READ>
AllowUser solhacker
AllowUser test
AllowUser foxx
DenyALL
</limit>
<Anonymous /home/ftp>
User solhacker
Group ftpgroup
AnonRequirePassword on
MaxClients 3 "The server is full, hosting %m users"
DisplayLogin welcome.msg
DisplayFirstChdir .msg
AllowOverwrite off
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
<Limit ROOT_DIR_ALLOW RETR LIST NLST MDTM SIZE STAT CWD XCWD PWD XPWD CDUP XCUP>
AllowAll
</Limit>
<Limit ROOT_DIR_DENY DELE APPE STOR STOU SITE_CHMOD SITE_CHGRP RNFR RNTO MKD XMKD RMD XRMD>
DenyAll
</Limit>
<Directory /home/ftp/upload/*>
AllowOverwrite on
<Limit UPLOAD_DIR_ALLOW LIST NLST >
AllowAll
</Limit>
<Limit UPLOAD_DIR_DENY STOR STOU APPE RETR RNFR RNTO DELE MKD XMKD RMD XRMD SITE_CHMOD SITE_CHGRP STAT MDTM PWD XPWD SIZE CWD XCWD CDUP XCUP SITE >
DenyAll
</Limit>
</Directory>
</Anonymous>
<Anonymous /home/ftp/>
User test
Group ftpgroup
AnonRequirePassword on
MaxClients 3 "The server is full, hosting %m users"
DisplayLogin welcome.msg
DisplayFirstChdir .msg
AllowOverwrite off
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
<Limit ROOT_DIR_ALLOW RETR LIST NLST MDTM SIZE STAT CWD XCWD PWD XPWD CDUP XCUP>
AllowAll
</Limit>
<Limit ROOT_DIR_DENY DELE APPE STOR STOU SITE_CHMOD SITE_CHGRP RNFR RNTO MKD XMKD RMD XRMD>
DenyAll
</Limit>
<Directory /home/ftp/upload/*>
AllowOverwrite on
<Limit UPLOAD_DIR_ALLOW LIST NLST STOR STOU APPE RETR MKD XMKD STAT MDTM PWD XPWD SIZE CWD XCWD CDUP XCUP SITE >
AllowAll
</Limit>
<Limit UPLOAD_DIR_DENY RNFR RNTO DELE RMD XRMD SITE_CHMOD SITE_CHGRP >
DenyAll
</Limit>
</Directory>
</Anonymous>
-
-
-
Авторизуйтеся, щоб проголосувати.
2
Коментарі
CKB
127.06.08, 08:45
Сложно было пропустить это все через англо-русский переводчик?
Никто ж не поймет ничего
Dizel Optimum
219.03.09, 04:55
+++++++++++++