Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1575692
  • 博文数量: 317
  • 博客积分: 10283
  • 博客等级: 上将
  • 技术积分: 3566
  • 用 户 组: 普通用户
  • 注册时间: 2007-09-04 11:38
个人简介

哥使用Linux

文章分类

全部博文(317)

分类: LINUX

2009-08-03 22:28:32

 
Monday, June 22nd, 2009 by  

Edit /etc/sysconfig/SuSEfirewall2:

#do not open ssh ports here
FW_SERVICES_EXT_TCP=""
FW_CONFIGURATIONS_EXT=""

#add this rule
FW_SERVICES_ACCEPT_EXT="0.0.0.0/0,tcp,22,,hitcount=3,blockseconds=60,recentname=ssh"

#Restart firewall:
rcSuSEfirewall2 restart

Now attacker will just have three attempts to break in.


阅读(1948) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2009-08-03 22:29:50

http://lizards.opensuse.org/category/security/