LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-25-2005, 10:44 PM   #1
mijeepguy
LQ Newbie
 
Registered: May 2005
Posts: 2

Rep: Reputation: 0
Turning off reverse lookup in log files?


Here's what I'm doing. I got sick and tired of my logs filling up with brats trying to brute force their way in via SSH with their scripts, so I set up swatch to firewall them out by watching the secure log for certain Invalid user entries, pulling out the ip address and running an iptables command to block them. Every once in a while for whatever reason, there is a dns name in there and not an ip address. Is there a way to turn this off so only ip addresses will appear in that log? Or any log for that matter?
 
Old 10-27-2005, 01:35 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Locate your sshd_config and then
Code:
vim /path/to/sshd_config
i
UseDNS no

Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bind and reverse lookup, something ain't right. Sizam Linux - Networking 1 04-25-2005 06:51 PM
reverse lookup question greyhammer Linux - Networking 1 01-26-2005 03:50 PM
Reverse lookup on Postfix Phaethar Linux - Software 1 05-03-2004 04:00 PM
Bind reverse lookup Kostko Linux - Networking 2 12-07-2002 09:06 AM
reverse DNS lookup phil1076 Linux - General 1 01-22-2002 03:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration