Obvious things:
- Disable
root
login (rather, don't enable it) - Secure SSH (no
root
login, key auth only, timeout after inactivity, whitelist users who can SSH in, etc.) - IP Tables firewall whitelisting only the proper traffic on 80/443/22
- Update all packages
- Disable Control-Alt-Delete for the console
The OS is Ubuntu 12.04.1 x86-64 (server) and the use is as a web application server. The software used is:
- Nginx (run as
www-data
) - Supervisor (run as
root
with no HTTP server or RPC server) - uWSGI (run as
www-data
) - Celery (run as
www-data
) - Redis (run as
www-data
) - Memcached (run as
www-data
)
I ask because I'm not sure what things that are installed with Ubuntu 12.04.1 which might be have potential security vulnerabilities, which things I may have accidentally left off my "obvious" checklist and which of the packages I've mentioned above which might have security vulnerabilities (all installed as packages vs manually compiling, btw).