Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Security-Basics
[Top] [All Lists]

Re: log monitoring, changing iptables

Subject: Re: log monitoring, changing iptables
Date: Fri, 26 Nov 2004 11:16:42 -0600
Although this isn't what you are asking here, I'll recommend you read
this good article http://www.securityfocus.com/infocus/1810 which show
you how to enable publick key authentication.

After you enable it and it is working correctly, disable Password
authentications, in the /etc/ssh/sshd_config file have these lines
PermitRootLogin no
PasswordAuthentication no

Like you I was having a maraton of guess attempts everyday, which was
making me somewhat nervous. Now the ssh daemon only accepts
connections from my machine at the office and my other machine at
home.

Forgive me if you already knew all this or if somebody has already told it.
Regards

- Jorge Gajon

On Tue, 22 Nov 2004, Tom Boulay wrote:
      I'm sorry if this is overly simple, I'm just new to it.  I'm trying to
figure out a way to monitor my system logs and use that information to
ignore traffic from an IP address for, say, 15 minutes after three
failed login attempts.  My machine (2.4.x) only has ssh listening.  My
logs seem to have some marathon repeated root login attempts on the
weekends, and I would like to discourage those by including the 15
minute delay.  How would I monitor the /var/log/messages?  Do I need to
use something like sec?

<Prev in Thread] Current Thread [Next in Thread>