News for hackers. Stuff that matters.
Re:Securing Ubuntu by _stephan on Sunday January 20, 2013 @12:40PM (#5087490)
Some commenters here seem to suggest that the advice on that blog post is somewhat outdated or suboptimal. I'm curious, is there something like a commonly agreed on best practice for securing/hardening a modern Ubuntu production web server? Would maybe anyone care to provide a bullet point list of the most important steps?
Re:Securing Ubuntu by csense on Sunday January 20, 2013 @03:19PM (#5088050)
The most important steps are:

1) Making sure SSH only accepts public keys. This removes the possibility of a hacker guessing a password.

2) Use fail2ban. This rate-limits SSH attempts.

3) Keep your packages up-to-date, especially Web applications.

4) Use a default-deny firewall configuration, and make sure your services bind to the localhost interface. Letting the outside world directly talk to your database, Redis and memcache lets someone see your application data without any security checks, and this should only be possible for the application itself.

Re:Securing Ubuntu by _stephan on Sunday January 20, 2013 @07:13PM (#5088927)
Thanks!