🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #282765

Re: Brute Forcing SSH From China 222.186.34.122

#282765
From: Alex de Joode
Date: Sun, 22 May 2016 17:56
24 lines
1792 bytes
Jack Ryan <mixmaster@remailer.cpunk.us> wrote:
:> If you insist on running sshd listening on port 22 on a machine that faces the public internet, you need get used to this. Everyone who
:> does that sees that.
:> 
:> It's pointless reporting it here.
: 
:  Correct.  Change your sshd to another port and that will clean up a huge percent of the breakin attempts.
: 

As you run on linux and have iptables enabled (I hope) just add the below: 
(change seconds and hits to your liking)

/sbin/iptables -N LOGDROP
/sbin/iptables -A LOGDROP -j LOG
/sbin/iptables -A LOGDROP -j DROP
iptables -I INPUT -p tcp --dport 22 -i eth0 -m state --state NEW -m recent --set
iptables -I INPUT -p tcp --dport 22 -i eth0 -m state --state NEW -m recent  --update \
	--seconds 90 --hitcount 3 -j LOGDROP

Cheers,
Alex

-- 
bitcoins:1QAthQz4LKHWZURTVax5F75mj6d5uY8shW
Technical Details
Message-ID: <nhsrs1$aqi$1@toxic.dizum.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
References: <n28njbd0almadaqs9o7lkn0ha3coma776a@news.stray.cat.edu> <cf6cf550f17651f78ab55fc04a0e1b0d@remailer.cpunk.us>

Show Full Headers
Complete Article Headers
Message-ID: <nhsrs1$aqi$1@toxic.dizum.net>
Subject: Re: Brute Forcing SSH From China 222.186.34.122
Date: Sun, 22 May 2016 17:56:17 +0000
From: Alex de Joode <usura@despair.sabotage.org>
References: <n28njbd0almadaqs9o7lkn0ha3coma776a@news.stray.cat.edu> <cf6cf550f17651f78ab55fc04a0e1b0d@remailer.cpunk.us>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: dizum.com - The Internet Problem Provider.
Lines: 24
NNTP-Posting-Host: despair.sabotage.org
X-Trace: toxic.dizum.net 1463939777 11090 46.23.85.40 (22 May 2016 17:56:17 GMT)
X-Complaints-To: abuse@dizum.net
NNTP-Posting-Date: Sun, 22 May 2016 17:56:17 +0000 (UTC)
Cancel-Lock: sha1:8fwsETzYkFX0emhvccxkBecnzjc=