diff -Naur proftpd-1.3.3/sample-configurations/anonymous.conf proftpd-1.3.3-magellan/sample-configurations/anonymous.conf --- proftpd-1.3.3/sample-configurations/anonymous.conf 2010-03-03 19:37:33.000000000 +0100 +++ proftpd-1.3.3-magellan/sample-configurations/anonymous.conf 2010-03-03 19:40:05.000000000 +0100 @@ -73,6 +73,22 @@ +# # Dynamic Ban List (http://www.proftpd.org/docs/contrib/mod_ban.html) +# Enable this with PROFTPD_OPTIONS=-DBAN in /etc/conf.d/proftpd + + BanEngine on + BanLog /var/log/proftpd/ban.log + BanTable /var/run/proftpd/ban.tab + + # If the same client reaches the MaxLoginAttempts limit 2 times + # within 10 minutes, automatically add a ban for that client that + # will expire after one hour. + BanOnEvent MaxLoginAttempts 2/00:10:00 01:00:00 + + # Allow the FTP admin to manually add/remove bans + BanControlsACLs all allow user ftpadm + + # Our "basic" anonymous configuration, including a single # upload directory ("uploads") diff -Naur proftpd-1.3.3/sample-configurations/basic.conf proftpd-1.3.3-magellan/sample-configurations/basic.conf --- proftpd-1.3.3/sample-configurations/basic.conf 2010-03-03 19:37:33.000000000 +0100 +++ proftpd-1.3.3-magellan/sample-configurations/basic.conf 2010-03-03 19:40:18.000000000 +0100 @@ -74,6 +74,22 @@ +# # Dynamic Ban List (http://www.proftpd.org/docs/contrib/mod_ban.html) +# Enable this with PROFTPD_OPTIONS=-DBAN in /etc/conf.d/proftpd + + BanEngine on + BanLog /var/log/proftpd/ban.log + BanTable /var/run/proftpd/ban.tab + + # If the same client reaches the MaxLoginAttempts limit 2 times + # within 10 minutes, automatically add a ban for that client that + # will expire after one hour. + BanOnEvent MaxLoginAttempts 2/00:10:00 01:00:00 + + # Allow the FTP admin to manually add/remove bans + BanControlsACLs all allow user ftpadm + + # A basic anonymous configuration, no upload directories. # diff -Naur proftpd-1.3.3/sample-configurations/mod_sql.conf proftpd-1.3.3-magellan/sample-configurations/mod_sql.conf --- proftpd-1.3.3/sample-configurations/mod_sql.conf 2010-03-03 19:37:33.000000000 +0100 +++ proftpd-1.3.3-magellan/sample-configurations/mod_sql.conf 2010-03-03 19:40:34.000000000 +0100 @@ -104,6 +104,22 @@ +# # Dynamic Ban List (http://www.proftpd.org/docs/contrib/mod_ban.html) +# Enable this with PROFTPD_OPTIONS=-DBAN in /etc/conf.d/proftpd + + BanEngine on + BanLog /var/log/proftpd/ban.log + BanTable /var/run/proftpd/ban.tab + + # If the same client reaches the MaxLoginAttempts limit 2 times + # within 10 minutes, automatically add a ban for that client that + # will expire after one hour. + BanOnEvent MaxLoginAttempts 2/00:10:00 01:00:00 + + # Allow the FTP admin to manually add/remove bans + BanControlsACLs all allow user ftpadm + + # We put our mod_sql directives in a block so they'll be # inherited by the block below, and any other # blocks we may want to add. For a simple server these don't need to diff -Naur proftpd-1.3.3/sample-configurations/virtual.conf proftpd-1.3.3-magellan/sample-configurations/virtual.conf --- proftpd-1.3.3/sample-configurations/virtual.conf 2010-03-03 19:37:33.000000000 +0100 +++ proftpd-1.3.3-magellan/sample-configurations/virtual.conf 2010-03-03 19:40:44.000000000 +0100 @@ -69,6 +69,22 @@ +# # Dynamic Ban List (http://www.proftpd.org/docs/contrib/mod_ban.html) +# Enable this with PROFTPD_OPTIONS=-DBAN in /etc/conf.d/proftpd + + BanEngine on + BanLog /var/log/proftpd/ban.log + BanTable /var/run/proftpd/ban.tab + + # If the same client reaches the MaxLoginAttempts limit 2 times + # within 10 minutes, automatically add a ban for that client that + # will expire after one hour. + BanOnEvent MaxLoginAttempts 2/00:10:00 01:00:00 + + # Allow the FTP admin to manually add/remove bans + BanControlsACLs all allow user ftpadm + + # First virtual server ServerName "Virtual.com's FTP Server"