hi
i have a machine who run opensuse 11.2 with a sshd server open
in /etc/sysconfig/SuSEfirewall2 file i have
i checked in the log and i haveCode:FW_CONFIGURATIONS_EXT="sshd" FW_SERVICES_EXT_TCP="" FW_SERVICES_ACCEPT_EXT="0.0.0.0/0,tcp,22,,hitcount=3,blockseconds=60,recentname=ssh"
so the hacker try to connect every 3 seconds...Code:Apr 10 19:07:57 linux-d1x3 sshd[4569]: Invalid user oracle from 80.191.117.91 Apr 10 19:08:00 linux-d1x3 sshd[4572]: Invalid user oracle from 80.191.117.91 Apr 10 19:08:03 linux-d1x3 sshd[4575]: Invalid user test from 80.191.117.91 Apr 10 19:08:05 linux-d1x3 sshd[4579]: Invalid user test from 80.191.117.91 Apr 10 19:08:08 linux-d1x3 sshd[4582]: Invalid user test from 80.191.117.91 Apr 10 19:08:10 linux-d1x3 sshd[4585]: Invalid user test from 80.191.117.91 Apr 10 19:08:13 linux-d1x3 sshd[4588]: Invalid user test from 80.191.117.91 Apr 10 19:08:16 linux-d1x3 sshd[4591]: Invalid user test1 from 80.191.117.91 Apr 10 19:08:18 linux-d1x3 sshd[4595]: Invalid user test from 80.191.117.91 Apr 10 19:08:21 linux-d1x3 sshd[4598]: Invalid user cvsuser from 80.191.117.91 Apr 10 19:08:29 linux-d1x3 sshd[4609]: Invalid user user1 from 80.191.117.91 Apr 10 19:08:31 linux-d1x3 sshd[4613]: Invalid user user1 from 80.191.117.91 Apr 10 19:08:34 linux-d1x3 sshd[4616]: Invalid user ftpuser from 80.191.117.91 Apr 16 15:03:12 linux-d1x3 sshd[19738]: Invalid user jeffrey from 202.107.209.33 Apr 16 15:03:14 linux-d1x3 sshd[19743]: Invalid user andres from 202.107.209.33 Apr 16 15:03:17 linux-d1x3 sshd[19786]: Invalid user andrei from 202.107.209.33 Apr 16 15:03:19 linux-d1x3 sshd[19811]: Invalid user vincent from 202.107.209.33 Apr 16 15:03:21 linux-d1x3 sshd[19815]: Invalid user tina from 202.107.209.33 Apr 16 15:03:24 linux-d1x3 sshd[19820]: Invalid user roland from 202.107.209.33 Apr 16 15:03:26 linux-d1x3 sshd[19824]: Invalid user kim from 202.107.209.33 Apr 16 15:03:28 linux-d1x3 sshd[19828]: Invalid user gnats from 202.107.209.33 Apr 16 15:03:30 linux-d1x3 sshd[19832]: Invalid user elizabeth from 202.107.209.33 Apr 16 15:03:33 linux-d1x3 sshd[19836]: Invalid user content from 202.107.209.33
so FW_SERVICES_ACCEPT_EXT don't seem to do its job...
on the web, some people put FW_CONFIGURATIONS_EXT empty
i don't really understand why... it's it ok to put nothing when we want to allow ssh?
how to block the ip after 2 failed attempts?
in /etc/ssh/sshd_config i put
MaxAuthTries 3
don't know if that will stop the hacker to try to connect every 3 seconds?
any help?
thanks



Reply With Quote





Bookmarks