Ask YC: Securing your servers?
11–20 of 25 posts
Re: Ask YC: Securing your servers?
#12Re: Ask YC: Securing your servers?
#13Re: Ask YC: Securing your servers?
#14Read Hardening Linux.
Re: Ask YC: Securing your servers?
#15One absolute rule for any *nix-based server: In /etc/ssh/sshd_config, disable root logins: PermitRootLogin no Even if you think your password ist strong. This will stop a majority of the brute-force password-guessing attacks. For extra credit, install denyhosts as well. It has stopped a _lot_ of bad guys trying to brute-force my servers.
Re: Ask YC: Securing your servers?
#16Re: Ask YC: Securing your servers?
#17OpenBSD
FreeBSD comes pretty locked down but OpenBSD is locked down as tight as a gnats arse. It's pretty safe to say that if your OpenBSD server is compromised it's something _you_ have done rather then something _you_ have NOT done. It's a good starting point.
Re: Ask YC: Securing your servers?
#18Re: Ask YC: Securing your servers?
#191. Expose the absolute minimum number of services (and even then only software with a good security reputation). 2. Lock them down as much as possible in configuration and access (for example: use iptables to restrict acces to only your home/office where possible). 3. Apply vendor security updates as quickly as possible (subscribe to mailing lists). 4. Remotely backup your data. 5. Hope for the best.
Perform a minimal install of your operating system then source compilation of latest services, with minimal features enabled. It is possible to compromise this configuration but it harder because there are less dormant features to exploit and it doesn't utilise widely used binaries.
Re: Ask YC: Securing your servers?
#202)Get a proper /etc/sudoers
3)Use IP tables to limit SSH connections to trusted IP's/networks. Setup a port knock if you roam around a lot.
4)Read your daily logwatch
5)Turn off ports/services that are not in use (this is somewhat less necessary with a halfway decent iptables setup)
6)Use SSH keys instead of passwords!
7)Log to a syslog server that is highly secured as well
8)Run a nessus scan on your box regularly
9)Minimize how much specific information about your underlying OS various services display