Article View: alt.privacy.anon-server
Article #282742Re: Brute Forcing SSH From China 222.186.34.122
From: William Unruh
Date: Thu, 19 May 2016 02:48
Date: Thu, 19 May 2016 02:48
28 lines
2225 bytes
2225 bytes
On 2016-05-18, Ant <ANTant@zimage.com> wrote: > In alt.privacy.anon-server Desk Rabbit <me@example.com> wrote: >> On 18/05/2016 06:20, Jack Ryan wrote: >> > In article <6dacd7e06926aeeb5b11a1cbd5897b2b@anemone.mooo.com> >> > Jeremy Bentham <nobody@anemone.mooo.com> wrote: >> >> >> >> Lookup any China CIDR here https://www.countryipblocks.net/bogons.php >> >> and drop it. >> >> >> >> iptables -A INPUT -p tcp -s 222.184.0.0/13 -j DROP >> > >> > iptables -A INPUT -n leftwings -D hillaryclinton.com -j >> > DROPKICKONHEAD >> > > >> That's doing it the hard way. I use fail2ban > > DenyHosts for me. The problem is that openssh has dropped all support for hosts.allow. Thus procedures which use it to deny ssh attempts no longer work with the latest ssh. The only way is firewalls. i(well one can use Match Address .... DenyUsers * MaxAuthTries 0 in /etc/ssh/sshd_config
Technical Details
Message-ID:
<nhj9h7$71i$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.advocacy.(1483839).mbox.7z!not-for-mailReferences:
<369b1a710b16bec78c2ebcabdff7f0ce@remailer.org.uk> <6dacd7e06926aeeb5b11a1cbd5897b2b@anemone.mooo.com> <6f834c82a62788e016e48701d4841888@remailer.cpunk.us> <nhhjog$4c2$1@deskrabbit.motzarella.org> <j-qdnToZb9b1Z6HKnZ2dnUU7-RednZ2d@earthlink.com>Show Full Headers
Complete Article Headers
Message-ID: <nhj9h7$71i$1@dont-email.me> Subject: Re: Brute Forcing SSH From China 222.186.34.122 Date: Thu, 19 May 2016 02:48:07 +0000 From: William Unruh <unruh@invalid.ca> References: <369b1a710b16bec78c2ebcabdff7f0ce@remailer.org.uk> <6dacd7e06926aeeb5b11a1cbd5897b2b@anemone.mooo.com> <6f834c82a62788e016e48701d4841888@remailer.cpunk.us> <nhhjog$4c2$1@deskrabbit.motzarella.org> <j-qdnToZb9b1Z6HKnZ2dnUU7-RednZ2d@earthlink.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.advocacy.(1483839).mbox.7z!not-for-mail Newsgroups: alt.privacy.anon-server,alt.comp.linux,alt.comp.os.linux,comp.os.linux.advocacy Organization: A noiseless patient Spider Lines: 30 Injection-Date: Thu, 19 May 2016 02:48:07 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="bce60fb4c4f81b126f867f22d396ac27"; logging-data="7218"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Z9/Y782jYiaCDFG31HaBQ" User-Agent: slrn/1.0.1 (Linux) Cancel-Lock: sha1:L0gbmsgq7pw7kj6q4NlbUUKruUA= X-Received-Body-CRC: 2720313144 X-Received-Bytes: 2093