- 论坛徽章:
- 0
|
proftpd可以用mod_ban模块实现
编译时加上mod_ban模块,可以从这里下载
http://www.castaglia.org/proftpd/modules/proftpd-mod-ban-0.4.5.tar.gz
文档
http://www.castaglia.org/proftpd/modules/mod_ban.html
- ./configure --enable-ctrls --with-modules=mod_ban
- make
- make install
复制代码
配置
- <IfModule mod_ban.c>
- BanEngine on
- BanLog /var/log/proftpd/ban.log
- BanTable /var/data//proftpd/ban.tab
- # If the same client reaches the MaxClientsPerUser limit 2 times
- # within 10 minutes, automatically add a ban for that client that
- # will expire after one hour.
- BanOnEvent MaxClientsPerUser 2/00:10:00 01:00:00
- # Allow the FTP admin to manually add/remove bans
- BanControlsACLs all allow user ftpadm
- </IfModule>
复制代码
[ 本帖最后由 wolfg 于 2005-11-1 13:51 编辑 ] |
|