今天在linux群中有人想做个脚本每天将日志发到自己邮箱中,我登陆我公司邮件服务器看,突然发现日志Jul 28 16:35:42 mail sshd[4416]: Failed password for root from ::ffff:218.5.2.247 port 47560 ssh2
Jul 28 16:35:42 mail sshd[4417]: Received disconnect from ::ffff:218.5.2.247: 11: Bye Bye
Jul 28 16:35:52 mail sshd[4418]: Failed password for root from ::ffff:218.5.2.247 port 47873 ssh2
Jul 28 16:35:52 mail sshd[4419]: Received disconnect from ::ffff:218.5.2.247: 11: Bye Bye
Jul 28 16:35:57 mail sshd[4421]: Failed password for root from ::ffff:218.5.2.247 port 48922 ssh2
Jul 28 16:35:57 mail sshd[4422]: Received disconnect from ::ffff:218.5.2.247: 11: Bye Bye
Jul 28 16:36:03 mail sshd[4423]: Failed password for root from ::ffff:218.5.2.247 port 49438 ssh2
Jul 28 16:36:03 mail sshd[4424]: Received disconnect from ::ffff:218.5.2.247: 11: Bye Bye
Jul 28 16:36:15 mail sshd[4425]: Failed password for root from ::ffff:218.5.2.247 port 50403 ssh2
这家伙不停的SSH我服务器,还好密码长,“?密码有多长呀?” ,长到有时候自己也记不住了。哈哈,我马上看了一下/etc/hosts.allow原来上次用的时候忘记关掉了,于事我马上更改设置,我就用最简单的/etc/hosts.allow /etc/hosts.deny 配置一下就搞定了。技术不难,我就奇怪的事,还真有人喜欢玩GJ呀?
阅读(1642) | 评论(1) | 转发(0) |