LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   name resolution in sshd (https://www.linuxquestions.org/questions/linux-security-4/name-resolution-in-sshd-548563/)

saavik 04-24-2007 06:08 AM

name resolution in sshd
 
Hello!

I get the following in my messages:

xxx sshd[15208]: User root from v31711.1blu.de not allowed because not listed in
AllowUsers

Which I know is somebody trying to access my server via ssh.

So I installed a ssh blacklisting which is looking for such entries an blocking the ip if there a three tries of one ip missing.

Now my question:

How can i turn of ip adress resolution so that i don`t get v31711.1blu.de in the messages log, but the true IP so i can use this adress directly for iptables ?

acid_kewpie 04-24-2007 07:05 AM

very similar to somethign i answered yesterday... check the sshd_config manpage for the UseDNS option, which is "yes" by default.

saavik 04-24-2007 08:03 AM

Thanks i just changed the config. Hope that helps!


All times are GMT -5. The time now is 06:31 AM.