News for hackers. Stuff that matters.
Re:Kids, this is story of How I Met... my VPS hacked by zAy0LfpBZLC8mAC on Monday January 20, 2014 @11:34PM (#7093467)
Congrats, you have just opened yourself to a DoS for no gain whatsoever. Mind telling me the host and where you usually connect from?
Re:Kids, this is story of How I Met... my VPS hacked by foxylad on Tuesday January 21, 2014 @07:55PM (#7099864)
You realise this only blocks connections from the abusive address, not all connections? If so, please enlighten me about how this enables a DOS.
Re:Kids, this is story of How I Met... my VPS hacked by zAy0LfpBZLC8mAC on Tuesday January 21, 2014 @09:11PM (#7100249)
There is no such thing as an "abusive address". There are only "abusive attackers", but what you are blocking are addresses, not attackers. Blocking attackers would require authenticating them. Which is impossible, because attackers usually won't cooperate in authenticating them. Which is why we usually authenticate legitimate users instead. Which is what the sshd would do if you just let it do its job. What you do instead is to offer a service which anyone without any authentication can use to block any address they like from accessing your ssh server by sending three packets where they put the address they wish to block into the source address field, with different source ports so as to make netfilter consider them NEW flows. Such functionality that allows anyone to reduce the availability of a service, especially when it takes as little effort as three packets, is what is commonly called a Denial of Service vulnerability.
Re:Kids, this is story of How I Met... my VPS hacked by foxylad on Wednesday January 22, 2014 @10:24PM (#7106855)
Thanks for the explanation - I see your point and it would wise to consider this possibility when looking at this technique.

For my use case though, this reduces load on my server (and prevents clogging my auth log files) by stopping incessant password brute-forcing attempts. I must admit to quickly adding an over-riding ALLOW for the handful of IP addresses that should have access, though!

Re:Kids, this is story of How I Met... my VPS hacked by blueskin_ on Wednesday January 22, 2014 @05:21AM (#7101819)
Because source IPs really aren't easy to spoof, right? </s>