Thread View: alt.privacy.anon-server
8 messages
8 total messages
Started by Cornelis Tromp
Tue, 31 May 2016 17:10
Fail2Ban
Author: Cornelis Tromp
Date: Tue, 31 May 2016 17:10
Date: Tue, 31 May 2016 17:10
37 lines
2205 bytes
2205 bytes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have been following the thread "Brute Forcing SSH From China 222.186.34.122" with interest. At "brabus" & "holland" I have been manually updating iptables regularly as a function of what's going on in /var/log/auth.log. Manual intervention can be tedious and at times consuming. I have moved brabus & holland away from port 22, and I will observe the results over the next few days. Is anyone using Fail2Ban? If so I would be interested to hear comments regarding practicality and effectiveness. Regards B -----BEGIN PGP SIGNATURE----- Version: N/A iQIcBAEBAgAGBQJXTboNAAoJEFHFlkOXyWQqVo0P/iK4axEeoH3jA8joc7eQHa6i bHs+5gUqidlVIrsZttg+lVgUh6hTzEE0IUh8Mdjw9VGulv45mcndExi6G1hMH42r mX/dNao1gR9PGKSldUYVLENHLqzKCQQQYkRTZ2htLBOIfCLesL1n5t7raWWKlJGQ VjnbuSuS2mDmfsuv435zyGRnmWHd+99lCqmgp/8lWkq3nruNBMKZia15PIi2Gs4b mwvY80foCQ/YUQmY2w/HZD1NLiFNCJY4d9x3NheeooZa8qTuVwhShaO/nZrkfqy9 MN417SqmfNM4I2kAY1Z8b8u8iIaud8P25tbhoShPwPPvkG3vDp6MUqFl+QuqEsPW pYEd4uGtpKd/WBIrXUhg1oIoi1qykosRWHzI0nbRISFEodXZUjGRhE5RxRgMm4vV lpd3h7I3/CHCUxzNo8JzSiklBwzFIdvUcnGNYI9egur1PIG53DYunWCWMrviiRD9 U8arfbB6B+kRDqBAcYKfSeYg4FvY4nw1+KeDBFad2QHlJvWD9twE5KnlgBHqAbDV fEsdCU9E3pwmOKsqGJUWE2SIhmIlKCs7r3wt0mY6dgdEQ1kdPhZJiiYIUfOR8Ixm p0HMOVMj/KQRsmLhvhXBv25WmrHfgAcPHIz+OZXxjXe4vwQ996nlIQoDLPsk+i8a 3c1z8nx79oHsexwvegV+ =Ch3V -----END PGP SIGNATURE-----
Re: Fail2Ban
Author: Cornelis Tromp
Date: Tue, 31 May 2016 19:20
Date: Tue, 31 May 2016 19:20
46 lines
2389 bytes
2389 bytes
On Tue, 31 May 2016 18:10:09 +0100 (BST), you wrote: > > *** PGP SIGNATURE VERIFICATION *** > *** Signature made 05/31/16 09:21:33 using RSA key ID 97C9642A > *** Good signature from "HOLLAND (Remailer Admin) <remailer.uk@gmail.com>" > *** WARNING: Using untrusted key! > *** Verified 05/31/16 11:53:41 > *** BEGIN PGP VERIFIED MESSAGE *** > > I have been following the thread "Brute Forcing SSH From China 222.186.34.122" > with interest. At "brabus" & "holland" I have been manually updating > iptables regularly as a function of what's going on in /var/log/auth.log. > Manual intervention can be tedious and at times consuming. > > I have moved brabus & holland away from port 22, and I will observe the results > over > the next few days. > > Is anyone using Fail2Ban? If so I would be interested to hear comments > regarding practicality and effectiveness. > > Regards > B Here's an excellent tutorial on getting fail2ban setup on a Debian system. <https://www.digitalocean.com/community/tutorials/how-to-protect-ssh-with-fail2ban-on-debian-7> I've beeen using it on my server for a couple of years and like how it works. I have it setup: ignoreip = 127.0.0.1/8 myserveripaddress 0.0.0.0 bantime = 18000 maxretry = 2 I'm using these filters: ssh apache-no404 apache apache-noscript apache-overflows apache-badbots These filters can be modified in the filter.d directory I modified the apache-no404.conf to add a few things that were not in the default filter.
Re: Fail2Ban
Author: Anonymous Remailer (austria)
Date: Tue, 31 May 2016 20:09
Date: Tue, 31 May 2016 20:09
19 lines
2633 bytes
2633 bytes
> > I have been following the thread "Brute Forcing SSH From China 222.186.34.122" > with interest. At "brabus" & "holland" I have been manually updating > iptables regularly as a function of what's going on in /var/log/auth.log. > Manual intervention can be tedious and at times consuming. > > I have moved brabus & holland away from port 22, and I will observe the results > over > the next few days. > > Is anyone using Fail2Ban? If so I would be interested to hear comments > regarding practicality and effectiveness. After researching it, I decided to not install it. The main thing I didn't like about it is that you can not get it to permanently ban someone. It always opens them up eventually so that they can come back. Me experience is that the bad guys always do come back for future break in tries again later. I run tcpdump continuously on my system and keep track of how large the dump file has become. Once it gets to around 300+ KB - usually daily, I download it and look through it with WireShark. It is easy to see who is trying to do what with the record dump and then manually iptables ban the nastys. Unfortunately this method is not attainable to most server operators because it takes a very complex setup. Not that you are anyone else for that matter couldn't have it explained and understand it, but I have had my fill of too many people get really nasty in the past upon explaining some things, so I decided to cut myself off from trying to be a help to others since. I don't care to open myself up to anymore unnecessary BS in my life. As to postfix blocking/rejecting spam forwarding, those are detected in the syslog. That is where I find those badies and block their addresses.
Re: Fail2Ban
Author: Anonymous
Date: Tue, 31 May 2016 21:26
Date: Tue, 31 May 2016 21:26
5 lines
1299 bytes
1299 bytes
On Tue, 31 May 2016 22:09:20 +0200 (CEST), "Anonymous Remailer (austria)" <mixmaster@remailer.privacy.at> wrote: >After researching it, I decided to not install it. The main thing I didn't like about it is that you can not get it to permanently ban someone. http://stuffphilwrites.com/2013/03/permanently-ban-repeat-offenders-fail2ban/
Fail2Ban
Author: Cornelis Tromp
Date: Tue, 31 May 2016 21:41
Date: Tue, 31 May 2016 21:41
47 lines
3523 bytes
3523 bytes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >> I have been following the thread "Brute Forcing SSH From China 222.186.34.122" >> with interest. At "brabus" & "holland" I have been manually updating >> iptables regularly as a function of what's going on in /var/log/auth.log. >> Manual intervention can be tedious and at times consuming. >> >> I have moved brabus & holland away from port 22, and I will observe the results >> over >> the next few days. >> >> Is anyone using Fail2Ban? If so I would be interested to hear comments >> regarding practicality and effectiveness. > > After researching it, I decided to not install it. The main thing I didn't like about it is that you can not get it to permanently ban someone. It always opens them up eventually so that they can come back. Me experience is that the bad guys always do come back for future break in tries again later. > > I run tcpdump continuously on my system and keep track of how large the dump file has become. Once it gets to around 300+ KB - usually daily, I download it and look through it with WireShark. It is easy to see who is trying to do what with the record dump and then manually iptables ban the nastys. Unfortunately this method is not attainable to most server operators because it takes a very complex setup. Not that you are anyone else for that matter couldn't have it explained and understand it, but I have had my fill of too many people get really nasty in the past upon explaining some things, so I decided to cut myself off from trying to be a help to others since. I don't care to open myself up to anymore unnecessary BS in my life. > > As to postfix blocking/rejecting spam forwarding, those are detected in the syslog. That is where I find those badies and block their addresses. Thanks for this. I will keep an eye out and see what effect port hopping produces. Sorry to hear about you negative experiences in dealing with some of the residents of this forum.. Kind Regards B -----BEGIN PGP SIGNATURE----- Version: N/A iQIcBAEBAgAGBQJXTf0JAAoJEFHFlkOXyWQq0t4P/2gI9C+rVMuvDD/EFcb3mIpW qmJonA4sCxp985eyPWPqF7T2BSIEwBi6kVn9ndf5T6emsPCmZfeKysIEOKm4l7BC ItVmkYQtM7N9Vnol4h6MZGjsfgim1LxOc+R1wfwKidvOsjgXwYA7pkB6lkN6UAgi gDxLzLu7Q/kraoY1+J9TKqet9t48CuSRpW5Dw47ATdoRYYjKeSCFUtTGLN/Oqtx6 +Rk4v7W6k2YbNqsLCe98gE79Jr5ByUiNLHiikjPEiyT47uC87+8LsqLUkDTVxuTc NunL/pGx3m0BqRdI8Hx36JWDjrJqs7FwWap0v73N0apj+CF0ki1VB7VX6OgHSz/P bWC3a6uomfvp7g1nOFaon81b8Ai6QkSQeY1vTcfbL9AVL9SLNJXIY3W3aRnKg+pf /7aumMJnoQfodwskRG1A9e2sgKQxpzysPedci5w1LXRo4MmkPma64SxGuKo5Z9st jXEH/YPcJ7vuHRIu37gn6QBKNe8BVG+QbhzDOH6Ik8HlDyA4e6VXClnP8nWZlfcu nnGJynmZEiFUTkBq9SvftUxxmB93Bwpa5KivQvnIjT1PUPX04Zizoa6q/6HZ3nRZ 0opCX1gI3aBwATFV+B/j5MbvSoqO3IPyDATs9bDbUhGlEqp/FGzIydECGh1Pxaqk /fGSqzmO+Ky9EiCUJY3z =B0AW -----END PGP SIGNATURE-----
Re: Fail2Ban
Author: Ant
Date: Wed, 01 Jun 2016 03:32
Date: Wed, 01 Jun 2016 03:32
30 lines
3563 bytes
3563 bytes
"Anonymous Remailer (austria)" <mixmaster@remailer.privacy.at> wrote:
> >
> > I have been following the thread "Brute Forcing SSH From China 222.186.34.122"
> > with interest. At "brabus" & "holland" I have been manually updating
> > iptables regularly as a function of what's going on in /var/log/auth.log.
> > Manual intervention can be tedious and at times consuming.
> >
> > I have moved brabus & holland away from port 22, and I will observe the results
> > over
> > the next few days.
> >
> > Is anyone using Fail2Ban? If so I would be interested to hear comments
> > regarding practicality and effectiveness.
> After researching it, I decided to not install it. The main thing I didn't like about it is that you can not get it to permanently ban someone. It always opens them up eventually so that they can come back. Me experience is that the bad guys always do come back for future break in tries again later.
> I run tcpdump continuously on my system and keep track of how large the dump file has become. Once it gets to around 300+ KB - usually daily, I download it and look through it with WireShark. It is easy to see who is trying to do what with the record dump and then manually iptables ban the nastys. Unfortunately this method is not attainable to most server operators because it takes a very complex setup. Not that you are anyone else for that matter couldn't have it explained and understand it, but I have had my fill of too many people get really nasty in the past upon explaining some things, so I decided to cut myself off from trying to be a help to others since. I don't care to open myself up to anymore unnecessary BS in my life.
> As to postfix blocking/rejecting spam forwarding, those are detected in the syslog. That is where I find those badies and block their addresses.
Try DenyHosts.
--
Quote of the Week: "Remember, ants are only waiting for you to die..." --unknown
Note: A fixed width font (Courier, Monospace, etc.) is required to see this signature correctly.
/\___/\ Ant(Dude) @ http://antfarm.home.dhs.org (Personal Web Site)
/ /\ /\ \ Ant's Quality Foraged Links: http://aqfl.net
| |o o| |
\ _ / Please nuke ANT if replying by e-mail privately. If credit-
( ) ing, then please kindly use Ant nickname and AQFL URL/link.
Re: Fail2Ban
Author: Alex de Joode
Date: Wed, 01 Jun 2016 07:36
Date: Wed, 01 Jun 2016 07:36
35 lines
3250 bytes
3250 bytes
Ant <ANTant@zimage.com> wrote: : "Anonymous Remailer (austria)" <mixmaster@remailer.privacy.at> wrote: : :> > :> > I have been following the thread "Brute Forcing SSH From China 222.186.34.122" :> > with interest. At "brabus" & "holland" I have been manually updating :> > iptables regularly as a function of what's going on in /var/log/auth.log. :> > Manual intervention can be tedious and at times consuming. :> > :> > I have moved brabus & holland away from port 22, and I will observe the results :> > over :> > the next few days. :> > :> > Is anyone using Fail2Ban? If so I would be interested to hear comments :> > regarding practicality and effectiveness. : :> After researching it, I decided to not install it. The main thing I didn't like about it is that you can not get it to permanently ban someone. It always opens them up eventually so that they can come back. Me experience is that the bad guys always do come back for future break in tries again later. : :> I run tcpdump continuously on my system and keep track of how large the dump file has become. Once it gets to around 300+ KB - usually daily, I download it and look through it with WireShark. It is easy to see who is trying to do what with the record dump and then manually iptables ban the nastys. Unfortunately this method is not attainable to most server operators because it takes a very complex setup. Not that you are anyone else for that matter couldn't have it explained and understand it, but I have had my fill of too many people get really nasty in the past upon explaining some things, so I decided to cut myself off from trying to be a help to others since. I don't care to open myself up to anymore unnecessary BS in my life. : :> As to postfix blocking/rejecting spam forwarding, those are detected in the syslog. That is where I find those badies and block their addresses. : : Try DenyHosts. You most likely will manage the server from 1 country, so exclude all other countries (and ip only) connections: http://xmodulo.com/block-network-traffic-by-country-linux.html Then install denyhosts or fail2ban. Make sure you disbale root logins and only accept ssh.keys, that will make you relatively safe. Cheers, -- bitcoins:1QAthQz4LKHWZURTVax5F75mj6d5uY8shW
Re: Fail2Ban
Author: imort.kz
Date: Wed, 08 Jun 2016 07:50
Date: Wed, 08 Jun 2016 07:50
12 lines
1437 bytes
1437 bytes
> Is anyone using Fail2Ban? If so I would be interested to hear comments > regarding practicality and effectiveness. > > Regards > B Hey I'm using it at almost all my servers to protect my SSH service mostly. It works well once configured and it's a good and stable tool. You can take a look here to see how to install and configure Fail2Ban at first: https://serversuit.com/community/technical-tips/view/step-by-step-guide-to-setting-up-fail2ban.html Worth to try at least, great tool in my book.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads