How to auto-ban access form certain IP addresses?



I run an RH9 box and someone is constantly trying to break in over the last year. Its not remotely accessible in they way they are trying so I am not concerned. However, I wish I would shut down access from a certain ip address after so many attempts, and send an email to myself. As opposed to watching 1000s of entries in my log each day from the same address.

Is there a manual way to do this? I assume by editing config files for telnet,ssh, etc. Is there an automatic way to do this?



--
Thank you,



"Then said I, Wisdom [is] better than strength: nevertheless the poor man's wisdom [is] despised, and his words are not heard." Ecclesiastes 9:16
.



Relevant Pages

  • Re: Stereo cabinet/wall door
    ... Are there glass doors that are sold with frames and all, that I can drop into this hole? ... "Then said I, Wisdom better than strength: nevertheless the poor man's wisdom despised, and his words are not heard." ...
    (alt.home.repair)
  • Re: Cabinet building Books?
    ... realized that what I am making is actually a fancy cabinet. ... "Then said I, Wisdom better than strength: nevertheless the poor man's wisdom despised, and his words are not heard." ...
    (alt.home.repair)
  • Re: Power Steering Fluid vs Slick 50?
    ... Larry Von ... Wisdom better than strength: nevertheless the poor ...
    (rec.autos.tech)
  • Re: DownDraft Table
    ... Nice quite neighborhood over there. ... Wisdom better than strength: nevertheless the poor ...
    (rec.woodworking)