Current time: 11-27-2024, 06:27 PM Hello There, Guest! (LoginRegister)


Post Reply 
ProFTPD high load - fix
Author Message
Minganus Offline
Banned

Posts: 38
Joined: Feb 2011
Post: #2
Exclamation RE: ProFTPD high load - fix
Hello,
Thanks for solution!

But for protecting subdomains folders - backups, cgi-bin.... etc we must use additional rules

Code:
<Directory ~/*/backups>
<Limit RMD RNTO DELE XRMD>
  DenyAll
</Limit>
</Directory>
<Directory ~/*/backups/*>
<Limit RMD RNTO DELE XRMD>
    AllowAll
</Limit>
</Directory>

<Directory ~/*/cgi-bin>
<Limit RMD RNTO DELE XRMD>
  DenyAll
</Limit>
</Directory>
<Directory ~/*/cgi-bin/*>
<Limit RMD RNTO DELE XRMD>
    AllowAll
</Limit>
</Directory>

<Directory ~/*/htdocs>
<Limit RMD RNTO DELE XRMD>
  DenyAll
</Limit>
</Directory>
<Directory ~/*/htdocs/*>
<Limit RMD RNTO DELE XRMD>
    AllowAll
</Limit>
</Directory>

<Directory ~/*/errors>
<Limit RMD RNTO DELE XRMD>
  DenyAll
</Limit>
</Directory>
<Directory ~/*/errors/*>
<Limit RMD RNTO DELE XRMD>
    AllowAll
</Limit>
</Directory>

<Directory ~/*/logs>
<Limit RMD RNTO DELE XRMD>
  DenyAll
</Limit>
</Directory>
<Directory ~/*/logs/*>
<Limit RMD RNTO DELE XRMD>
    AllowAll
</Limit>
</Directory>

<Directory ~/*/phptmp>
<Limit RMD RNTO DELE XRMD>
  DenyAll
</Limit>
</Directory>
<Directory ~/*/phptmp/*>
<Limit RMD RNTO DELE XRMD>
    AllowAll
</Limit>
</Directory>

<Directory ~/*/statistics>
<Limit RMD RNTO DELE XRMD>
  DenyAll
</Limit>
</Directory>
<Directory ~/*/statistics/*>
<Limit RMD RNTO DELE XRMD>
    AllowAll
</Limit>
</Directory>

In file all of this here


Attached File(s)
.txt  proftpd2.txt (Size: 2.46 KB / Downloads: 57)
(This post was last modified: 02-09-2011 04:35 AM by Minganus.)
02-09-2011 04:32 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
ProFTPD high load - fix - fulltilt - 01-03-2010, 08:36 PM
RE: ProFTPD high load - fix - Minganus - 02-09-2011 04:32 AM
RE: ProFTPD high load - fix - fdriver - 07-28-2012, 09:54 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)