
yan at seiner
Oct 19, 2007, 9:56 AM
Post #2 of 23
(3667 views)
Permalink
|
|
Re: Semi-OT: Blocking Brute Force SSH attacks
[In reply to]
|
|
Jay R. Ashworth wrote: > If you've tunneled SSH traffic through to your Mythbox, you're likely > the target of brute-force SSH attacks, some of which might well work. > > The most elegant solution I've found so far is here: > > http://www.la-samhna.de/library/brutessh.html#5 > > This won't block attacks that "know" about a specific bug in your sshd, > so you need to stay updated, but for the dictionary attacks it will > work nicely, and it'll sure keep your logs from growing without > bounds... You can also do this with iptables. There is also a setting in sshd itself that allows only so many connections / unit time. But none of this will help you if you are the subject of a concerted, persistent, distributed attack - only picking a really good password, not allowing root ssh access, and monitoring logs will keep you safe.... -- o__ ,>/'_ o__ (_)\(_) ,>/'_ o__ Yan Seiner (_)\(_) ,>/'_ o__ o__ Certified Personal Trainer (_)\(_) ,>/'_ ,>/'_ Licensed Professional Engineer (_)\(_) (_)\(_) 'man' is short for 'manual' because it's very short, for a manual. _______________________________________________ mythtv-users mailing list mythtv-users[at]mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
|